Book a Demo

Author Topic: Paragraph numbering in generated RTF  (Read 4633 times)

mrblack12

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
    • View Profile
Paragraph numbering in generated RTF
« on: February 18, 2016, 08:59:14 pm »
Hi,

I'm tryinh to figure out how to set the right paragraph numbering in my RTF template. So far I've come with editing the style of Heading 1 through 4, which looks to be in order, at least in the template designer. But the output shows that somehow the generator skipped over levels 3 (e.g. 1.1.1) and 4 (e.g. 1.1.1.1), going straight to level 5 but contuining to number from the first instance of level 2 (e.g. 1.1.1.1.1)

Does anyone know how to fix this? Should I do something with lists and override?

Thanx in advance.
Rick


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Paragraph numbering in generated RTF
« Reply #1 on: February 18, 2016, 09:07:35 pm »
Hi Rick,

This is a tricky one, but it is possible (in the end)
The trick is that all the styles should use the same list and override.

In the example MDG you can download from my website should be a style sheet with working header levels up to level 9
http://bellekens.com/2015/11/12/tutorial-generate-complex-documents-from-enterprise-architect-with-a-two-step-semi-automated-approach/

Geert

mrblack12

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
    • View Profile
Re: Paragraph numbering in generated RTF
« Reply #2 on: February 18, 2016, 09:27:50 pm »
Geert,

thanks for the tip. I will have a look at your style sheet.

Rick