Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: zalbina on December 02, 2012, 09:13:00 pm

Title: API: RTF report and DocumentGenerator
Post by: zalbina 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.
Title: Re: API: RTF report and DocumentGenerator
Post by: Konrad Wieland 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.
Title: Re: API: RTF report and DocumentGenerator
Post by: zalbina 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.