Element - import
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. true. |
|
file-exist |
boolean |
Default. false. |
|
page-exist |
boolean |
Default. false. |
|
file-mandatory |
boolean |
Default. false. |
|
background |
color |
Default. 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"/>