Book a Demo

Author Topic: Wrong style used for notes comments  (Read 9285 times)

fausto bertoli

  • EA User
  • **
  • Posts: 65
  • Karma: +0/-0
    • View Profile
Wrong style used for notes comments
« on: February 21, 2012, 11:44:09 pm »
I have seen a very strange behaviour of the document module.
We have inserted comments into packages and elements notes, and modified that many times,
Now I have changed the notes style and font sixe to be used to generate rtf document.
After generation I realize that most notes are written into the document in two different styles:
a part of the note is in the default style and size (times new roman 10)
the remaining part, that is always the final part is written using the assigned style and font.
Are aware on such bug?

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: Wrong style used for notes comments
« Reply #1 on: February 22, 2012, 05:03:25 am »
I remember an issue like that, but was under the impression it had been fixed - which version of EA are you using ?

Also, there is the document (template) option "Use style defined in template for notes"  which should override any specific element formatting.

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Wrong style used for notes comments
« Reply #2 on: February 23, 2012, 08:21:03 am »
If only it was clear what "Use style defined in template for notes" meant.

See the discussion at Document options "Use style defined in template"
« Last Edit: February 28, 2012, 06:02:06 am by skiwi »
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

fausto bertoli

  • EA User
  • **
  • Posts: 65
  • Karma: +0/-0
    • View Profile
Re: Wrong style used for notes comments
« Reply #3 on: February 23, 2012, 07:50:08 pm »
I have already used the ckecbox you mention.
Our EA release i 8.2

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: Wrong style used for notes comments
« Reply #4 on: February 23, 2012, 09:35:34 pm »
Build 864 was the last build for 8.x   -  are you using that ?
if so the behaviour should be as mentioned in the release notes for build 864

Style for notes fields in generated documentation improved.
•Paragraph spacing, alignment and indents. Font face and size will always be copied from template.
•Font color and styles such as bold or italics can be copied from template if 'Use Style Defined in Templates for notes' is set.

Build 904 also has a fix
•Bulleted and Numbered lists from notes now be generated with the paragraph spacing specified by the template
« Last Edit: February 23, 2012, 09:35:56 pm by Graham_Moir »

fausto bertoli

  • EA User
  • **
  • Posts: 65
  • Karma: +0/-0
    • View Profile
Re: Wrong style used for notes comments
« Reply #5 on: February 24, 2012, 12:23:51 am »
sorry our build release is 864

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: Wrong style used for notes comments
« Reply #6 on: February 24, 2012, 04:00:54 am »
Then is it time to submit a bug report ?

fausto bertoli

  • EA User
  • **
  • Posts: 65
  • Karma: +0/-0
    • View Profile
Re: Wrong style used for notes comments
« Reply #7 on: February 27, 2012, 11:47:53 pm »
In fact that is what we did.

Jens Nötzold

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Wrong style used for notes comments
« Reply #8 on: March 01, 2012, 10:07:53 pm »
I have problems with styles in comments from EA 8 til 9.2 (922).
Today I analyzed the frustrating problem as it leads to unusable RTF-output. This is what I found out:

Whenever a note contains HTML-characters like ">" or "&gt" the RTF-output for the following paragraphs is corrupt.
 
The same is with lists in notes. They are internally converted to HTML-lists an cause corruption, too.

Seems, that RTF generator is not able to convert html.
Would be good to add this to your bug report, as it'll help developers to fix it.

cheers,

Michael Proske

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Wrong style used for notes comments
« Reply #9 on: March 06, 2012, 12:24:01 am »
In the 8.xxx line of EA there was a bug with default style for notes that it only worked with one paragraph in the notes. If there was a second paragraph these and the following were formatted as is.

Switch to version 9.x