Book a Demo

Author Topic: Generating RTF from Saved Documents  (Read 5098 times)

michael_rainwater

  • EA User
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Generating RTF from Saved Documents
« on: April 07, 2005, 07:41:54 am »
I am generating a number of very useful RTF documents from EA.  This is very useful, and the documents meet my needs by using a Master document in Word (described in the help file).

My only problem is that I need to reduce the number of steps required to export the RTF and update the links in my MS Word documents.  I would like to use the Automation interface for this.  I should be able to generate the RTF documents from all the Saved Documents (in resource view), but I can't find an automation interface that supports this.

In EA, you can right-click the saved document in the resource view and select "Auto Generate Document."  This is what I want to automate.  I want to do this step for all saved documents in the resource view.

Does anyone have a suggestion??

thomaskilian

  • Guest
Re: Generating RTF from Saved Documents
« Reply #1 on: April 07, 2005, 09:13:10 am »

michael_rainwater

  • EA User
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: Generating RTF from Saved Documents
« Reply #2 on: April 07, 2005, 02:58:32 pm »
Thanks for the reply.  I did download the try this Addin.  However, it does not completely meet my needs.

It does not actually create the same set of RTF output (which is the whole point).  This is a code example of how to use the automation API to create your own set of documentation.

I really am looking for a much simpler solution to just automate a task that EA does very well.  It already creates the RTF output I need in the exact form I need it.

I just want to find a way to cause this action to occur in an automated fashion.  I was hoping the API might expose this (as it does for generating HTML) and I simply haven't found it.

Perhaps I should re-post this as a suggestion.

Any other ideas??

thomaskilian

  • Guest
Re: Generating RTF from Saved Documents
« Reply #3 on: April 08, 2005, 01:34:30 am »
You mean you want to start the RTF report generation via the automation interface?

michael_rainwater

  • EA User
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: Generating RTF from Saved Documents
« Reply #4 on: April 08, 2005, 06:44:18 am »
Quote
You mean you want to start the RTF report generation via the automation interface?


Exactly!  My plan is to write a script that will be executed automatically when the EAP is checked into Source Control.  It will 1) get the EAP, 2) run the report generatation for each saved documents in the resources view, 3) Refresh the MS Word document(s) by refreshing those links and calculating the Table of Contents, and 4) Check both the RTF and DOC files back into source control.

In this way, the documents will always be updated and match the current model stored in the same folder in source control.

thomaskilian

  • Guest
Re: Generating RTF from Saved Documents
« Reply #5 on: April 11, 2005, 12:18:44 am »
« Last Edit: April 11, 2005, 12:56:20 pm by thomaskilian »