Friedrich W. H. Kossebau
60626b01dc
Fix widget js files to only call runtime.loadClass(...) in the setup method, not at definition time
2013-12-16 23:52:59 +01:00
Aditya Bhatt
6a4f0e69ab
Add translations support to runtime.js,
...
and programs/editor/Translator.js which is a reference
implementations of a translator.
The programs/editor/Translator code is used entirely in
localeditor.js/collabeditor.js and the editor itself, or webodf,
and need not know anything about the translation mechanism.
Translate all strings within the editor and all
user-facing strings in webodf core itself using
runtime.tr();
2013-11-05 18:38:41 +01:00
Friedrich W. H. Kossebau
c2a795e668
Update link to repo: now https://github.com/kogmbh/WebODF/
2013-10-23 18:20:30 +02:00
Friedrich W. H. Kossebau
508570dab8
Add copy of the AGPL3 to sources (+ add to created zip files)
2013-10-21 17:55:16 +02:00
Friedrich W. H. Kossebau
479ecd79f8
Turn widgets.js into Tools.js, make tools work without a editorSession object set
2013-09-03 01:02:47 +02:00
Tobias Hintze
7a9e7c50c7
whitespaces
2013-03-20 22:26:01 +01:00
Tobias Hintze
e97953f6f1
programs/editor/widgets: make two panes work in a subdir as well
2013-03-20 20:47:03 +01:00
Aditya Bhatt
38b2dabe91
Use a more proper property name - textAlign instead of alignment
2013-02-18 20:12:55 +05:30
Aditya Bhatt
bb2ed71042
Remove unused var
2013-02-13 21:47:30 +05:30
Aditya Bhatt
cf2c7c1ae1
Translate all the things
2013-02-13 21:39:44 +05:30
Aditya Bhatt
5df98795aa
We already have a form var, no need to use dijit.byId
2013-01-30 23:20:51 +05:30
Aditya Bhatt
891260af5f
Add .value() methods to both panes
2013-01-30 22:59:37 +05:30
Aditya Bhatt
9f87626968
Extend both dialog panes to allow for extra methods to be attached; the
...
dijit widget is now accessed as pane.widget()
2013-01-30 22:46:10 +05:30
Aditya Bhatt
7d299b717a
Remove namespace declarations from dialog panes
2013-01-30 21:08:00 +05:30
Aditya Bhatt
81787baa60
Add a preliminary CSS units converter and use it to convert everything
...
to millimetres
2013-01-22 20:42:21 +05:30
Aditya Bhatt
d47161e571
Use style attributes directly from the attributes map
2013-01-22 15:31:35 +05:30
Friedrich W. H. Kossebau
dbb791486e
getAttributeNS can return null in some browsers, so check the result for that
...
https://developer.mozilla.org/en-US/docs/DOM/element.getAttributeNS#Notes
2012-12-28 12:05:07 +01:00
Aditya Bhatt
3e61ec968a
Don't use UI-specific properties in operations. remove 'Radio' from
...
properties
2012-12-28 12:05:06 +01:00
Aditya Bhatt
bdebe10662
Lint
2012-12-28 12:05:06 +01:00
Aditya Bhatt
2453386448
Use de-globalized editorSession throughout editor
2012-12-28 12:05:06 +01:00
Aditya Bhatt
5333f98f99
Bind dialog to paragraph style, updates on changes to the style
...
Conflicts:
programs/editor/widgets/paragraphStylesDialog.js
2012-12-28 12:05:06 +01:00
Aditya Bhatt
847114c271
Some changes to get accessing of paragraph styles by the dialog working
...
Conflicts:
programs/editor/CMakeLists.txt
programs/editor/index.html
programs/editor/widgets/dialogWidgets/alignmentPane.js
programs/editor/widgets/paragraphStylesDialog.js
2012-12-28 12:05:06 +01:00
Tobias Hintze
20accd4fd2
apply AMD pattern to programs/editor
...
* allows use either in src or in build dir (cdn-index.html / index.html)
* creates dojo-amalgamation.js which includes selected languages
2012-12-03 16:24:08 +01:00
Aditya Bhatt
71656d78d4
Remove all instances and usages of session, documentObject, and memberId from all editor components. Obsolte after using EditorSession
...
(Tobias Hintze <th-git@kogmbh.com >:
manually resolved conflict in editor.js during cherry-pick)
2012-11-30 13:22:31 +01:00
Tobias Hintze
1e0e95a7f4
hotfix: translator should be gracefull for missing translation
...
(this changes the "API" to translator("foo") instead of translator.foo)
2012-11-23 19:42:25 +01:00
Friedrich W. H. Kossebau
517d2af424
Add german translations (and prepare russian one)
2012-10-23 16:32:10 +02:00
Tobias Hintze
375457d233
update license and copyright headers
2012-10-21 20:46:20 +02:00
Aditya Bhatt
62150e6e25
new declarative widget panes
2012-09-07 18:06:15 +05:30