[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: UC1 latest version
There has been a lot of discussion on UC1 and some
updates. For our con call this afternoon I thought it would be
useful to show what I believe is the 'latest' version of this
sample. These are both based on the principle of splitting the text up into as many segments as needed and changing the formatting of each segment according to the change scenario. This avoids complex nesting of spans and makes 'undo' as clean as possible. UC1. ECT. Multiple Changes example (under Basic Text Changes) in the original proposal document. This is a format example with a start of two bold words 'Remove bold', then one word has its bold format removed, then the 'ol' of 'bold' is underlined. I believe these are the latest versions. Note that the GCT does not show the style additions which are not the main point here I believe. For ECT see http://www.oasis-open.org/apps/org/workgroup/office-collab/email/archives/201106/msg00017.html adapted back to the original example (with apologies to John if I have got this wrong!) Here the spans are replaced to show the changes for each 'version'. <ECT> <style:style style:name="BoldStyle" style:family="paragraph"> <style:text-properties fo:font-weight="bold"/> </style:style> <ct:format-change-start ct:id="1"/> <style:style style:name="NormalStyle" style:family="text"> <style:text-properties fo:font-weight="normal"/> </style:style> <ct:format-change-end ct:id="1"/> <ct:format-change-start ct:id="2"/> <style:style style:name="UlNormalStyle" style:family="text"> <style:text-properties style:text-underline-style="solid" fo:font-weight="normal"/> </style:style> <ct:format-change-end ct:id="2"/> <text:tracked-changes> <text:changed-region text:id="1"> <text:format-change> <office:change-info> … </office:change-info> </text:format-change> </text:changed-region> <text:changed-region text:id="2"> <text:format-change> <office:change-info> … </office:change-info> <text:span text:style-name="NormalStyle"/> </text:format-change> </text:changed-region> </text:tracked-changes> <text:p text:style-name="BoldStyle">Remove <ct:format-change-start ct:id="1"/> <text:span text:style-name="NormalStyle">b</text:span> <ct:format-change-end ct:id="1"/> <ct:format-change-start ct:id="1"/> <ct:format-change-start ct:id="2"/> <text:span text:style-name="UlNormalStyle">ol</text:span> <ct:format-change-end ct:id="2"/> <ct:format-change-end ct:id="1"/> <ct:format-change-start ct:id="1"/> <text:span text:style-name="NormalStyle">d</text:span> <ct:format-change-end ct:id="1"/> </text:p> </ECT> For GCT see http://www.oasis-open.org/apps/org/workgroup/office-collab/email/archives/201107/msg00000.html Here the changes are shown as attribute changes on the spans which remain there for all 'versions'. <GCT> <text:p text:style-name="BoldStyle">Remove <text:span text:style-name="NormalStyle" ac:change001="ct1,add,text:style-name">b</text:span> <text:span text:style-name="UlNormalStyle" ac:change001="ct1,add,text:style-name" ac:change002="ct2,modify,text:style-name,NormalStyle">ol</text:span> <text:span text:style-name="NormalStyle" ac:change001="ct1,add,text:style-name" >d</text:span> </text:p> </GCT> -- -- ----------------------------------------------------------------- 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]