Book a Demo

Author Topic: print contents of the <<model document>> elements  (Read 2812 times)

pfsarli

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
print contents of the <<model document>> elements
« on: April 08, 2008, 11:53:46 pm »
Hello...
I have been working a lot with the new virtual document feature of EA. Right now I am developing RTF Templates, one for each <<model document>> class, as instructed by the Virtual Document section of the EAUserGuide. I wish to print the contents of my <<model document>> element (notes, etc...) but for some reason that I can´t quite figure out, these attributes simply don´t show up in the sections panel within the RTF template editor. Could somebody kindly point me in the right direction?
Thanks a lot !

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: print contents of the <<model document>> eleme
« Reply #1 on: April 09, 2008, 12:37:11 am »
You are in the right direction.

There is no way to document notes and other attributes as they do not belong to the object model you are documenting.
See a document model object as a virtual element with no representation in the model.
The RTF generator steps through all the attributes (note: not considering the model document itself) and documents those according to the template associated.

Workaround: If you add a model package as documentable attribute you can add notes and linked documents to it which are then considered.
I always end up by creating certain meta packages including headers, project cover pages and TOC.

Oliver