Add Word Bookmarks to Analysis Template
Add bookmarks from a word template to an analysis template
Minimum Origin Version Required: 2016 SR0
1. Add bookmarks from a specific Word Template to a specific analysis template
string TemplatePath = system.path.program$ + "Samples\Batch Processing\Sensor Analysis.ogw";
string wordPath$ = system.path.program$ + "Samples\Batch Processing\Sensor Analysis Report.dotx";
word2ogw word:=wordPath$ bookmark.Sel:={fittedGraph, RSquare} mode:=template template:=TemplatePath$;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Word template | word |
Input string |
|
Specify the Word Template (.DOCX, .DOCM, .DOC, .DOTX, .DOTM, .DOT) to be loaded. |
Select Bookmarks | bookmark |
Input TreeNode |
|
Specify the bookmark entries to be added to analysis template by treenode:
|
Add to | mode |
Input int |
|
Specify the source of analysis template workbook to add Word bookmarks. Option list:
|
Analysis Template | template |
Input string |
|
This is available only when Add to is selected as Load Analysis Template. Specify the analysis template to be loaded for adding Word bookmarks. |
This function will add bookmarks from a word template to an analysis template. Batch processing with such analysis template can output results to a Word Template for reporting.
Keywords:batch processing