This Specification Flow Task will find and replace instances of a Keyword, in selected PDF document pages.
|Title||Changes the Title (not the name) of the task.|
|PDF File|| The full file path to the PDF document to be edited.
Relative paths are resolved to the Specification directory if no prefix is defined.
Accepted prefixes: <Project>, <Specification>, <SpecificationMetadata>, <GroupContent>
|Page Range||Use '*' or leave empty to select all pages.
Also accepts pipebar delimited list of page numbers, e.g. '1|2|3', or a range using a hyphen, e.g. '1-3'.
|Keyword||The Keyword to be replaced.
Keyword replacement is case sensitive.
The Keyword can include spaces.
If the Keyword is matched within a longer word it will still replace the declared string.
|New Keyword||The replacement for the original Keyword.
If replacing text in a paragraph, the New Keyword should be of the same length or shorter than the Keyword. This will stop text overlapping on the next line.
|Keyword Index||The instance of the keyword to replace on the target pages.
Zero (the default value) can be used to replace all instances of the keyword.
This is the index of the Keyword on each page declared in the page range.
This field only accepts a single Keyword Index value. If you would like to replace a different index of the Keyword on each page, you will have to combine multiple instances of this Task.
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\ProductGuide.pdf"||Will remove pages from the ProductGuide.pdf document.|
|Page Range||"*"||Will replace the found Keyword on all pages..|
|Keyword||"Black"||Will find the word Black.|
|New Keyword||"Blue"||Will replace the keyword with the value Blue.|
|Keyword Index||0||Will replace all instances of the keyword on each page.|
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 with Warnings