Author Topic: API: RTF report and DocumentGenerator  (Read 3734 times)

zalbina

  • EA User
  • **
  • Posts: 149
  • Karma: +0/-0
    • View Profile
API: RTF report and DocumentGenerator
« on: December 02, 2012, 09:13:00 pm »
Hello,

I've generated a RTF report and would like to add to it couple diagrams and other info. Can I open the rtf file and write to it or merge couple trf files using EA.DocumentGenerator or something similar to it?

Thanks.

Konrad Wieland

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: API: RTF report and DocumentGenerator
« Reply #1 on: December 03, 2012, 11:40:31 pm »
When using the DocumentGenerator class you can specify which template you want to use when generating elements, packages,, diagrams, etc.

When you do not want to generate the document again, you could use the "InsertLinkedDocument" operation to inlcude other already generated rtf reports.

zalbina

  • EA User
  • **
  • Posts: 149
  • Karma: +0/-0
    • View Profile
Re: API: RTF report and DocumentGenerator
« Reply #2 on: December 05, 2012, 09:37:24 pm »
OK. I got it. But I did not understand how it works technically. How can I relate some existing rtf to some object with GUID and link it to another rtf document?

Thanks.