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
Input
string
Specify the Word Template (.DOCX, .DOCM, .DOC, .DOTX, .DOTM, .DOT) to be loaded.
TreeNode
Specify the bookmark entries to be added to analysis template by treenode:
int
Specify the source of analysis template workbook to add Word bookmarks. Option list:
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.
BatchProcess
Keywords:batch processing