Commit Graph
718 Commits
Author SHA1 Message Date
Friedrich W. H. Kossebau bef0d8bd03 Use new ids for the components of the FF extension
to avoid conflicts with the ids of the old version
where the components where not properly unregistered
2014-04-04 15:54:14 +02:00
Friedrich W. H. Kossebau 357dab9f7e Rename Firefox add-on to "ODF Viewer" 2014-04-04 15:54:14 +02:00
Friedrich W. H. Kossebau 5c468e05a5 Unbreak "download this document" button in FF extension
getUserData/setUserData was deprecated and is no longer available in latest
Firefox (e.g. 27.0). Using e.g. the dataset property instead did not work
for storing callback methods. As currently only one async requests without
a callback are used, any support for callbacks or sync requests was simply
removed. Proper implementation delayed till callbacks or sync requests are needed.
2014-04-04 15:54:14 +02:00
Friedrich W. H. Kossebau 99acce16b7 Properly register/unregister components for ODT/ODP/ODS in FF-Add-on 2014-04-04 15:54:14 +02:00
Friedrich W. H. Kossebau 6647e1fcc4 Fix packextension.js: runtime.readFile no longer returns a buffer for NodejsRuntime 2014-04-04 15:54:14 +02:00
Aditya Bhatt de5105f0ad Make the default translations path relative to the dojo
config prefix.
2014-04-04 14:30:14 +02:00
Aditya Bhatt aaeb451cac Make it possible to specify an absolute translations
path. By default, it is the translations directory
in programs/editor.
2014-04-04 14:27:55 +02:00
Friedrich W. H. Kossebau 4f92225254 Publish the method "getDocumentAsByteArray" in "Editor" API 2014-04-04 11:58:46 +02:00
Aditya Bhatt 01b3bf5ff2 Fix return type annotation of mappedProperties 2014-04-04 11:39:00 +02:00
Aditya Bhatt 8eee65c2ec Only save style properties which have actually
been modified by the user in the dialog, upon
pressing "OK".
2014-04-04 11:36:44 +02:00
Friedrich W. H. Kossebau e86bbac51a Fix editor's welcome.odt: no more non-ODF elements, proper embedded font decl. 2014-04-02 18:20:02 +02:00
Friedrich W. H. Kossebau 6b2e4176c3 Change welcome.odt to have rich text in annotation and embed&use a font
Font is "Sonsie One" from http://www.google.com/fonts,
Licensed under SIL OPEN FONT LICENSE Version 1.1
http://scripts.sil.org/OFL
2014-04-02 16:00:14 +02:00
Aditya Bhatt 4e3b2bbc08 Use setStyle whenever selecting a new
style in the dialog.

This requires directly selecting a style
when cloning it, without waiting for onAdd.
2014-04-02 13:03:28 +02:00
Philip Peitsch 82d1d7cd85 Cope with non-cm image dimensions
Style-related operations are slowly being moved towards px as the
default unit to improve consistency. Standardising getContentSize to
work in px rather than cm provides better re-use of CSSUnits as well.
2014-03-27 22:57:44 +11:00
Friedrich W. H. Kossebau 0548895fea Use replaceByFileContents.js in firefoxextension build instead of custom solution 2014-03-26 23:49:37 +01:00
Friedrich W. H. Kossebau 89e552f95f Remove wordpressplugin (for more concentration on the one for ViewerJS) 2014-03-20 14:17:01 +01:00
Philip Peitsch 4a993a175c Enable the hyperlink tooltip in the ODT viewer 2014-03-17 22:39:09 +11:00
lli cba658f622 Add tooltip support for hyperlink 2014-03-17 22:39:09 +11:00
Philip Peitsch f5fee49568 Remove unnecessary duplicate click handler in the viewer plugin
The viewer was quite recently modified to use a session controller to
take advantage of the improved selection rendering system. This makes
the manual creation of the hyperlink click manager unnecessary.
2014-03-17 22:39:08 +11:00
Aditya Bhatt 4f3141a1ee Hide presentation button when there is no fullscreen api 2014-03-14 13:54:55 +01:00
Aditya Bhatt 770460ca0c Add fullscreen and presentation support for IE11.
This amazing browser does camelCasing differently
for event names and also does not support the
isFullscreen or msIsFullscreen property on document.

