Commit Graph
337 Commits
Author SHA1 Message Date
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 6121075d54 Make dialog panes follow the style selected in the dialog 2013-01-30 23:11:45 +05:30
Aditya Bhatt 299ec3e2bf Modify the style in the document that is currently selected *in* the
dialog
2013-01-30 23:05:27 +05:30
Aditya Bhatt 5a4680da5c typo 2013-01-30 23:04:20 +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 2cbc70e117 Make the dialog scrollbar go away, adjust sizes 2013-01-30 21:00:24 +05:30
Aditya Bhatt bd14deb810 Add an inert paragraphStyles selector widget above the tabContainer in
the styles dialog
2013-01-30 19:51:54 +05:30
Aditya Bhatt 00e58e7d64 Use the currentStyle widget instead of paragraphStyles, in the toolbar
in widgets.js
2013-01-30 19:18:19 +05:30
Aditya Bhatt 429f86aa2d Add a toolbarWidgets/ directory and add currentStyle.js to it, a widget
that uses internally the paragraphStyles widget and also keeps track of
current paragraph and allows setting the current paragraph's style
2013-01-30 19:16:52 +05:30
Aditya Bhatt 776a5d3834 Remove style sniffing and setting ability from paragraphStyles widget 2013-01-30 19:16:43 +05:30
Aditya Bhatt d193d58389 Add text and background color modification 2013-01-23 04:22:45 +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
Aditya Bhatt 3cdf580200 Add wrapper method for getParagraphStyleAttributes to EditorSession 2013-01-22 15:31:14 +05:30
Friedrich W. H. Kossebau aeb62b27ae Remove left-over onclick property from Submit button in editor/index.html 2013-01-04 15:24:26 +01:00
Friedrich W. H. Kossebau bd0d44509f Sync programs/editor/cdn-index.html with index.html 2013-01-04 15:00:15 +01:00
Friedrich W. H. Kossebau 917c85e47f Restore programs/editor working without middleware 2012-12-28 12:05:07 +01:00
Friedrich W. H. Kossebau c430830d78 Gracefully remove cursor on page closing 2012-12-28 12:05:07 +01:00
Friedrich W. H. Kossebau 8ea7b69042 Add SessionList, as proxy object to sessionlist on server 2012-12-28 12:05:07 +01:00
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
Friedrich W. H. Kossebau d8f1c15ba1 Extend program/editor/index.html to allow to login & enter existing session 2012-12-28 12:05:07 +01:00
Friedrich W. H. Kossebau 48ae2baecb Fix missing syntax error due to missing ) in editor.js 2012-12-28 12:05:07 +01:00
Friedrich W. H. Kossebau 55cdf4297d Remove topPane in programs/editor 2012-12-28 12:05:07 +01:00
Friedrich W. H. Kossebau 454ea3a07e Update editor.js with changes around sessionId, userdata fetching and edithighlighting disabling 2012-12-28 12:05:07 +01:00
Friedrich W. H. Kossebau fa9504bb73 Adapt UserList view to usermodel now signalling userdata changes
(and remove unneeded parameters from internal methods)
2012-12-28 12:05:07 +01:00
Friedrich W. H. Kossebau a6d4f6496a Remove duplicated fade effect description from editor.css (already in webodf.css) 2012-12-28 12:05:07 +01:00
Aditya Bhatt e186836434 Prefix with namespaces 2012-12-28 12:05:06 +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 63e3e84496 Remove log 2012-12-28 12:05:06 +01:00
Aditya Bhatt 3f5a90b174 toolbar should be local var 2012-12-28 12:05:06 +01:00
Aditya Bhatt 01634286bc Linted everything in editor/ 2012-12-28 12:05:06 +01:00
Aditya Bhatt bdebe10662 Lint 2012-12-28 12:05:06 +01:00
Aditya Bhatt b18bf1226a 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 2b5bfbc891 Bind accept() and cancel() to onClick for OK and Cancel buttons of dialog 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 8b3e632afd Use dojo form instead of HTML forms 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 f2667f043f cleanup, whitespace, and cosmetics 2012-12-03 16:56:04 +01:00
Tobias Hintze 126d4d32f6 add and use welcome.odt file at start for programs/editor 2012-12-03 16:24:17 +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 eba10f9ec3 Make dialog previews work.
(Tobias Hintze <th-git@kogmbh.com>:
 manually resolved cherry-pick conflict in fontEffectsPane.js)
2012-11-30 13:29:32 +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
Aditya Bhatt 98e72a0e77 Add method to retrieve odfDocument 2012-11-30 13:07:05 +01:00
Aditya Bhatt bb7145521b Add UserList to cmake 2012-11-30 13:06:50 +01:00
Aditya Bhatt 01ccbf791b use the new UserList in editor.js 2012-11-30 13:06:44 +01:00
Aditya Bhatt 23bda39b14 Trash all the old code that talked to webodf, and use the new EditorSession API. Code is reduced! 2012-11-30 13:06:38 +01:00
Aditya Bhatt 112f8796fe A class for handling the people list in the Editor. Exposes two methods, addUser and removeUser. These can be automatically invoked when a 'userAdded' or 'userRemoved' signal is fired. 2012-11-30 13:06:29 +01:00