The import element is used to import pages from another PDF document into the current document.
Use the <page> element to move off the last imported page.
Syntax:
Element | Attributes | Value | Notes for Element/Attribute/Value |
|---|---|---|---|
import | file | value | Path of PDF file. |
page | String | Selected pages. | |
cache | boolean | Default is true. | |
file-exist | boolean | Default is false. | |
page-exist | boolean | Default is false. | |
file-mandatory | boolean | Default is false. | |
background | color | Default is Current page background color. | |
transform | a,b,c,d,e,f | Apply custom affine transform. | |
directory | value | Optional. Import all PDF files in specified directory. All pages in each PDF file are imported. |
Example
<import file="standard-contract.pdf"/>
<import file="standard-collection.pdf" page="2"/>