On 26 June 2013 03:26, Friedrich W. H. Kossebau
(There is also anothe issue, in that there are the parameters "styleNameBefore" and "styleNameAfter", of which only "styleNameAfter" is used, and for the other so far no use is seen. So ideally "styleNameBefore" is removed and "styleNameAfter" is renamed to just "styleName")
+1 for this.
Now here are the samples where things fail ATM (always assuming A's ops have priority): Doc: text:pText A: [<setParagraphStyle pos="0" styleNameAfter="S1" memberId="A"/>] B: [<setParagraphStyle pos="3" styleNameAfter="S2" memberId="B"/>] Obviously hard to know if both target the same paragraph. Proposal: fix by identifying the paragraph with by its first position
...
text:p>text:p/ A: [<setParagraphStyle pos="3" styleNameAfter="S1" memberId="A"/>] B: [<removeText pos="0" length="1" memberId="B"/>] How can the setParagraphStyle op be transformed against the removeText op, in such a way that the pos attribute again points to the begin of the paragraph? There is no information in the removeText op which paragraphs are affected and how.
The desired intent is that each client end up with the same document,
Using this proposal, there is another issue:
though the ops
are processed in a different order right.
Consider the following scenario:
text:pP1
A: [