mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-12-23 21:47:10 +01:00
correct more app
This commit is contained in:
@@ -1,24 +1,14 @@
|
||||
# OpenPage
|
||||
This is an example project, generated by AntOS Development Kit
|
||||

|
||||
# OpenPage: ODT (Open Document Text) editor alpha
|
||||
**OpenPage** is an AntOS application developed in-browser using AntOSDK. It is a Pure Javascript based rich text editor compatible with Open Document Format.
|
||||
|
||||
## Howto
|
||||
|
||||
1. Open the project.apj file with AntOSDK (simply double Click on it)
|
||||
2. Modify the UI in *assets/scheme.html*
|
||||
3. Modify application code in *coffees/main.coffee*
|
||||
4. Modify CSS style in *css/main.css*
|
||||
5. Other files need to be copied: put in to assets
|
||||
|
||||
## Set up build target
|
||||
|
||||
Click **Menu> Build > Build Option** or simply hit **ALT-Y**
|
||||
|
||||
In the build options dialog, add or remove files that need to be
|
||||
included into the build
|
||||
|
||||
Click **Save**
|
||||
|
||||
## Build application
|
||||
* To build: **Menu > Build > Build** or **ALT-C**
|
||||
* To build and run: **Menu > Build > Build and Run** or **CTRL-R**
|
||||
* To release: **Menu > Build > Build release** or **ALT-P**
|
||||
**Feature:**
|
||||
* Open, view and edit *.odt* documents
|
||||
* Offer various formatting style to text
|
||||
* Define and apply paragraph styles
|
||||
* Insert link, image
|
||||
* Embeded fonts
|
||||
* Save documents as ODF format so that it can be compatible with desktop applications like Open Office
|
||||
|
||||
**Credit:**
|
||||
OpenPage is heavily based on the WebODF javascript library: https://webodf.org
|
||||
@@ -1,14 +0,0 @@
|
||||

|
||||
# OpenPage: ODT (Open Document Text) editor alpha
|
||||
**OpenPage** is an AntOS application developed in-browser using AntOSDK. It is a Pure Javascript based rich text editor compatible with Open Document Format.
|
||||
|
||||
**Feature:**
|
||||
* Open, view and edit *.odt* documents
|
||||
* Offer various formatting style to text
|
||||
* Define and apply paragraph styles
|
||||
* Insert link, image
|
||||
* Embeded fonts
|
||||
* Save documents as ODF format so that it can be compatible with desktop applications like Open Office
|
||||
|
||||
**Credit:**
|
||||
OpenPage is heavily based on the WebODF javascript library: https://webodf.org
|
||||
File diff suppressed because one or more lines are too long
@@ -66,6 +66,7 @@ class OpenPage extends this.OS.GUI.BaseApplication
|
||||
newdoc: () ->
|
||||
blank = "#{@meta().path}/blank.odt"
|
||||
@open blank, true
|
||||
|
||||
open: (p,b) ->
|
||||
me = @
|
||||
@pathAsDataURL(p)
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{"name":"OpenPage","root":"home://workspace/OpenPage","css":["css/main.css","css/dialog.css"],"javascripts":["javascripts/webodf.js","javascripts/EditorSession.js"],"coffees":["coffees/main.coffee","coffees/dialogs.coffee"],"copies":["assets/scheme.html","package.json","assets/OpenPage.md","assets/icon.png","assets/blank.odt"]}
|
||||
8
OpenPage/project.json
Normal file
8
OpenPage/project.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "OpenPage",
|
||||
"root": "home://workspace/antosdk-apps/OpenPage",
|
||||
"css": ["css/main.css", "css/dialog.css"],
|
||||
"javascripts": ["javascripts/webodf.js", "javascripts/EditorSession.js"],
|
||||
"coffees": ["coffees/main.coffee", "coffees/dialogs.coffee"],
|
||||
"copies": ["assets/scheme.html", "package.json", "assets/icon.png", "assets/blank.odt"]
|
||||
}
|
||||
Reference in New Issue
Block a user