Book a Demo

Author Topic: Changing Heading Style for RTF Report  (Read 3647 times)

kcahill

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Changing Heading Style for RTF Report
« on: February 18, 2004, 11:34:02 am »
Is there a way to change the heading styles assigned to the elements within a package? The Help documentation doesn't explain the list of different heading styles or how that works.   My intent is to change what EA says is a heading 2 and make it a heading 3.   I'm trying to get away from having to tweak the headings in the report or Master document, because EA sets a heading style number (2) and I might want it to be heading style 3. Is there a way to change those assigned headings in EA?   Thanks.

Tjerk

  • EA User
  • **
  • Posts: 231
  • Karma: +1/-0
    • View Profile
Re: Changing Heading Style for RTF Report
« Reply #1 on: February 18, 2004, 11:51:02 pm »
Hi Katherine,

You can do this by tweaking the RTF template(s) in the resource window. You'll have to learn some RTF though. If you need some more details, please indicate and I will try to look up some details.

Tjerk

gza

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Changing Heading Style for RTF Report
« Reply #2 on: February 19, 2004, 08:48:43 am »
I have about the same question, is there a way to change the RTF templates and then use them in other projects? I don't relish the idea of making the formatting changes in each EA file, and I can't control which template some projects are started with.

Tjerk

  • EA User
  • **
  • Posts: 231
  • Karma: +1/-0
    • View Profile
Re: Changing Heading Style for RTF Report
« Reply #3 on: February 20, 2004, 12:38:50 am »
Try the following:

1) Use the menu Tools\Export reference data and select "Templates - RTF Style" and "Templates - RTF Style Detail" for export. This creates a XML file with the styles, you can then use Tools\Import reference data in another repository to import the styles.

2) If you're using EAP files, you can open them using MSAccess and search for the t_rtf table. There you'll find entries for template elements. The default template just mentions the element names, the non-default are prepended with "template name#".

You might then copy that information by hand or automatically (you'll have to write a small tool using ODBC for that).

For both methods, you'll have to be sure that the RTF documentation that is created uses the template(s) that you wanted them to use (mostly the self created).

Greetings,
Tjerk

kcahill

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Changing Heading Style for RTF Report
« Reply #4 on: February 20, 2004, 10:00:48 am »
Ah yes, thank you! I really appreciate you taking the time to respond with such detail.