Book a Demo

Author Topic: 5.0 RTF Generator  (Read 5798 times)

snupea

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
5.0 RTF Generator
« on: June 02, 2005, 10:37:31 am »
I am new to EA 5.0 and the RTF Generator.  I have been using EA 4.0 for over a year now.  Yesterday I upgraded to 5.0 and decided to see what kind of reports the RTF Generator would produce.

I am getting lots of lines like "...insert Tagged Value content here...", "...insert Tagged Value content here...", "...insert Connector content here...", "...insert Source content here...", "...insert Element content here...", and "...insert Target content here...".

It looks like every place that I have any of these items, instead of placing the value, it is placing the above text.

Has anyone had this problem?  If so, then how did you fix it.   ???

Thanks!

kgish

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: 5.0 RTF Generator
« Reply #1 on: June 02, 2005, 10:57:44 am »
If you place the cursor between the yellow tags and click on the right mouse button, you should see a list of items which can be inserted.

BSchuyler

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: 5.0 RTF Generator
« Reply #2 on: June 02, 2005, 11:53:04 am »
To produce RTF documents we have been using the Model Document (Class) method within EA.  Version 5.0 of EA does not allow you to select the new RTF Templates when you generate the document from the Model Document.  It only allows you to select a "Style" of <basic>, <format> or any Legacy style templates which have been created.  Is there any way to select the New RTF Templates when generating RTF documents under this method?  I realize you can select New RTF Templates when you generate the RTF document from a package, but the Model Document method allows you to group packages together to produce a single RTF document.  I would like to be able to apply a new RTF template against the Model Document (Class) to produce my final RTF document.

Any help or suggestions on this topic would be most helpful.   ???

Regards,
Bill

"Your vision will become clear only when you can look into your own heart. Who looks outside, dreams; who looks inside, awakes." -- Carl Jung

davisford

  • EA User
  • **
  • Posts: 63
  • Karma: +0/-0
    • View Profile
Re: 5.0 RTF Generator
« Reply #3 on: June 03, 2005, 03:36:35 pm »
you have to open up the template in the template editor, find the text where it says something like "...insert Tagged Value content here..." and erase it and place a reference to a real element in there.

michael_rainwater

  • EA User
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: 5.0 RTF Generator
« Reply #4 on: June 06, 2005, 11:15:37 am »
Quote
Is there any way to select the New RTF Templates when generating RTF documents under this method?


I asked this earlier as well.  I was told that they are working on it.  I have been playing with the new RTF generator as well.  I cannot use it because I generate all my documents from the Model Document class as well.  

It looks promising... But I haven't gotten it to generate a style close enough to the old style for me.  Ideally, I would like to be able to:

  • Generate RTF documents using the Model Document class as I can now.
  • Use the Resource view to save my documents just as I can now.  This saves the association of a Model Document to a particular template.
  • Fix problem so that RTF files use relative path instead of absolute path.  When multiple people generate doc, I need it to work.  I need path relative to the EAP file.
  • Provide a template that very, very closely matches the current style.  I like the style, I just need to tweak it very slightly.  I would prefer to start with a known quantity.


These small things would really make my RTF generation much, much better.

Until Model Documents are supported, I won't be able to use the new features at all.   :'(

mdavidmathews

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: 5.0 RTF Generator
« Reply #5 on: July 13, 2005, 09:57:51 am »
The 4.0/legacy report output printed a table containing the contents of the Communication Messages dialog box. (To open this box, click Digram-> Sequence Communication Messages when you are in a communication diagram).

I want to create a table format in the 5.0 RTF template that will print this same table in the report. I have two problems:

1) Which fields do I include in the the table?  For example, I want to display the message number and to and from components, which are column in the Communication Messages dialog post. There is no help to document literally hundreds of fields in the template editor.  I spent awhile searching by trail and error, without finding the fields, if they indded exist.

2) Where should I add the table in the template? I want it to display under communication diagrams only, not all diagrams.  Is this possible?
« Last Edit: July 13, 2005, 09:59:42 am by mdavidmathews »

turn2

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: 5.0 RTF Generator
« Reply #6 on: August 22, 2005, 12:30:06 pm »
Quote
If you place the cursor between the yellow tags and click on the right mouse button, you should see a list of items which can be inserted.


So how can you add to that list?
I have some custom tags in the code, and I'd like EA to be able to 'see' them when generating documentation. I've tried by adding tag definitions, however, this doesn't seem to work.
An example of how to add a custom tag would be a great help.
Thanks.