The Cover Page
Introduction
The element <coverpage> specifies a cover page to use on the appended document. You can specify:
- A file to use as the cover page.
- A stampfile for applying stamps to the cover page.
The table below describes the elements of <coverpage>.
Contents of the <coverpage> Element
Element | Level | Pro | Required | Content |
---|---|---|---|---|
<appendparam version=”1.0″> | Top | ✔ | Topmost element, contains entire parameter spec | |
⇔ <coverpage> | 2 | Pro | Cover page information | |
<file> | 3 | Pro | ✔ | Text: Specifies name and path of the cover page file |
<stampfile> | 3 | Pro | Text: Name and path of the stampfile to use |
XML Code Sample
<appendparam version="1.0"> <!-- . Indicates skipped sections --> <!-- . --> <!-- . --> <coverpage> <file> /fullpath/coverpage.pdf </file> <stampfile> /fullpath/stampcover.txt </stampfile> </coverpage> <!-- . --> <!-- . --> <!-- . --> </appendparam>
Elements for <coverpage>
file
Specifies the path and file name of a PDF file to be the cover page. A cover page file can be more than one page. The cover pages should not contain any bookmarks. AppendPDF Pro adds its own bookmark for the cover page.
stampfile
Specifies the path and file name of a stamp file specifically for the cover page. Stamp files can be used to define stamps for customized company information for the cover page. Refer to Stamp Files for more information about stamp files.
Note: Cover pages, Table of Contents pages, and body pages each use an independent stamp file. A <stampfile> listed in the <coverpage> section is applied only to the cover pages and will not affect the TOC or the body pages of the output PDF.
Example
Specifying a cover page and a stamp file
For clarity, the following example does not use full path names. We recommend that you use full path names for all files.
<appendparam version="1.0"> <!-- . Indicates skipped sections --> <!-- . --> <!-- . --> <coverpage> <file> ./samples/pdfs/lettersample.pdf </file> <stampfile> ./samples/stampfiles/letterstamp.txt </stampfile> </coverpage> <!-- . --> <!-- . --> <!-- . --> </appendparam>