Book a Demo

Author Topic: Export diagrams to word  (Read 6987 times)

Mirko Sertic

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Export diagrams to word
« 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

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Export diagrams to word
« Reply #1 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:

  • 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

« Last Edit: November 20, 2008, 06:52:34 pm by ofels »

Mirko Sertic

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Export diagrams to word
« Reply #2 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

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Export diagrams to word
« Reply #3 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