Therefore this commit keeps track of the fullscreen
state with a custom flag, instead of asking the browser
for it.
2014-03-14 13:52:22 +01:00
Friedrich W. H. Kossebau 0ec11402ed use core.Async.destroyAll for Editor.destroy 2014-03-13 22:22:53 +01:00
Friedrich W. H. Kossebau 83f3c3c14f Let the Editor create its used div subtree itself
* use classes for styling of editor structures
* use namespaced, numbered element ids to allow more than one editor
2014-03-12 18:00:54 +01:00
Friedrich W. H. Kossebau 63371ad9dc define size of paragraphstyle dialog internally, not by general css rule on .dijitDialogPaneContent 2014-03-10 18:09:59 +01:00
Friedrich W. H. Kossebau 41352c0928 Remove unused invite button 2014-03-10 17:56:15 +01:00
Friedrich W. H. Kossebau 81140f4b0f Help pullbox backends by telling them the mimetype of the WSER call payload 2014-03-10 17:42:26 +01:00
Friedrich W. H. Kossebau 4366803d02 Remove no longer needed "overflow: hidden" rule for the toolbar 2014-03-10 12:41:22 +01:00
Friedrich W. H. Kossebau d6d490059d Exclude nativeQtClient from default target 2014-03-05 12:18:50 +01:00
Friedrich W. H. Kossebau 35a5101793 data is now a Uint8Array, so use subarray(), not slice(), on it 2014-03-05 12:18:50 +01:00
Friedrich W. H. Kossebau 6f97cf5974 Fix outdated use of xmldom.XPath, now a namespace, no longer class 2014-03-05 12:18:50 +01:00
Friedrich W. H. Kossebau d1ab3eb2f3 Use compiled webodf.js in nativeQtClient 2014-03-05 12:18:50 +01: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 58cef6ac9d Fast Pinch-Zoom support on the sizer.
This patch adds a new class ZoomHelper that
is used to control the zooming of the document
by API and/or touch gestures. CSS3D transforms
are used to do extremely fast bitmap scaling
of the sizer.
2014-03-03 22:46:51 +01:00
Philip Peitsch 64e46afca9 Fix compile error using Qt 4.8.5 on Windows 2014-03-04 00:25:44 +11:00
Philip Peitsch 4c87f29a0b Make element variable names more consistent 2014-02-28 01:33:32 +11:00
Philip Peitsch 4f0d00e868 Make benchmark UI slightly more colourful 2014-02-28 01:32:12 +11:00
Philip Peitsch 8c68d5d121 Output the webodf version the benchmark is running against 2014-02-28 01:32:11 +11:00
Philip Peitsch 22877e576f Add pages per hour and kilometres per hour as benchmark units 2014-02-28 01:32:11 +11:00
Philip Peitsch 0545f86dc4 Add benchmark hooks for calculating document distance travelled 2014-02-28 01:30:45 +11:00
Philip Peitsch c0d8d41ea2 Expose the SessionController's undo/redo interfaces for the editor
Undo has additional logic to ensure the event trap is restored after
an undo is performed. At some point, this will need to split out of
the SessionController, but for now it is simplest to expose this to
the EditorSession for use.

Fixes remaining problems causing issue #426.
2014-02-27 13:33:23 +11:00
Philip Peitsch 90c5402add Restore focus back to the event trap after clicking the undo button
Partially fixes issue #426.
2014-02-27 13:33:11 +11:00
Philip Peitsch a5011a501f Update undo/redo widget coding style
Widgets no longer use the nested callback approach to instantiation.
2014-02-27 11:12:11 +11:00
Jos van den Oever 16220f4507 Move signalMemberUpdated, signalMemberRemoved and signalMemberAdded from ops.OdtDocument to ops.Document. 2014-02-24 15:19:05 +01:00
Jos van den Oever b3c77bf307 Move signals CursorAdded, CursorRemoved and CursorMoved to ops.Document.
This makes SvgSelectionView independent from ops.OdtDocument.
2014-02-24 15:13:13 +01:00
Philip Peitsch c225ba36f9 Add multi-letter insertion at doc start to benchmark (post-cache prime) 2014-02-20 21:24:41 +11:00
Friedrich W. H. Kossebau 065d161cf0 Sort-out deps for editor-compiled.js-target build a little
* no longer copy all webodf files, unneeded
* move copying of other editor source files and webodf.js into own targets
2014-02-19 12:45:32 +01:00
Friedrich W. H. Kossebau 3224e5495d Use relative paths in dojoConfig 2014-02-19 12:44:51 +01:00
Friedrich W. H. Kossebau e0c240cdeb Remove unused old avatar images flower and pigeon 2014-02-19 12:44:42 +01:00