Book a Demo

Author Topic: RTF template - Adding Data to Header/Footer  (Read 5861 times)

morsor

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
  • insert text here
    • View Profile
RTF template - Adding Data to Header/Footer
« on: October 27, 2006, 03:37:41 am »
It does not seem possible to add Model data to the header and footer of the RTF template.

Is there a simple solution I am missing?

I'm on build 799

mark.myers

  • EA User
  • **
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: RTF template - Adding Data to Header/Footer
« Reply #1 on: August 09, 2007, 07:43:39 pm »
I'd like to be able to do this as well.
Is it possible, anyone?
Cheers, Mark

Biges

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: RTF template - Adding Data to Header/Footer
« Reply #2 on: December 10, 2008, 08:48:35 pm »
Seems it is still not possible :(

Yves C

  • EA User
  • **
  • Posts: 33
  • Karma: +1/-1
  • I love YaBB 1G - SP1!
    • View Profile
Re: RTF template - Adding Data to Header/Footer
« Reply #3 on: December 10, 2008, 09:51:23 pm »
The only way to do it I've found is to define a RTF template outside EA with header, footer, styles, ... and to import it in your RTF template at the beginning. Use File/import to do this.
Yves

Biges

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: RTF template - Adding Data to Header/Footer
« Reply #4 on: December 10, 2008, 10:02:36 pm »
Quote
The only way to do it I've found is to define a RTF template outside EA with header, footer, styles, ... and to import it in your RTF template at the beginning. Use File/import to do this.

But can you make this way so that the header included e.g. the package name?

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • ArenĀ“t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: RTF template - Adding Data to Header/Footer
« Reply #5 on: December 11, 2008, 03:18:38 am »
Quote
It does not seem possible to add Model data to the header and footer of the RTF template.

Is there a simple solution I am missing?

I'm on build 799

You should upgrade to 834 if possible. 799 is way too old to be able to give comprehensive help and lots of things have changed of which it is hard to track whether they are available/fixed in your build or not.

Regarding your issues I have stated in another post that it is propably not possible to have model data in the header/footer of a document.
Model data is documented in a tree hierarchy (eg. package->elements->attributes, package -> diagram -> diagram elements,...) which is broken if you put fields from that hierarchy in a global section of the document (like the headers/footers are) thus taking away from their scope.
This will almost certainly lead to unpredictable results.

Oliver

Oliver

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: RTF template - Adding Data to Header/Footer
« Reply #6 on: December 12, 2008, 03:31:04 pm »
What Oliver is saying is generaly true - EA does not directly support placing fields in the Header Footer (By the way to View/Edit the Header Footer in the RTF Editor - use: Edit | Header Footer).  However there is a "trick" you can experiment with that allows say the Package.Name - for the root package - to be placed in the Header footer of a Master Document. Set up a Master Document with a single root Package  - select the Section - Package - View the header footer - there is the context option to place the Package.Name (no Package.Element fields though). No gauruntees on this - it is not a supported feature - but you might like to experiment. In general though, due to the change in data across a page it would not make sense to allow users to place sub-root-package data in the Header footer.