Insert Header Footer
AutomatR.Word.InsertHeaderFooter
The "Insert Header Footer" activity in AutomatR is part of the Word activities package, allowing you to add header and footer content to a Word document. This activity enhances the customization of Word documents by incorporating specific header and footer details.
Properties
Name | Description |
---|---|
Input | |
Footer Content | Specifies the content to be added to the footer of the Word document. String variables containing the desired footer content. |
Header Content | Specifies the content to be added to the header of the Word document. String variables containing the desired header content. |
Header Size | Specifies the size of the header in centimeters (e.g., 0.5cm). Float variables containing the header size. |
Footer Size | Specifies the size of the footer in centimeters (e.g., 1cm). Float variables containing the footer size. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. Enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Insert Header Footer" activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
How to use:
- Drag and drop the "Insert Header Footer" activity onto the workflow.
- Configure the properties by specifying the desired header and footer content, along with their respective sizes.
- Optionally, configure the delay and customize the display name.
- Execute the workflow to add the specified header and footer content to the Word document.
Example:
Consider an example where the "Insert Header Footer" activity is used to add a custom header and footer to a Word document:
Insert Header Footer:
Display Name: "Custom Header Footer"
Header Content: "Confidential Document"
Footer Content: "Page Number: [Page]"
Header Size: 1.0
Footer Size: 1.5
In this example, the activity adds a header with the content "Confidential Document" and a footer with the content "Page Number: [Page]" to the Word document. The header has a size of 1.0cm, and the footer has a size of 1.5cm.