If I create a document with one paragraph, then apply some formating to
that paragraph (e.g. change the font size), the resulting content.xml
file represents the paragraph like this:

   <text:p text:style-name="P1">test</text:p>

If I then break this into two paragraphs, this becomes:

   <text:p text:style-name="P1">te</text:p>
   <text:p text:style-name="P1">st</text:p>

If I then remove the paragraph break, the result is:

<text:p text:style-name="P1"><text:span text:style-name="T1">te</text:span>st</text:p>

with

<style:style style:name="P1" style:family="paragraph" style:parent-style-name="Standard"> <style:text-properties fo:font-size="16pt" style:font-size-asian="16pt" style:font-size-complex="16pt"/>
  </style:style>
  <style:style style:name="T1" style:family="text">
<style:text-properties fo:font-size="16pt" style:font-size-asian="16pt" style:font-size-complex="16pt"/>
  </style:style>

Am I right in thinking this is a bug, and that the result should be identical
to the original form?

Originally observed using a modified version of 680m205, but also observed
using a binary download of 2.2.0-RC4.

Martin

P.S. Just tried this using a 2.0.4 release, and that did merge the text
styles as I would expect.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • [sw-discussion... Martin Whitaker
    • Re: [sw-d... Frank Meies - Sun Germany - Development - Software Engineer

Reply via email to