Break a PDF document in two parts through the indicated page.
1 pdf.reader.slice
<pdf.reader.slice page='page'>
<input_pdf_reader /> ?
</pdf.reader.slice>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Apage | integer | The number of the page from which the original document will be broken. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Einput_pdf_reader | pdf.reader | The PDF object which you want to process. |
Returns | |
---|---|
Type | Description |
ArrayList | Returns an array with tge list of the two resulting documents. |
Example
Break a PDF document of 10 pages in a document of 4 and another of 6.
Copy
<pdf.reader.slice size='5'> <pdf.reader> <file type='absolute' name='src_plain.pdf' /> </pdf.reader> </pdf.reader.slice>