Commit Graph
10 Commits
Author SHA1 Message Date
Aditya Bhatt 5dfd3438d1 * Add moveCursor flag to OpSplitParagraph.
* Adapt places where OpSplitParagraph is initialized
to also add the moveCursor flag.
* Let SplitParagraph vs SplitParagraph execute normally
at the same position.
2013-12-06 12:37:34 +01:00
Aditya Bhatt 47db07fb99 * Add an additional flag moveCursor to OpInsertText,
and obey it to explicitly move the cursor to the
desired resultant position.
When doing this, take care to specify the correct
textnode position for text insertion (i.e. before
or after the cursor).
* Adapt the rest of the code that uses OpInsertText
to pass the correct moveCursor flag (true).
* Remove the 'return null' from the transform of
InsertText vs InsertText.
2013-12-05 17:26:19 +01:00
Jos van den Oever 619e47b1d5 Add types to operations and operation matrix. 2013-11-26 16:56:00 +01:00
Aditya Bhatt 5bb266e84c Added OT for UpdateMetadata.
Add capabilities to OperationTests.js
and to TransformationTests.js,
test for <office:meta> elements.

Add corresponding tests for
OpUpdateMetadata.
2013-11-25 14:49:34 +01:00
Aditya Bhatt e16cc38edb == Op-ify member data handling ==
* New operations: OpAddMember, OpRemoveMember,
OpUpdateMember.
* Member data is now handled in a memberDataManager
instance inside OdtDocument.
* Any operations must be executed only if a member
is present within this model.
* All polling code for member data has been removed;
colors, names, and images now instantly update
whenever a member data operation is executed.
* Added relevant entries to the OT Matrix.
2013-11-20 18:56:47 +01:00
Friedrich W. H. Kossebau 09520a0c3c change "shadowed"/"shadowing" to "overruled"/"overruling"
as proposed by Aditya offline
2013-11-16 00:25:05 +01:00
Friedrich W. H. Kossebau 69b8fe23d5 Fix lots of OT for MoveCursor (semantics of position & length were misunderstood) 2013-11-15 18:15:38 +01:00
Friedrich W. H. Kossebau c75c407c56 Extend OT matrix with methods for op "ApplyDirectStyling" 2013-11-15 15:30:32 +01:00
Friedrich W. H. Kossebau 25fc86e12f In OperationTransformMatrix.js move all utility methods before the real transformation methods 2013-11-15 15:30:32 +01:00
Friedrich W. H. Kossebau 8eeb0366c9 Add client-side OT 2013-11-07 10:51:01 +01:00