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
57c8e6c462
Handle default styles properly in the editor.
...
* EditorSession gets a bit of abstraction which allows smoothly
using the same functions to handle paragraph styles, where an empty
styleName means the default style.
* The paragraphStyles widget now names the default style as ":default"
internally, because dojo could not handle "" properly as an entry value.
* OpUpdateParagraphStyle now knows to treat "" as default style.
* Translations for defaultStyle
2013-09-17 16:27:29 +02:00
Philip Peitsch
caf0fbe549
Refactored style modification ops to use Formatting.updateStyle
...
* Added missing operation to test harness
2013-09-06 02:33:39 +10:00
Friedrich W. H. Kossebau
7426cc29a3
Extend OpUpdateParagraphStyle to support removal of attributes also directly on the style node
...
also make more similar to code in OpAddParagraphStyle
2013-08-13 01:32:41 +02:00
Aditya Bhatt
374ffc2fbc
* Allow annotations to be enabled/disabled via OdfCanvas
...
* Documentation++
* Enable annotations by default in editor and viewer.
* Detach range in highlighter after use
Also: Annotation handling is broken when annotations overlap. Add TODO for
that.
2013-08-01 16:17:08 +02:00
Aditya Bhatt
7d6c95d9f2
A new AnnotationManager class in gui that handles wrapping the
...
annotation in html containers, adds connector elements, and a text
highlight.
Trigger OdfCanvas's anntationManager instance whenever any text
modification operation occurs.
2013-08-01 16:17:00 +02:00
Friedrich W. H. Kossebau
6d729068d6
Reuse the formatting object of odtDocument in ops.OpUpdateParagraphStyle
2013-07-30 17:23:44 +02:00
Friedrich W. H. Kossebau
ac2cb8c005
Change spec of ops.OpUpdateParagraphStyle to take real ODF properties as payload for "setProperties"
2013-07-29 16:10:52 +02:00
Friedrich W. H. Kossebau
f6c017a7f3
in ops.OpUpdateParagraphStyle split info into setProperties & removedProperties
...
using value "null" for "remove" and "undefined" for "skip" is hard/impossible to map to other languages
2013-07-02 22:58:43 +02:00
Friedrich W. H. Kossebau
c7d1826440
un-unroll loops in OpUpdateParagraphStyle (turn explicit calls into generic structure)
2013-07-02 22:40:46 +02:00
Friedrich W. H. Kossebau
263002f70f
Update Copyright years of ops code files
2013-04-09 13:45:33 +02:00
Friedrich W. H. Kossebau
16f634ce1a
Have ops return the success of their execute
2013-04-09 13:45:33 +02:00
Friedrich W. H. Kossebau
6f5ced4d1e
Do not pass session as parameter to the ops contructors, pass odtDocument instead of domroot in the execute method
2013-04-09 13:45:33 +02:00
Friedrich W. H. Kossebau
7868d6bfa3
Move eventNotifier from ops.Session to ops.OdtDocument
2013-04-09 13:45:33 +02:00
Friedrich W. H. Kossebau
54b3a1381c
move all DOM manipulation code to the ops
...
Also:
* merge paragraphEdited event of ops.OdtDocument into paragraphChanged event of ops.Session
* remove any event subscription/emitting from ops.OdtDocument
2013-04-09 13:44:49 +02:00
Friedrich W. H. Kossebau
95d923dc26
Remove unused/unneeded property "position" from OpUpdateParagraphStyle
2013-04-03 18:00:20 +02:00
Tobias Hintze
66eb0054d0
rename SessionImplementation to Session (and thus remove the Session-interface)
2013-03-26 14:15:02 +01:00
Aditya Bhatt
9d8bd8e063
Add timestamp fields to operation specs
2013-03-14 18:21:03 +05:30
Friedrich W. H. Kossebau
6a568a8f58
Split ops.OdtCursor from core.Cursor & rename ops.Document to ops.OdtDocument
...
Also:
* rename gui.CaretTests to ops.OdtCursorTests (as it is testing ops.OdtCursor)
* remove test-less CaretTests.js, had broken setup now
2013-03-06 15:44:28 +01:00
Aditya Bhatt
8f526248f3
Add a signalParagraphStyleModified, and make the BIUS buttons listen to
...
it so that they are updated when a dialog changes the current style's properties
2013-02-20 13:35:47 +05:30
Aditya Bhatt
f48110f720
Operation definition for Updating Paragraph style
2012-12-28 12:05:06 +01:00