Aditya Bhatt 8201188d7b * Use the new isInlineRoot method in OdfUtils, to
determine walkability around annotations via
the TextPositionFilter.

- In checkLeftRight, now that positions to the left
and right of an annotation are walkable by default,
block the position to the right of an annotation
if there is a grouping element (span, annotation
highlight, etc) to the right.

- Thus, now you can step to both the left and right
of a rangeless annotaiton.
If the annotaiton has a highlighted range, the cursor
won't be able to step between the <office:annotation>
element and it's annotationHighlight, so there
can be no strange text insertion there, and no
rewrapping is required over the newly inserted text
as it goes straight into the highlighted span
like everywhere else.

* Add tests to OdtDocumentTests for cursor positions
around annotations.

* Add tests to operationtests.xml (mostly bumping up
the positions of SplitParagraph operations after
adding annotations, now that 1 new position is exposed.
2013-12-06 11:13:52 +01:00
2011-04-20 11:35:22 +02:00

WebODF

WebODF is a JavaScript library created by KO GmbH.

It makes it easy to add Open Document Format (ODF) support to your website and to your mobile or desktop application. It uses HTML and CSS to display ODF documents.

S
Description
Lustro github.com/webodf/WebODF
Readme
23 MiB
Languages
JavaScript 91.6%
HTML 2.2%
C 2%
CMake 1.4%
Objective-C 0.7%
Other 1.9%