Friedrich W. H. Kossebau
91bebcf41a
Remove broken duplicated older version of zoomSlider.setEditorSession
...
fixup for c749ca8927
2015-02-27 17:16:15 +01:00
Friedrich W. H. Kossebau
c749ca8927
Code cleanups in programs/editor for issues found with JSLint
2015-02-23 17:31:37 +01:00
Friedrich W. H. Kossebau
41f8b18ac6
Make sure all toolbar elements are disabled without a session
...
(and merge any require calls into one per class definition)
2014-07-10 18:19:11 +02:00
Friedrich W. H. Kossebau
7f80e8e163
Normalize license headers of editor/benchmark/tests/firefox-addon/viewer source files
...
* remove @license tag, for consistency with library source files
* use copyright@kogmbh.com email address everywhere
* remove "additional permission", to be added only to released stuff
* separate license header by empty line from following content
2014-06-02 17:49:46 +02:00
Aditya Bhatt
887e248b9a
Do not fire the zoom slider's onChange
...
event when programmatically setting the
slider position.
2014-03-04 02:13:12 +01:00
Aditya Bhatt
40158417a7
Make the zoom slider's zoomLevel=1
...
position centered.
2014-03-04 02:12:56 +01:00
Aditya Bhatt
f428ff008f
Link the zoom slider to the current zoom level
...
of the ZoomHelper.
2014-03-03 22:46:51 +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
Aditya Bhatt
5b3d1b2fcd
Make onToolDone an overrideable member function that is called whenever
...
a tool is done. Now we don't pass onToolDone as a callback argument.
Make styles dialog, zoom slider, and other widgets restore focus to the
document once they are done.
2013-09-19 18:54:37 +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
Friedrich W. H. Kossebau
44db72f74a
Stop passing odfCanvas via document.odfCanvas to the zoomSlider, use new EditorSession.getOdfCanvas
2013-03-12 12:00:26 +01:00
Aditya Bhatt
01634286bc
Linted everything in editor/
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
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
375457d233
update license and copyright headers
2012-10-21 20:46:20 +02:00
Aditya Bhatt
a859da1f25
use setZoomLevel for zooming
2012-09-17 19:09:30 +05:30
Aditya Bhatt
87976deef8
make zoom slider thinner
2012-08-24 13:14:01 +05:30
Aditya Bhatt
cf3869cb5b
Add a Zoom Slider widget to the toolbar
2012-08-24 07:15:43 +05:30