Book a Demo

Author Topic: Help with RTF Style Templates  (Read 5777 times)

Keith Bollwahn

  • EA User
  • **
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Help with RTF Style Templates
« on: October 30, 2002, 12:17:56 pm »
I'm taking my first look at the 3.50 release and generally like what I see. However, there is something I need some help with.

When I generate an RTF report, EA places the object's scope, stereotype, and object type in front of the notes for the object like this

public «textbox» GUIElement:

For some of the documents I publish for my client, this information is not needed and gets in the way.

I've tried poking around in the RTF Style Template to find a way to exclude this information but don't know enough about RTF codes and how the are used by EA.  Can anybody point me in the right direction?

Thanks

Tjerk

  • EA User
  • **
  • Posts: 231
  • Karma: +1/-0
    • View Profile
Re: Help with RTF Style Templates
« Reply #1 on: October 31, 2002, 01:21:25 am »
Hi Keith,

I have the same problem. I don't know about the 3.50 release (I still use 3.10.504), but up till 3.10 it wasn't possible to split the complex fields (and delete some elements from such a field) used in the RTF generation. EA uses tags (e.g. #ATTRIBUTE#) that are replaced with the model data. But there is only a limited set of tags available for the RTF generation.

For the HTML generation, however, there are a lot more tags available (see web templates). This means that the HTML generation can be customised much more. There is also the possibility to use XSL stylesheets, maybe they enable you to parse XML model data to RTF. I would like to work on such a XSL stylesheet, but do not have the time right now (has anybody already worked with the XSL stylesheets, maybe even made the stylesheet as described above  ;) ?).

Anybode else, has the RTF generation been changed from 3.10 to 3.50?

Tjerk

gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Help with RTF Style Templates
« Reply #2 on: October 31, 2002, 03:54:06 am »
Hi,

THere is no way at the moment of specifically removing particular fields (eg. object scope, stereotype etc.). These were added as they were considered important missing information - if it causes a problem I could probably add in an option on the RTF dialog to hide 'extended object details' or something like that. We do have plans to 'templateize' all this - but it wont happen until next year. The required tables etc. have been added to the model - but the actual functionality is a while away.

There werent that many changes in the RTF generation between 3.10 and 3.50 - mainly the extended object details - some constraint details, sorting and nesting of elements, operation behaviour and some tidying up. If you do an RTF report in 3.10 from a model - then upsize and generate in 3.50 you can compare the two documents in Word and get some idea of the differences.

Let me know if the option to exclude the 'extended details' would help,

Geoff Sparks

Keith Bollwahn

  • EA User
  • **
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Re: Help with RTF Style Templates
« Reply #3 on: October 31, 2002, 04:28:31 am »
Thanks,

That would be very helpful.

Keep up the great work on a fine product.