This Specification Macro Task merges a set of Word documents into another Word document. Its main use is to create a multi-line Word quotation.
|Title||Changes the Title (not the name) of the task.|
|Target File Name||File Name of the target parent document.|
|Files to insert||Pipebar (|) delimited list of files to insert, in the order they are required to be inserted - Must include full file paths, or paths relative to the parent file.|
|Insertion Paragraph Number||The paragraph number that will be replaced with the imported files.|
|Gap||Number of blanks lines between inserted files|
|Show Word||Word Application will be visible if set to True|
|Extension for Saving File||Pipebar (|) delimited list of extensions to save the file as (e.g. .pdf|.xps|.txt).|
Paragraphs in Word Documents are counted as each body of text or line space. To work out where to insert your files simply count the number of line spaces and bodies of text until you are at the desired location.
When this Task is added the properties are static. To be able to build rules on a static properties see How To: Change A Static Property To A Dynamic Property.
|Property Name||Example Rule||Example Result||Meaning|
|Target File Name||DWSpecificationFullPath&"\Quote.docx"||C:\Main\MyDocuments\Specifications\Parent 121\Quote.docx||This is the Full File Path of the target parent document in which the other Word Documents will be merged.|
|Files To Insert||DWSpecificationFullPath&"\Image.docx|" &DWSpecificationFullPath&"\Image.docx"||C:\Main\MyDocuments\Specifications\Child 122\Image.docx|C:\Main\MyDocuments\Specifications\Child 123\Image.docx||This is the Full File Paths of the files to insert in a pipebar (|) delimited list in the order in which they will be inserted in the target Parent.|
|Insertion Paragraph Number||5||5||This is the paragraph number that will be replaced with the files to insert.|
|Gap||1||1||This is the number of blank lines between the inserted files.|
|Show Word||TRUE||TRUE||TRUE will show the application when the Specification is running. FALSE would not.|
|Extension For Saving File||".PDF"||This will save the created file as a PDF.|