OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office-collab message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [office-collab] Position XML


Hi Peter,

Am 24.04.2014 14:30, schrieb Peter Rakyta:
Dear TC members!

Yesterday on the call we discussed the representation of position attribute, including tables.
Now I just want to make sure I understand correctly. 

1) Lets say we have an empty table named Table1 placed at the 3rd paragraph of a document.
Allow me to be picky: the table is the third component not the third paragraph, as the table is being inserted on root level (e.g. beyond office:text).
 We add to the cell A1 string "Hello world"
Now we will have undo operation (regarding the inserted string): 

<del e=”/3/1/1/1/12” s=”/3/1/1/1/1” type="text" />

Just another minor correction: We are counting the characters being deleted, therefore it is from 1 to 11 as there are 11 characters in the example: <text:p>Hello world<text:p>
Or to count more in comparison:
123456789AB
Hello world


2) Now lets say we have placed another empty table Table2 into the empty cell A2 of Table1. Then we add a string "Hello world" to the cell A1 of Table2
This will result in undo operation (again regarding the inserted string):

<del e=”/3/2/1/1/1/1/1/12” s=”/3/2/1/1/1/1/1/1” type="text" />


Exactly, as the inner table (table 2) goes directly into the cell, while the text is still embedded within a paragraph.

And so on, if we have another recursively inserted tables.
Iam correct?

Yes from my opinion. Are there others from the implementors?

Best regards,
Svante

PS: Nicely done with the colors..

Best regards, Peter






[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]