On 28.08.20 06:45, Manfred Rebentisch wrote:
Hello,
I wrote a tool in C++ to work on content.xml directly to replace some
placeholders without using the libreoffice libraries.

I wonder about some XML constructions.

In a Writer document I write:

Manfred Rebentisch<tab>{{today}}

The XML:

<text:p text:style-name="P9">Manfred Rebentisc<text:span
text:style-name="T6">h<text:tab/>{{today}}</text:span></text:p>

Why is the "h" separated? T6 is:

     <style:style style:name="T6" style:family="text">
       <style:text-properties officeooo:rsid="000aa20f"/>
     </style:style>


this is to make your document easier to compare. see http://blogs.msdn.com/brian_jones/archive/2006/12/11/what-s-up-with-all-those-rsids.aspx

Is it possible to store the document in a cleaner way?

no.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to