Topic
1 reply Latest Post - ‏2013-08-27T04:22:53Z by MaxK
MaxK
MaxK
4 Posts
ACCEPTED ANSWER

Pinned topic PRE style not consistently appplied

‏2013-07-16T03:35:40Z |

I am trying to retrieve a piece of text from a DOORS attribute which consists of a few paragraphs and blank lines between them. I have applies a custom sytle to the RPE element containing the text.

What i have found is that the style is only applied by RPE to the actual paragraphs with text, but not to the blank lines between them. The blank lines (i.e. those with just a carrige return symbol in them) come out in "Normal" style.

As a result, my text is formatted like this (effectively i get a few differently styled paragraphs within the same Text element):

 

texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext¶   <Custom Style>

<Normal Style>

texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext¶    <Custom Style>

<Normal Style>

texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext¶    <Custom Style>

 

This can be a bit annoying if the font size and spacing of the custom style is very different from Normal, as shown above.

 

Anything i've done wrong?

 

Thanks

Updated on 2013-07-16T03:36:42Z at 2013-07-16T03:36:42Z by MaxK
  • MaxK
    MaxK
    4 Posts
    ACCEPTED ANSWER

    Re: PRE style not consistently appplied

    ‏2013-08-27T04:22:53Z  in response to MaxK

    Resolved in v1.2.0.1