Book a Demo

Author Topic: RTF Style Templates  (Read 4648 times)

JonathanBB

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
RTF Style Templates
« on: August 12, 2003, 03:57:18 am »
I have tried hard to find any documentation on how to use the RTF Style Editor to modify an RTF Style Template - but can't find anything.

Can anyone point me at a user guide or FAQ please?

For example, I would like to modify the "Sequence Line Item" definition to pick up the Constraint property from a message in a Sequence Diagram. I tried the obvious, which is to replace the text:
\cell #FROMOBJECT#
with:
\cell #CONSTRAINT#
to see if the resulting table cell contains the Constraint text. But the result is that the cell just contains the text:
"#CONSTRAINT#"

So how do I find out what keywords/lables are available for each type of model element? and can I add new ones? and where would I find a definition of the RTF syntax that is used for each Template?

Any info greatfully received. ::)


Thanks,
Jonathan

smurrah

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: RTF Style Templates
« Reply #1 on: August 15, 2003, 10:49:08 am »
Jonathan,

I would be interested to know what you have done so far with editing the template style documents.  I am assuming that you are editing these files outside of EA.

Are you able to change things like font, wording, tabbing, etc.?  Or are you just interested in changing what is extracted from EA?

- Stan

DMT

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Re: RTF Style Templates
« Reply #2 on: August 15, 2003, 11:32:57 am »
I'd like to figure out a way to print constraints without having the carriage returns get stripped off.  My nicely laid out constraint descriptions get all mushed together in the RTF document, making them unreadable. (I'm describing calculations, although simple, require multiple lines to keep readable.)

Anyone have any ideas on this one?