| skip navigation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
PDF Document Management Software, Services & Support |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
docs-appendpdfpro-sourcepdfsSpecifying the source files <sourcepdfs>The element <sourcepdfs> specifies the input files, page ranges, and Table of Contents entry text for the appended document. You can specify more than one input file. To specify multiple page ranges from one file, specify an inputpdf, using the same file, for each page range. The table below describes the Elements specifying <sourcepdfs>. Contents of the <sourcepdfs> element
DTD Elements<!ELEMENT sourcepdfs (inputpdf+)> XML Code SampleSpecifying an input file. Elements for <sourcepdfs>InputpdfSpecifies the details of an input file. FileSpecifies the path and filename of an input PDF file. Startpage, EndpageSpecifies the start page and end page of a range of pages to extract and append to the output document. The example above will extract pages X through 10 of the input document. TOCEntry — AppendPDF Pro only
Specifies the text to use in the Table of Contents to identify this range of pages. The TOCEntry is only used if you include a TOC page, see Specifying the Table of Contents <TOC> (AppendPDF Pro only). If you want to append an inputpdf without an entry in the Table of Contents, use an empty TOCEntry tag as shown below: <TOCEntry/> Note: If you are using a TOC page and do not include a <TOCEntry> element for an inputpdf, the Title in the Document Properties of the input file will be used as the TOCEntry. If the file does not have a Title set, the filename of the inputpdf will be used. Usage notes for the elements of <sourcepdfs>Specifying input filesYou can specify more than one file by including multiple sets of <inputpdf> tags. Specifying page rangesThe following notes apply to specifying page ranges:
ExamplesFor clarity, the following examples may not use full path names. We recommend that you use full path names for all files. The following examples are from the sample files included with AppendPDF Pro. Including the entire fileTo include the entire file, do not specify a page range: To explicitly specify all pages in a file and a TOC entryOther optionsThe following options are not in the sample files, they are shown as further examples. Including one page of a fileTo include only page 7 of a file: Including a range to the end of the fileTo include from page 7 to the end of the file: Including the last page onlyTo specify the last page when you are not sure what number it will be: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||