Fields in Header/Footer in RTF documents

857 views
Skip to first unread message

nestevao

unread,
Jan 24, 2012, 1:55:00 PM1/24/12
to sparx-enterprise-archite...@googlegroups.com
Hi,

Is it possible to insert fields in the header or footer of RTF templates?
How?

Thanks.

[original message]

de Faye@localhost Sethor de Faye

unread,
Jan 24, 2012, 3:26:00 PM1/24/12
to sparx-enterprise-archite...@googlegroups.com
It is quite simple

Right-click in your document (or template) and select :
"Edit"

Than select: "Edit page header/footer"

You show also select "view" header/footer"


[original message]

Graham_Moir

unread,
Jan 25, 2012, 6:07:00 AM1/25/12
to sparx-enterprise-archite...@googlegroups.com
Also, if I remember correctly, if you are using a Master Document/Model Document setup, you need to apply the Header/Footer to the Master Document template if you want the same headers/footers throughout the whole generated document.  
[original message]

nestevao

unread,
Jan 30, 2012, 1:48:00 PM1/30/12
to sparx-enterprise-archite...@googlegroups.com
Thanks for the replies but I think I was not clear in my question :(

I know how to edit header and footer but I would like to include imported fields from the model.

For instance, I want to include in the header the Package Name
I may include the Package section in the header and then insert the name field but, the section would start and end on the header and no longer be available for the rest of the document. If I include the Package section on the document body, the package section fields aren't available on header/footer.

Thanks

[original message]

Proske@localhost Michael Proske

unread,
Mar 5, 2012, 10:53:00 AM3/5/12
to sparx-enterprise-archite...@googlegroups.com
The answer is no. You can't put any model information in hedaer / footer. To solve this issue i put the neccessary information in text in the template so it is generated like <EA Field EA_MODEL_NAME>xxxx<EA Field> and use EA_MODEL_NAME in Header or Footer. After generation of the document i have a word plugin that first searches for EA Field and extract the information to word document information fields and then replace the EA_MODEL_NAME with a filed referencing the informatino field. A little bit complex but if you have developed it once it is very flexible and you can put any information in header and footer.
[original message]

Graham_Moir

unread,
Mar 5, 2012, 11:44:00 AM3/5/12
to sparx-enterprise-archite...@googlegroups.com

2B363429352D23460 wrote:
The answer is no. You can't put any model information in header / footer....


Well, just to be completely explicit, �you CAN put project constants defined within the EA model into the header or footer, �but other model information is problematic.

[original message]

Proske@localhost Michael Proske

unread,
Mar 7, 2012, 10:59:00 AM3/7/12
to sparx-enterprise-archite...@googlegroups.com
Graham you are right but project constants are so general that there use is limited
[original message]
Reply all
Reply to author
Forward
0 new messages