Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Mirko Sertic on November 20, 2008, 03:30:46 am

Title: Export diagrams to word
Post by: Mirko Sertic on November 20, 2008, 03:30:46 am
Hi@all

I want to export selected diagrams to word. As soon as the diagrams were changed in ea, i want to rerun the export again, so the diagrams are overwritten in word.

Is there already such a functionality available, or if now, how could this be implemented using the automation interface and c#?

Thanks in advance
Mirko
Title: Re: Export diagrams to word
Post by: Oliver F. on November 20, 2008, 06:52:08 pm
Quote
Hi@all

I want to export selected diagrams to word. As soon as the diagrams were changed in ea, i want to rerun the export again, so the diagrams are overwritten in word.

Create a RTF template which only contains diagram information, then run the report over it.
You can now import the RTF into a master Word document as link so if you rerun the report you are able to just update the reference.

For selecting diagrams you have several choices:


Hope that helps.

Oliver

Title: Re: Export diagrams to word
Post by: Mirko Sertic on November 21, 2008, 01:37:07 am
Thank you for this feedback.

Is there a function available to iterate over the whole model, and export every model diagram as a gif file to filesystem with the same directory structure as the model packages?

Could this be done using the automation interface?

Regards
Mirko
Title: Re: Export diagrams to word
Post by: Oliver F. on November 21, 2008, 10:12:16 pm
Quote
Is there a function available to iterate over the whole model, and export every model diagram as a gif file to filesystem with the same directory structure as the model packages?

Could this be done using the automation interface?

You could generate a HTML report and then just remove anything else :)
Automation interface is your friend here.

Note that you can also create a RTF document which only includes the diagram images.

Oliver