OpenDocument - Adv Document Collab SC

 View Only
  • 1.  GCT vs ECT UC1-6 index.

    Posted 07-25-2011 02:19
    Hi,   Perhaps this index of the use cases UC1-6 might also be of interest to others. As at Mon Jul 25, 2011 @ 12:10 PM east Aussie time I couldn't see the ECT versions of UC4, UC5, or UC6. Apologies if I missed them. Cited documents can be sourced from here: http://www.oasis-open.org/apps/org/workgroup/office-collab/documents.php / Use Cases - UC1 ECT. Multiple Changes example              GCT-style-change-response.odt              extended_ct_proposal.odt / Multiple Changes section, under Basic Text Content - UC2 ECT. Removing list              GCT-list-examples-response.odt              ECT list examples.odt - UC3 ECT. Changing list level              GCT-list-examples-response.odt              ECT list examples.odt - UC4 GCT. Overlapping style changes              GCT = character-style-changes-sample.zip - UC5 GCT. List Edit and Conversion to Paragraphs              GCT = list-to-paras-sample.zip - UC6 GCT. Text Frame Modifications              GCT = text-frame-sample.zip For UC1, UC2, and UC3 open the cited GCT odt file which includes a presentation of both the ECT and GCT markup. The following is a formatted version of the interesting part of the GCT ODT XML for UC3-6. === UC4:GCT character-style-changes-sample.zip/content.xml <text:p text:style-name="Text_20_body">   These sample documents demonstrate the scenario mentioned by Ben   Martin where two change transactions appear to be overlapping and to   be inherantly ordered but in fact they could be accepted/rejected   independently of each other. </text:p> <text:p text:style-name="Text_20_body">   In the following paragraph, the first change transaction will make   the word 'bold-italic' into an italicised font. The soncd change   transaction will make all of the 'bold' words and the word   'bold-italic' into a bold font. </text:p> <text:p text:style-name="Text_20_body">   Normal normal   <text:span text:style-name="bold" delta:insertion-change-idref="ct2" delta:insertion-type="insert-around-content">     bold bold     <text:span text:style-name="italic" delta:insertion-change-idref="ct1" delta:insertion-type="insert-around-content">       bold-italic     </text:span>     bold bold   </text:span>   normal normal. </text:p> === UC5:GCT list-to-paras-sample.zip/content.xml Note that since at a logical level the delta:remove-leaving-content-start is terminated with a matching delta:remove-leaving-content-end element I have indented things accordingly. <text:p text:style-name="Text_20_body">   In this example set, the following list will first have some text   added to the middle list item. The second edit will convert the list   into paragraphs by selecting the whole list and pressing the   'Bullets On/Off' button. </text:p> <delta:remove-leaving-content-start delta:removal-change-idref="ct2" delta:end-element-idref="end1">   <text:list xml:id="list395423701" text:style-name="L1"/> </delta:remove-leaving-content-start>   <delta:remove-leaving-content-start delta:removal-change-idref="ct2" delta:end-element-idref="end2">       <text:list-item/>     </delta:remove-leaving-content-start>     <text:p text:style-name="Standard">This is a list item</text:p>   <delta:remove-leaving-content-end delta:end-element-id="end2"/>   <delta:remove-leaving-content-start delta:removal-change-idref="ct2" delta:end-element-idref="end3">       <text:list-item/>     </delta:remove-leaving-content-start>     <text:p text:style-name="Standard">This item will have a            <delta:inserted-text-start delta:insertion-change-idref="ct1" delta:inserted-text-end-idref="it1"/>               single            <delta:inserted-text-end delta:inserted-text-end-id="it1"/>word added     </text:p>   <delta:remove-leaving-content-end delta:end-element-id="end3"/>   <delta:remove-leaving-content-start delta:removal-change-idref="ct2" delta:end-element-idref="end4">       <text:list-item/>     </delta:remove-leaving-content-start>     <text:p text:style-name="Standard">This is the final list item</text:p>   <delta:remove-leaving-content-end delta:end-element-id="end4"/> <delta:remove-leaving-content-end delta:end-element-id="end1"/> === UC6:GCT text-frame-sample.zip/text-frame-generic-ct.odt/content.xml <text:p text:style-name="Text_20_body">   <draw:frame draw:style-name="fr1" draw:name="Frame1" text:anchor-type="paragraph"     svg:x="2.0cm" svg:y="2.0cm" svg:width="8.0cm" draw:z-index="0"     ac:change001="ct1,modify,svg:x,4.999cm"     ac:change002="ct1,modify,svg:y,1.376cm"     ac:change003="ct3,modify,svg:width,4.334cm"     ac:change004="ct4,modify,svg:x,10.0cm"     ac:change005="ct4,modify,svg:y,6.0cm">     <draw:text-box fo:min-height="2.503cm">        <text:p text:style-name="Frame_20_contents">           This is a           <delta:inserted-text-start delta:insertion-change-idref="ct2" delta:inserted-text-end-idref="it1"/>             modified           <delta:inserted-text-end delta:inserted-text-end-id="it1"/>           text frame.        </text:p>     </draw:text-box>   </draw:frame> In this set of samples, the frame below will be edited four times: moved, text edited, resized and finally moved again. </text:p>


  • 2.  Re: [office-collab] GCT vs ECT UC1-6 index.

    Posted 07-26-2011 09:33
    Ben, Thanks for this summary. I confirm we do not have UC4, UC5 and UC6 yet as ECT samples, I have asked John to provide these but he is out this week I believe. If someone else can do them that would be good, and a useful exercise to see if the spec covers these and can be interpreted by others. UC4 is similar to UC1 but still worth doing - there is another possible solution to it per our email discussions. UC5 is also similar to UC2 but more complex and involves an edit to the text that is changed so it will be useful to see how this is handled. UC6 will presumably need to be handled as buckets in ECT per earlier discussions, so again useful to see how this looks. Regards, Robin On 25/07/2011 03:18, monkeyiq wrote: 1311560319.6430.5345.camel@alkid.localdomain type= cite > Hi,   Perhaps this index of the use cases UC1-6 might also be of interest to others. As at Mon Jul 25, 2011 @ 12:10 PM east Aussie time I couldn't see the ECT versions of UC4, UC5, or UC6. Apologies if I missed them. Cited documents can be sourced from here: http://www.oasis-open.org/apps/org/workgroup/office-collab/documents.php / Use Cases - UC1 ECT. Multiple Changes example                         GCT-style-change-response.odt                         extended_ct_proposal.odt / Multiple Changes section, under Basic Text Content - UC2 ECT. Removing list                         GCT-list-examples-response.odt                         ECT list examples.odt - UC3 ECT. Changing list level                         GCT-list-examples-response.odt                         ECT list examples.odt - UC4 GCT. Overlapping style changes                         GCT = character-style-changes-sample.zip - UC5 GCT. List Edit and Conversion to Paragraphs                         GCT = list-to-paras-sample.zip - UC6 GCT. Text Frame Modifications                         GCT = text-frame-sample.zip ..snip -- -- ----------------------------------------------------------------- Robin La Fontaine, Director, DeltaXML Ltd Change control for XML T: +44 1684 592 144 E: robin.lafontaine@deltaxml.com http://www.deltaxml.com Registered in England 02528681 Reg. Office: Monsell House, WR8 0QN, UK


  • 3.  Re: [office-collab] UC4 (was GCT vs ECT UC1-6 index.)

    Posted 07-26-2011 10:07
    Per earlier email discussions, a simpler solution to this one might be as follows (GCT): <text:p text:style-name= Text_20_body > Normal normal <text:span text:style-name= bold ac:change001= ct2,add,text:style-name > bold bold </text-span> <text:span text:style-name= bold-italic ac:change001= ct1,add,text:style-name ac:change002= ct2,modify,text:style-name,italic > bold-italic </text:span> <text:span text:style-name= bold ac:change001= ct2,add,text:style-name > bold bold </text:span> normal normal. </text:p> This is not exactly the same but would look the same to a user and have the same result when changes are undone. Robin On 25/07/2011 03:18, monkeyiq wrote: 1311560319.6430.5345.camel@alkid.localdomain type= cite > === UC4:GCT character-style-changes-sample.zip/content.xml <text:p text:style-name= Text_20_body >   These sample documents demonstrate the scenario mentioned by Ben   Martin where two change transactions appear to be overlapping and to   be inherantly ordered but in fact they could be accepted/rejected   independently of each other. </text:p> <text:p text:style-name= Text_20_body >   In the following paragraph, the first change transaction will make   the word 'bold-italic' into an italicised font. The soncd change   transaction will make all of the 'bold' words and the word   'bold-italic' into a bold font. </text:p> <text:p text:style-name= Text_20_body >   Normal normal   <text:span text:style-name= bold delta:insertion-change-idref= ct2 delta:insertion-type= insert-around-content >       bold bold       <text:span text:style-name= italic delta:insertion-change-idref= ct1 delta:insertion-type= insert-around-content >           bold-italic       </text:span>       bold bold   </text:span>   normal normal. </text:p> -- -- ----------------------------------------------------------------- Robin La Fontaine, Director, DeltaXML Ltd Change control for XML T: +44 1684 592 144 E: robin.lafontaine@deltaxml.com http://www.deltaxml.com Registered in England 02528681 Reg. Office: Monsell House, WR8 0QN, UK