1
General Board / Re: Inserting document author in RTF
« on: December 31, 2008, 01:37:49 pm »
I have a way of generating a front page of a document that can display name, author, version, status etc. for the document. I do it using virtual documents, as follows.
Hope this helps.
- [1] I have a package containing the virtual document and I name this package with the title I want for the document. I have at least two model documents in the virtual document.
[2] The first is the document front page. I set the package for this model document to be the virtual document package. In the template for this I layout the front page, with company logos etc. I can then report on the elements of this package on the front page, such as name, author, version, status etc. I also define the header and footer in here. The template is reusable across all documents.
[3] The second model document can contain the body of the report. However, I often have several sections with differing templates if I want to treat diagrams differently in different sections, for example.
[4] To manage this, I have a common second model document and template that generates the table of contents and a glossary. There is a restriction that the document generating the TOC must have at least one header in it, so putting a corporate glossary in this section solves this.
[5] The rest of the document is then done in separate model documents, depending on the template I want to use for each section.
Hope this helps.