This Specification Flow Task will split the given multi-page PDF document into separate files. With one file being generated per page.
Property Name | Description |
---|---|
Title | Changes the Title (not the name) of the task. |
PDF File | The path to the PDF file to export from. |
Split Directory | The path to the folder where the new PDF's will be saved. Otherwise leave empty for the PDF's to be saved to the Specification folder.
If the property results in a folder name that does not exist DriveWorks will create the folder. |
File Name Schema | Define the file name schema for the outputted files. Provide a string and use arguments. '{0}' for the page number and '{1}' for the total page count. Leaving blank will use the original file name followed by page number. |
Overwrite | TRUE to overwrite the image files if they already exist, FALSE to leave alone. |
When this Task is added the properties are static. To be able to build rules on a static property see How To: Change A Static Property To A Dynamic Property.
Property Name | Example Rule | Meaning |
---|---|---|
PDF File | "D:\DriveWorks\DataSheets\ProductGuide.pdf" | Will split the ProductGuide.pdf into individual pages. |
Split Directory | The split PDF will be saved to the Specification folder. | |
File Name Schema | "MySplitPDF{0}of{1}.pdf" | Will export the given page range as:
MySplitPDF1of4.pdf MySplitPDF2of4.pdf MySplitPDF3of4.pdf MySplitPDF4of4.pdf |
Overwrite | TRUE | Will overwrite existing files. |
This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.
Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.
This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.
The status output navigation is as follows:
Success
Success with Warnings
Failed