Hi All,

one of the things my tool does is compare the structure of documents.
Different version of the same one as a user adds etc.

I took a simple "Hello World" document and stored it in Google docs. I then
downloaded it back again, no edits,  I then compared the two.

They are radically different. Just consider the document body.
Original....
    <office:body>
        <office:text>
            <text:sequence-decls>
                <text:sequence-decl text:display-outline-level="0"
                    text:name="Illustration" />
                <text:sequence-decl text:display-outline-level="0"
                    text:name="Table" />
                <text:sequence-decl text:display-outline-level="0"
                    text:name="Text" />
                <text:sequence-decl text:display-outline-level="0"
                    text:name="Drawing" />
            </text:sequence-decls>
            <text:p text:style-name="Text_20_body">Hello world </text:p>
        </office:text>
    </office:body>

When downloaded.
    <office:body>
        <office:text>
            <text:p text:style-name="P1">
                <text:span text:style-name="T1_1">Hello</text:span>
                <text:span text:style-name="T1_2">
                    <text:s />
                </text:span>
                <text:span text:style-name="T1_3">world</text:span>
            </text:p>
        </office:text>
    </office:body>

It lost the text-sequence-decls... no harm there. Not really sure what they
were. But look at the simple text paragraph. It gets blown out to a span
around each word with its own style! Even the space between the words has
its own style!

I'm sure there is some smart reason for this. I don't understand what it is.

Let's hope we can do a better job with the round trip of a document in
Corinthia,
Then again maybe we will discover that is what we have to do?

-- 
Cheers,

Ian C

Reply via email to