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] UC4 (was GCT vs ECT UC1-6 index.)


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


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