Hi Ben,
On 22.04.2011 04:51, monkeyiq wrote:
1303440683.1516.273.camel@alkid.localdomain"
type="cite">
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="javascript:void(0);"
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.
Regards,
Frank
--
Frank Meies | Software Developer
Phone: +49 49 23646 500
Oracle OFFICE GBU
ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097
Hamburg
ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr.
30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van
der Ven
Oracle is committed to developing practices and
products that help protect the environment
|