Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started 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
-
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:
- Have all diagrams in one model tree package which you are interested in
- Tag the diagrams you are interested in with a tagged value and create a search on those. The search results can then be documented (through search dialog or model views)
- Write an external program which is handling the selected diagrams (though the multi selectio features are limited anyway so I do not know whether it is reflected through automation)
Hope that helps.
Oliver
-
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
-
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