Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: robinch on June 24, 2014, 02:20:47 am

Title: Outline level issue with RTF documents
Post by: robinch 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:
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