2.7.71 word2ogw
Contents
Menu Information
Add Word Bookmarks to Analysis Template
Brief Information
Add bookmarks from a word template to an analysis template
Additional Information
Minimum Origin Version Required: 2016 SR0
Command Line Usage
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$;
X-Function Execution Options
Please refer to the page for additional option switches when accessing the x-function from script
Variables
| 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. |
Description
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.
Algorithm
References
Related X-Functions
Keywords:batch processing