Book a Demo

Author Topic: Document generation / report - outline level body  (Read 3750 times)

Monsieur

  • EA User
  • **
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Document generation / report - outline level body
« on: June 05, 2015, 11:05:57 pm »
Hello folks,

When I generate a document all my text is considered to be level 1 outline except headings which are at the correct level.
I don't understand why since if i go in the properties of the text, it is considered as Body but i can still see it on my navigation pan.
I am generating in RTF since i use the docgenerator class, but i got the same issue generating in rtf in the classic generator.

This problem does not exist in docx generation.


Have some one the same issue?
Can we use the docgenerator class with docx?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Document generation / report - outline level b
« Reply #1 on: June 05, 2015, 11:23:40 pm »
There's an option somewhere on the template properties called "Adjust heading levels". Have you tried changing that?

Geert

Monsieur

  • EA User
  • **
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: Document generation / report - outline level b
« Reply #2 on: June 05, 2015, 11:33:44 pm »
Quote
There's an option somewhere on the template properties called "Adjust heading levels". Have you tried changing that?

Geert

That option supposedly act on headings only no?
Even "Normal" Style appears in the navigation bar as a lvl1 style.

Welll I tried, and he does not work. thanks for the hint

Do you have the same issue?
(I run a Standard Model Report in RTF from the root node, and i got the crazy problem (you must look in the navigation panel in the word document so see it))
« Last Edit: June 05, 2015, 11:37:53 pm by damien.reche »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Document generation / report - outline level b
« Reply #3 on: June 06, 2015, 03:34:13 pm »
I sometimes have a similar issue when using template fragmenst. A body section that takes the level of the previous heading.

Adding extra newlines before or after the template fragment solves that problem.

Geert
« Last Edit: June 06, 2015, 03:34:35 pm by Geert.Bellekens »

Monsieur

  • EA User
  • **
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: Document generation / report - outline level b
« Reply #4 on: June 09, 2015, 12:04:04 am »
Quote
I sometimes have a similar issue when using template fragmenst. A body section that takes the level of the previous heading.

Adding extra newlines before or after the template fragment solves that problem.

Geert

Okay, i am here to give some conclusion:
THIS IS [size=22]NOT [/size]WORKING IN RTF....

but, use an EA 11.1 (or higher) and get a DocX output and TADDDAAAAA. (All with the EXACT SAME script (just changed rtf to docx at save))



EA --> *.* MAGIC *.*