[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office-collab] draft: specification text for "Insertion of a paragraph"
Hi,
On 16.01.2013 10:40, Oliver-Rainer Wittmann wrote: As I just wrote to Patrick, it is helpful to map the change-tracking scenario to a real-time collaboration scenario (RTC) to make the requirements for change-tracking (CT) more obvious.Hi, at [1] you find my draft for the specification text for "Insertion of a paragraph". Certain questions are still open to me, especially regarding the "Counting" in the ODF to identify at certain ODF component resp. ODF element. [1] https://wiki.oasis-open.org/office/Insertion%20of%20a%20paragraph In the very beginning the idea of saving of operations into the ODF XML document, has its origin from the scenario of a user real-time collaborating (RTC) where one was entering a train tunnel loosing connection, but continuing its work and the need to save his changes into the document to synchronize them later to the others. RTC has stricter requirements than CT, but a compatibility is desirable to allow easier expansion of our feature set. For the future RTC (and the advantage of the ability of easy merge) we are mapping the ODF XML of a document to a component tree to have a common ODF document model that is easier maps on different ODF application models. The idea was to neglecting XML design decisions and focusing on the semantic grouping of components. For instance, it is quite difficult to handle an ODF XPath _expression_ in a HTML browser model with _javascript_, while the reference to a component given by a path being a list of integer is a piece of cake. During the mapping of the ODF XML to components we have to distinguish between four types of ODF XML elements in a document:
For paragraphs it is quite easy. Most likely every sibling of
text:p is a component. <choice> Therefore every element above - aside of change-marks and
text-soft-page-break being delimiters - are components. Does this clarify your question? Best regard, |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]