https://bugs.documentfoundation.org/show_bug.cgi?id=152228

--- Comment #9 from [email protected] <[email protected]> ---
I'm not exactly an XML expert, either, but dropping it in VSCode just to read
it, probably 98% of it appears to be identical.

Here's the bits that are actually different:
NOTE: The items within <office:document-content> are identical, but in random
order, so I'm not going to retype them here, unless the order of items in XML
matters.  It reads like a Python dictionary or similar unordered structure to
me.

For the rest, it's just the font section and the table sections.  I can't tell
from Bogdan's reply which sample is which, so I'm just going to label them A
and B.

=================================================
The Table bit is interesting to me.  It looks like the base declaration is
virtually the same in both.  Sample A has everything in inches, and Sample B
has everything in centimeters.  Sample B then has a few additional lines:

<style:table-cell-properties fo:padding="0.097cm"
                             fo:border-left="0.5pt solid #000000"
                             fo:border-right="none"
                             fo:border-top="0.5pt solid #000000"
                             fo:border-bottom="0.5pt solid #000000"/>
</style:style>
<style:style style:name="Table1.E1" style:family="table-cell">
<style:table-cell-properties fo:padding="0.097cm"
                             fo:border="0.5pt solid #000000"/>
</style:style>
<style:style style:name="Table1.A2" style:family="table-cell">
<style:table-cell-properties fo:padding="0.097cm"
                             fo:border-left="0.5pt solid #000000"
                             fo:border-right="none"
                             fo:border-top="none"
                             fo:border-bottom="0.5pt solid #000000"/>
</style:style>
<style:style style:name="Table1.E2" style:family="table-cell">
<style:table-cell-properties fo:padding="0.097cm"
                             fo:border-left="0.5pt solid #000000"
                             fo:border-right="0.5pt solid #000000"
                             fo:border-top="none"
                             fo:border-bottom="0.5pt solid #000000"/>

=================================================
Sample A Fonts:
<style:font-face style:name="Liberation Serif"
                 svg:font-family="&apos;Liberation Serif&apos;"
                 style:font-family-generic="roman"
                 style:font-pitch="variable"/>
<style:font-face style:name="Segoe UI"
                 svg:font-family="&apos;Segoe UI&apos;"
                 style:font-family-generic="system"
                 style:font-pitch="variable"/>
<style:font-face style:name="Tahoma"
                 svg:font-family="Tahoma"
                 style:font-family-generic="system"
                 style:font-pitch="variable"/>
</office:font-face-decls>

Sample B Fonts:
<style:font-face style:name="Liberation Sans"
                 svg:font-family="&apos;Liberation Sans&apos;"
                 style:font-family-generic="swiss"
                 style:font-pitch="variable"/>
<style:font-face style:name="Liberation Serif"
                 svg:font-family="&apos;Liberation Serif&apos;"
                 style:font-family-generic="roman"
                 style:font-pitch="variable"/>
<style:font-face style:name="Lohit Devanagari"
                 svg:font-family="&apos;Lohit Devanagari&apos;"/>
<style:font-face style:name="Lohit Devanagari1"
                 svg:font-family="&apos;Lohit Devanagari&apos;"
                 style:font-family-generic="system"
                 style:font-pitch="variable"/>
<style:font-face style:name="Noto Sans CJK SC"
                 svg:font-family="&apos;Noto Sans CJK SC&apos;"
                 style:font-family-generic="system"
                 style:font-pitch="variable"/>
<style:font-face style:name="Noto Serif CJK SC"
                 svg:font-family="&apos;Noto Serif CJK SC&apos;"
                 style:font-family-generic="system"
                 style:font-pitch="variable"/>
</office:font-face-decls>

=======================================================


All of this leads me to wonder if the file getting created from
"[ContextMenu]->New->Open Document Text" is ACTUALLY producing a file of the
correct version, or if it just thinks it is?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to