Book a Demo

Author Topic: RTF Report: Package data in master document?  (Read 3422 times)

Jonathan Lubach

  • EA User
  • **
  • Posts: 40
  • Karma: +0/-0
    • View Profile
RTF Report: Package data in master document?
« on: August 24, 2012, 10:07:57 pm »
Hi folks,

is it possible to print package-dependent content into the header/footer of the master document?

We have an EA-Model which contains ~20 packages. For each of this package we create one single RTF report but with the same set of templates for each RTF report (so that the reports for the 20 packages look equal concerning the structure).
The header/footer of each RTF report shall contain some tagged values of the corresponding package.

Example:
Package 1 (tagged value = "abc") -> RTF Report File 1, footertext = "abc"
Package 2 (tagged value = "xyz") -> RTF Report File 2, footertext = "xyz"
and so on


As far as I understand, the master document only allows adding project constants to its template content.

Any ideas?

Jonathan
Enterprise Architect Corporate Edition v12.1
Windows 7 64bit

Michael Proske

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: RTF Report: Package data in master document?
« Reply #1 on: September 20, 2012, 08:02:52 pm »
What you want is not possible with EA. I have written myself a solution that writes fields in the generated output like <EA_TITLE>Package.name<EA_TITLE/> and uses <EA_TITLE> in the footer of the document and then use a word macro that searches for EA_TITLE in the documnent and replace it in the text.
I have tried other solutions but i have found nothing sufficient.

Jonathan Lubach

  • EA User
  • **
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: RTF Report: Package data in master document?
« Reply #2 on: September 20, 2012, 10:07:00 pm »
Quote
What you want is not possible with EA. I have written myself a solution that writes fields in the generated output like <EA_TITLE>Package.name<EA_TITLE/> and uses <EA_TITLE> in the footer of the document and then use a word macro that searches for EA_TITLE in the documnent and replace it in the text.
I have tried other solutions but i have found nothing sufficient.

I think I will have to do something like this, too. This was also the way I thought I would have to do it finding no other way using EA.

Thanks.
Jonathan
Enterprise Architect Corporate Edition v12.1
Windows 7 64bit