Next in thread → Next in month →

Re: [office-collab] Suggestions for moving forward to resolveissues

From
monkeyiq <>
Date
2011-04-24T08:30:14+00:00
ID
Thread
Re: [office-collab] Suggestions for moving forward to resolveissues
On Fri, 2011-04-22 at 12:55 +0200, Frank Meies wrote:
> Hi Ben,
> 
> On 22.04.2011 04:51, monkeyiq wrote: 
> > 
> > This inference of changes using buckets gets stickier when one
> > considers captions. The below was generated by OpenOffice for a
> > document where I inserted a small image and gave it a caption
> > "captext". If one considers changes to style and then more intricate
> > changes inside the text:p, the runtime xml diff of ECT buckets
> > becomes somewhat complex just so an application can show the user
> > the changes to a caption.
> > 
> >       <text:p text:style-name="Standard">
> >         <draw:frame draw:style-name="fr1" draw:name="Frame1"
> > text:anchor-type="paragraph" svg:width="2.709cm" draw:z-index="0">
> >           <draw:text-box fo:min-height="4.817cm">
> >             <text:p text:style-name="Illustration"><draw:frame
> > draw:style-name="fr2" draw:name="graphics1"
> > text:anchor-type="paragraph" svg:x="0.004cm" svg:y="0.002cm"
> > svg:width="2.709cm" style:rel-width="100%" svg:height="4.817cm"
> > style:rel-height="scale" draw:z-index="1"><draw:image
> > xlink:href="Pictures/10000000000001400000023953C5B569.jpg"
> > xlink:type="simple" xlink:show="embed"
> > xlink:actuate="onLoad"/></draw:frame>Illustration <text:sequence
> > text:ref-name="refIllustration0" text:name="Illustration"
> > text:formula="ooow:Illustration+1"
> > style:num-format="1">1</text:sequence>: captext</text:p>
> >           </draw:text-box>
> >         </draw:frame>
> >       </text:p>
> > 
> > On the other hand, the text:p here and in other places of and ODF
> > file could all be tracked the same way in the GCT. The application
> > gets to be able to show the changes to a caption just as it does an
> > edit to a table cell, just as it does an edit to the first paragraph
> > in the body of the document.
> 
> That's what OOo currently does. There is no difference (neither in the
> generated xml nor in the internal structures) if you change the
> caption text:p or any other paragraph in the document.

So in this particular case, the ECT as it stands is actually a fair bit
harder to implement than the GCT. The ECT requiring two very different
IO paths depending on context.

> 
> Regards,
> 
> Frank
Next in thread → Next in month →