Author Topic: Outline level issue with RTF documents  (Read 2329 times)

robinch

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Outline level issue with RTF documents
« on: June 24, 2014, 02:20:47 am »
[edit]Duplicate of http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1402931132[/edit]

Hi,

When generating RTF documents, it seems that the template engine inserts \outlinelevel0 control words for every replacement it performs. This causes replacement text in the output document to be at the same outline level as level 1 Headings.

In my opinion, inserted RTF content should be at the outline level of the current style rather than forced to level 1 Headings.

How to reproduce:
  • Create a new project based on a template (e.g. Basic UML 2 Technology/Domain Model).
  • Generate RTF documentation using the "Model Report" template.
  • Open the generated document in Word in outline view mode.
I may have missed something but the only workaround I have found is to post-process the generated documents to remove all occurrences of \outlinelevelN found after the definition of the stylesheet.

Best regards,

Robin
« Last Edit: June 24, 2014, 06:06:53 pm by rfarine »