Book a Demo

Author Topic: Accessing EA from a Word Document  (Read 3910 times)

cheesman

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • I could murder a pint
    • View Profile
Accessing EA from a Word Document
« on: January 12, 2007, 08:43:40 am »
I have been writing some VBA to extract data from a EA repository and format a document to my own requirements.  I'm making some progress but it's slow!

Can anyone offer some examples or good documentation?


«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Accessing EA from a Word Document
« Reply #1 on: January 12, 2007, 09:25:32 am »
Last time I did this was back in EA version 4. Since then the RTF template feature was added to the product and I've muddled through with that.

I think it might be worth pursuing a custom documentation system, but only if you are going to use it a lot (giving you lots of return on the development effort), or only use it for a small number of very specific reports (or limiting the development effort so you don't need vast return).

I know that does not help, but perhaps it will assist with keeping the work in perspective.

David
No, you can't have it!

cheesman

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • I could murder a pint
    • View Profile
Re: Accessing EA from a Word Document
« Reply #2 on: January 12, 2007, 07:13:10 pm »
Thanks David

I just think it will be less effort than trying to get the RTF doc system to do what I want.

I've already spent many frustrating hours screaming at the computer over this.

Cliff

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Accessing EA from a Word Document
« Reply #3 on: January 13, 2007, 10:45:00 am »
Quote
I've already spent many frustrating hours screaming at the computer

Yes, I tried that method too. For a while I thought it was at least helping me release my frustrations. Once I got over that I hoped it would at least release the computer's frustrations. Now I'm really not sure what it accomplishes.

Still, it remains one of the leading methodologies.
No, you can't have it!

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: Accessing EA from a Word Document
« Reply #4 on: January 14, 2007, 01:53:26 pm »
I vaguely recall you can pull in EA's RTF document via bookmark inclusions in an MS Word document.

Define an EA template checking all the boxes which "dumps all" to some ugly, non formatted document (the idea here is just to get all of your model's contents into an RTF doc).  Then, from your nicely constructed MS Word documents - include bookmarked references EA creates in the RTF and suck these into your MSWord doc.

I did play with the above some time ago (and can't find my notes - nor any doco in the EA help)....

If I stumble across a working example - I'll post it

Cheers,
DAvid.
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

larsgk

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Accessing EA from a Word Document
« Reply #5 on: January 15, 2007, 12:20:54 am »
We've been using the RTF export feature and linking diagrams dynamically into a MS Word document. It works quite well for us, but then we only use it for diagrams.
It is available in the project browser by selecting the context menu on a package. Click "Documentation->Diagrams only report...". Type a dummy file name (e.g. C:\dummy.rtf) and be sure to unclick "Embed diagrams in document".
Now, all your diagrams will be exported to C:\images as individual picture files.