Element import

LANSA Integrator

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.
A comma separated list of pages or page ranges.
10
10,14-16,23
Default. blank means all 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"/>