<?xml version="1.0"?>
<OriginStorage Label="" Display="652"><XFname NodeID="11" Label="Name" DataID="300">batchProcess</XFname><xFdescription NodeID="11" Label="Description" DataID="310">Batc&amp;h Processing:Batch processing with Analysis Template to generate summary report</xFdescription><attachTo NodeID="13" Label="Attach to Origin Object" Combo="None|Auto|Column|Sheet/Layer|Book/Graph" DataID="320" Show="0">1</attachTo><author NodeID="11" Label="Author" DataID="314"></author><AutoDependent NodeID="10" Label="Auto Compile Dependent Files" DataID="451">1.</AutoDependent><UsageCtxt NodeID="268435456" Label="Usage Context" DataID="329"><LabTalk NodeID="10" Label="Labtalk" DataID="357">1.</LabTalk><WksSel NodeID="10" Label="Worksheet Selection" DataID="350">0.</WksSel><GrObj NodeID="268435456" Label="Graphic Object Events" DataID="330" Use="0"><InitAnchors NodeID="10" Label="Initialization" DataID="339">1.</InitAnchors><Move NodeID="10" Label="Move" DataID="331">1.</Move><Moving NodeID="10" Label="Moving" DataID="332">0.</Moving><Resize NodeID="10" Label="Resize" DataID="333">0.</Resize><Resizing NodeID="10" Label="Resizing" DataID="334">0.</Resizing><Delete NodeID="10" Label="Delete" DataID="335">0.</Delete><Select NodeID="10" Label="Select" DataID="336">0.</Select><Unselect NodeID="10" Label="Unselect" DataID="337">0.</Unselect><BtnClick NodeID="10" Label="Button Click" DataID="338">0.</BtnClick><Rotate NodeID="10" Label="Rotate" DataID="340">0.</Rotate><Rotating NodeID="10" Label="Rotating" DataID="341">0.</Rotating><Skew NodeID="10" Label="Skew" DataID="342">0.</Skew><Skewing NodeID="10" Label="Skewing" DataID="343">0.</Skewing><EditEv NodeID="10" Label="Edit" DataID="344">0.</EditEv><Editing NodeID="10" Label="Editing" DataID="345">0.</Editing><NewSelection NodeID="10" Label="New Selection" DataID="346">0.</NewSelection><DeletePart NodeID="10" Label="Delete Part" DataID="347">0.</DeletePart><Keyboard NodeID="10" Label="Keyboard" DataID="348">0.</Keyboard><ObjType NodeID="13" Label="Type" Combo="Rect|Line" DataID="349">0.</ObjType></GrObj><Theme NodeID="268435456" Label="Theme" DataID="386"><UseInDialog NodeID="10" Label="Support Saving Themes in Dialog" DataID="372">1</UseInDialog><ShowInMenu NodeID="10" Label="Show Themes as Popups in Menu" DataID="352">0</ShowInMenu><SaveInBook NodeID="10" Label="Support Saving to Book" DataID="387">0.</SaveInBook><SaveInSheet NodeID="10" Label="Support Saving to Sheet" DataID="388">0.</SaveInSheet></Theme><mainmenu NodeID="268435456" Label="Menus" DataID="365" Use="1" BranchCombo="None|Main Menus|Context Menus|Both|Context Menus 1|Context Menus 2|Context Menus 3|Context Menus 4"><AddAsTool NodeID="10" Label="Add As Tool" DataID="366">0.</AddAsTool><ClassOp NodeID="10" Label="Class Operation" DataID="367">0.</ClassOp><GetN NodeID="13" Label="Auto GetN Dialog" Combo="None|Simple GetNBox|GetNGraphBox with Preview|GetNImageBox|Wizard|Custom" DataID="371">1.</GetN><CustomDialog NodeID="11" Label="Custom Dialog Function" DataID="395" Show="0"></CustomDialog><DlgFromMenu NodeID="10" Label="Open Dialog from Menu for Option Index" DataID="374">1.</DlgFromMenu><checkMenu NodeID="10" Label="Check Menu" DataID="470">0.</checkMenu></mainmenu><windows NodeID="268435456" Label="Windows" DataID="450" Use="1"><graph NodeID="10" Label="Graph" DataID="368">1</graph><worksheet NodeID="10" Label="Worksheet" DataID="369">1</worksheet><matrix NodeID="10" Label="Matrix" DataID="370">1</matrix><report NodeID="10" Label="Report" DataID="360">1</report><none NodeID="10" Label="Layout" DataID="359">0.</none><none NodeID="10" Label="None" DataID="361">0.</none></windows></UsageCtxt><outTree NodeID="10" Label="Generate LabTalk Tree upon execution" DataID="373">1.</outTree><askOutResultsLog NodeID="10" Label="Add Checkbox to Auto GetN Dialog about Results Log Output" DataID="393">0.</askOutResultsLog><outResultsLog NodeID="13" Label="Output to Results Log upon execution" Combo="None|All|Report Tree|First Input|First Output|All Outputs|All Except Trees" DataID="394">0.</outResultsLog><customButtons NodeID="11" Label="GetN Dialog Custom Buttons" DataID="391"></customButtons><syntax NodeID="41" Label="Command Line Usage" DataID="305" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="2-18">1. Repeatedly Import into Active Analysis Template Window 
string fname$, path$="C:\Data\"; 
findfiles f:=fname$ e:="*.dat"; // findFiles will default to get from path$ 
batchProcess batch:=active fill:="Linear Fit" method:="impAsc" theme:="batchImporting" append:="FitLinearCurve1"; 
2. Load Analysis Template 
string fname$, path$="C:\Data\"; 
findfiles f:=fname$ e:="*.dat"; 
batchProcess batch:=template fill:="Linear Fit" append:="FitLinearCurve1" name:="C:\Data\LinearFit.ogw" method:="impAsc" theme:="batchImporting";
</syntax><vars NodeID="268435456" Label="Variables" Branch="1"><v1 _XFUNCTION_VAR="1" RepeatID="1"><name NodeID="11" Label="Name" DataID="10">batch</name><description NodeID="11" Label="Label" DataID="20" Show="0">Batch Processing Mode</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">int</type><valdata NodeID="13" Label="Data" DataID="50" Combo="" Enable="1">1</valdata><comboString NodeID="11" Label="Control" DataID="70">Radio:active:Repeatedly Import into Active Analysis Template Window|template:Load Analysis Template</comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69"></optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">0.</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Batch Processing Mode</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">Specify the batch processing mode.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" TypeID="65543" BlobArrElementaryType="8" xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="bin.base64">V2l0aCB0aGlzIG1vZGUsIG9yaWdpbiB3aWxsIGltcG9ydCBkYXRhIGZpbGVzIHJlcGVhdGVk
bHkgdG8gYSBwcmVsb2FkZWQgYW5hbHlzaXMgdGVtcGxhdGUgYW5kIHRoZW4gc2VuZCB0aGUg
cmVzdWx0cyBvZiBlYWNoIGFuYWx5c2lzIHByb2Nlc3MgdG8gdGhlIFN1bW1hcnkgd29ya3No
ZWV0LgBXaXRoIHRoaXMgbW9kZSwgb3JpZ2luIHdpbGwgbG9hZCB0aGUgdGVtcGxhdGUgZm9y
IE4gdGltZXMgKE4gaXMgdGhlIG51bWJlciBvZiB0aGUgZGF0YSBmaWxlcyB3aGljaCBuZWVk
IHRvIGJlIHByb2Nlc3NlZC4pLiBFYWNoIHRpbWUgaXQgd2lsbCBwZXJmb3JtIGFuYWx5c2lz
IHdpdGggdGhlIGltcG9ydGVkIGRhdGEgZmlsZSBhbmQgdGhlbiBzZW5kIHRoZSByZXN1bHRz
IHRvIHRoZSBTdW1tYXJ5IHdvcmtzaGVldC4gDQAA</comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">バッチ処理モード</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">バッチ処理モードを指定してください。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Modus Stapelverarbeitung</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Legt den Modus der Stapelverarbeitung fest.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v1><v2 _XFUNCTION_VAR="1" RepeatID="2"><name NodeID="11" Label="Name" DataID="10">name</name><description NodeID="11" Label="Label" DataID="20" Show="0">Analysis Template</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">&lt;unassigned&gt;</valdata><comboString NodeID="11" Label="Control" DataID="70">...File:[Workbook Template (*.ogw)] *.ogw|:|</comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">T:1</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">0.</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Analysis Template</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">It is available only when the Batch Processing Mode is selected as Load Analysis Template. It can be used to specify the analysis template.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">分析テンプレート</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">これは「バッチ処理モード」で「分析テンプレートのロード」が選択された場合のみ指定可能です。分析テンプレートを指定するのに使ってください。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Analysevorlage</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Diese Option ist nur verfügbar, wenn der Modus der Stapelverarbeitung für Analysevorlage laden ausgewählt ist. Sie kann verwendet werden, um die Analysevorlage festzulegen.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v2><v3 _XFUNCTION_VAR="1" RepeatID="3"><name NodeID="11" Label="Name" DataID="10">_sep1</name><description NodeID="11" Label="Label" DataID="20" Show="0"></description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">&lt;unassigned&gt;</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">P:4</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">0.</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v3><v4 _XFUNCTION_VAR="1" RepeatID="4"><name NodeID="11" Label="Name" DataID="10">data</name><description NodeID="11" Label="Label" DataID="20" Show="0">Data Source</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">int</type><valdata NodeID="13" Label="Data" DataID="50" Combo="" Enable="1">0</valdata><comboString NodeID="11" Label="Control" DataID="70">import:Import From Files|existing:Use Existing XY Datasets</comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69"></optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">0.</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Data Source</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">Specify what kind of data source will be used.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" TypeID="65543" BlobArrElementaryType="8" xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="bin.base64">RGF0YSB3aWxsIGJlIGltcG9ydGVkIGZyb20gZmlsZXMuAFVzZSBleGlzdGluZyBkYXRhc2V0
cyBpbiB0aGUgcHJvamVjdC4gDQAA</comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">データソース</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Datenquelle</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Legt fest, welche Art von Datenquelle verwendet wird.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v4><v5 _XFUNCTION_VAR="1" RepeatID="5"><name NodeID="11" Label="Name" DataID="10">last</name><description NodeID="11" Label="Label" DataID="20" Show="0">Use Import Setting in Workbook</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">int</type><valdata NodeID="13" Label="Data" DataID="50" Combo="" Enable="1">1</valdata><comboString NodeID="11" Label="Control" DataID="70">0|1</comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69"></optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">0.</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Use Import Setting in Workbook</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">Specify whether to use the last data importing settings. It is available only when Data Source is Import From Files.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">ワークブックのインポート設定を利用</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">これまで最後に使われたインポート設定を使うかどうか指定してください。「データソース」で「ファイルからインポート」が選ばれたときのみ利用できます。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Importeinstellungen in Arbeitsmappe verwenden</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Legt fest, ob die zuletzt verwendeten Einstellungen des Datenimports verwendet werden sollen. Diese Option ist nur verfügbar, wenn für Datenquelle Import aus Dateien ausgewählt ist.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v5><v6 _XFUNCTION_VAR="1" RepeatID="6"><name NodeID="11" Label="Name" DataID="10">fname</name><description NodeID="11" Label="Label" DataID="20" Show="0">File List</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">fname$</valdata><comboString NodeID="11" Label="Control" DataID="70">...Files:ASCII</comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">M:2-12;T:1</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">0.</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">File List</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">Specify the data files which will be imported into the Data Sheet.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">ファイルリスト</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">データシートにインポートされるデータファイルを指定してください。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Dateiliste</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Legt die Datendateien fest, die in das Datenblatt importiert werden.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v6><v7 _XFUNCTION_VAR="1" RepeatID="7"><name NodeID="11" Label="Name" DataID="10">iy</name><description NodeID="11" Label="Label" DataID="20" Show="0"></description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">XYRange</type><valdata NodeID="44" Label="Data" DataID="50"><X NodeID="35" DataID="51">&lt;active&gt;</X><Y NodeID="35" DataID="52">&lt;active&gt;</Y><ED NodeID="35" DataID="53">&lt;active&gt;</ED></valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">I:0x00000008;A:0</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">0.</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">It is available only when Use Existing XY Datasets has been selected from Data Source drop-down list. It specifies the xy range for batch processing.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">これは「データソース」のドロップダウンリストで「既存のXYデータセットを使う」が選択された場合のみ指定可能です。バッチ処理のXYデータ範囲を指定します。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Diee Option ist nur verfügbar, wenn Verwende bestehenden Datensatz in der Auswahlliste Datenquelle ausgewählt ist. Sie legt den XY-Bereich für die Stapelverarbeitung fest.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v7><v8 _XFUNCTION_VAR="1" RepeatID="25"><name NodeID="11" Label="Name" DataID="10">id</name><description NodeID="11" Label="Label" DataID="20" Show="0">Dataset Identifier</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">None</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69"></optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">25</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Dataset Identifier</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v8><v9 _XFUNCTION_VAR="1" RepeatID="8"><name NodeID="11" Label="Name" DataID="10">method</name><description NodeID="11" Label="Label" DataID="20" Show="0">Import Method</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">ImportWizard</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">R:0;V:0</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">8</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Import Method</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">It can only be accessed from LabTalk scripts. Specify the method to import the data files.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">インポート方法</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">これはLabTalkスクリプトからのみアクセスできます。データファイルをインポートするための方法を指定してください。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Importmethode</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Auf diese Option kann nur von LabTalk-Skripts aus zugegriffen werden. Legt die Methode zum Importieren der Datendateien fest.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v9><v10 _XFUNCTION_VAR="1" RepeatID="9"><name NodeID="11" Label="Name" DataID="10">theme</name><description NodeID="11" Label="Label" DataID="20" Show="0">Theme</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">&lt;auto&gt;</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">V:0</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">9</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Theme</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">It is available only when Method is selected as an importing X-Function. Specify the theme file to import the data files.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">テーマ</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">これは「方法」で「インポートXファンクション」が選択された場合のみ指定可能です。データファイルをインポートするためのテーマファイルを指定してください。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Design</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Diese Option ist nur verfügbar, wenn die Methode importierende X-Funktion ausgewählt ist. Legt die Designdatei zum Importieren der Datendateien fest.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v10><v11 _XFUNCTION_VAR="1" RepeatID="10"><name NodeID="11" Label="Name" DataID="10">filter</name><description NodeID="11" Label="Label" DataID="20" Show="0">Filter</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">&lt;auto&gt;</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">V:0</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">10</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Filter</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">It is available only when Method is selected as ImportWizard. Specify a filter to import data files.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">フィルタ</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">これは「方法」で「インポートウィザード」が選択された場合のみ指定可能です。データファイルをインポートするためのフィルタを指定してください。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Filter</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Diese Option ist nur verfügbar, wenn die Methode Importassistent ausgewählt ist. Legt einen Filter zum Importieren der Datendateien fest.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v11><v12 _XFUNCTION_VAR="1" RepeatID="11"><name NodeID="11" Label="Name" DataID="10">hint_script</name><description NodeID="11" Label="Label" DataID="20" Show="0">fname$ is assumed to hold each file name</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">&lt;unassigned&gt;</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">V:0;P:2</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">11</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">fname$ is assumed to hold each file name</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">「frame$」は各ファイル名を保持します。</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Es wird davon ausgegangen, dass fname$ jeden Dateinamen enhält.</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v12><v13 _XFUNCTION_VAR="1" RepeatID="12"><name NodeID="11" Label="Name" DataID="10">script</name><description NodeID="11" Label="Label" DataID="20" Show="0">Labtalk Script</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">&lt;unassigned&gt;</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">M:3-8;V:0</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">12</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Labtalk Script</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">It is available only when Method is selected as Script. These scripts will be used to import the data files.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">LabTalkスクリプト</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">これは「方法」で「スクリプト」が選択された場合のみ指定可能です。これらのスクリプトはデータファイルのインポートに使われます。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Labtalk-Skript</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Diese Option ist nur verfügbar, wenn die Methode Skript ausgewählt ist. Die Skripts werden verwendet, um die Datendateien zu importieren.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v13><v14 _XFUNCTION_VAR="1" RepeatID="13"><name NodeID="11" Label="Name" DataID="10">fill</name><description NodeID="11" Label="Label" DataID="20" Show="0">Data Sheet</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">&lt;unassigned&gt;</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">T:1</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">13</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Data Sheet</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">Specify the source data worksheet in the analysis template.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">データシート</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">分析テンプレート中のソースデータワークシートを指定します。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Datenblatt</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Legt das Quelldatenarbeitsblatt in der Analysevorlage fest.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v14><v15 _XFUNCTION_VAR="1" RepeatID="14"><name NodeID="11" Label="Name" DataID="10">append</name><description NodeID="11" Label="Label" DataID="20" Show="0">Result Sheet</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">ToAppend</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">T:1</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">14</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Result Sheet</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">Specify analysis result sheet in the analysis template.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">結果シート</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">分析テンプレート中の分析結果シートを指定します。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Ergebnisblatt</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Legt das Analyseergebnisblatt in der Analysevorlage fest.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v15><v16 _XFUNCTION_VAR="1" RepeatID="15"><name NodeID="11" Label="Name" DataID="10">hint_append</name><description NodeID="11" Label="Label" DataID="20" Show="0">Contents from Result Sheet will be appended to the Output Sheet in another book, specified below</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">&lt;unassigned&gt;</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">V:2</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">15</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Contents from Result Sheet will be appended to the Output Sheet in another book, specified below</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">結果シートの内容は以下に示す別のブックの出力シートに追加されます。</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Inhalt aus Ergebnisblatt wird an das Ausgabeblatt in einer anderen, unten festgelegten Mappe angehängt.</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v16><v17 _XFUNCTION_VAR="1" RepeatID="16"><name NodeID="11" Label="Name" DataID="10">ow</name><description NodeID="11" Label="Label" DataID="20" Show="0">Output Sheet</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">1</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">Worksheet</type><valdata NodeID="81" Label="Data" DataID="50" _DROP_DOWN_BUTTON_ID="2112|1">[Summary]Results!</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">C:0x0002;I:0x0080</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">16</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Output Sheet</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">Specify the worksheet which results from Result Sheet will be appended to.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">出力シート</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">結果シートから結果が追加される先のワークシートを指定します。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Ausgabeblatt</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Legt das Arbeitsblatt fest, an das die Ergebnisse des Ergebnisblatts angehängt werden.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v17><v18 _XFUNCTION_VAR="1" RepeatID="17"><name NodeID="11" Label="Name" DataID="10">remove</name><description NodeID="11" Label="Label" DataID="20" Show="0">Delete Intermediate Workbook</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">int</type><valdata NodeID="13" Label="Data" DataID="50" Combo="" Enable="1">1</valdata><comboString NodeID="11" Label="Control" DataID="70">0|1</comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69"></optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">17</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Delete Intermediate Workbook</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">Specify whether to delete the intermediate analysis outputs after the process.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">中途生成されたワークブックの削除</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">バッチ処理後に中間解析出力を削除するかどうかを指定します。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Zwischenmappen löschen</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Legt fest, ob die Zwischenergebnisse der Analyse nach dem Prozess gelöscht werden.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v18><v19 _XFUNCTION_VAR="1" RepeatID="18"><name NodeID="11" Label="Name" DataID="10">number</name><description NodeID="11" Label="Label" DataID="20" Show="0">Starting Row of Output Sheet</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">int</type><valdata NodeID="13" Label="Data" DataID="50" Combo="" Enable="1">1</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">G:-#3</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">18</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Starting Row of Output Sheet</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">Specify the beginning row in Output sheet to append results.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">追加の開始行番号</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">結果を追加する出力シートの開始行を指定します。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Startzeile des Ausgabeblatts</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Legt die Startzeile im Ausgabeblatt zum Anhängen der Ergebnisse fest.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v19><v20 _XFUNCTION_VAR="1" RepeatID="19"><name NodeID="11" Label="Name" DataID="10">clear</name><description NodeID="11" Label="Label" DataID="20" Show="0">Clear Output Sheet on Start</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">int</type><valdata NodeID="13" Label="Data" DataID="50" Combo="" Enable="1">1</valdata><comboString NodeID="11" Label="Control" DataID="70">0|1</comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69"></optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">19</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Clear Output Sheet on Start</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">Clear the Output Sheet when starting the process.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">開始時に出力シートをクリア</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">プロセスの開始時に出力シートをクリアします。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Ausgabeblatt beim Start löschen</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Löscht das Ausgabeblatt beim Prozessstart.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v20><v21 _XFUNCTION_VAR="1" RepeatID="20"><name NodeID="11" Label="Name" DataID="10">label</name><description NodeID="11" Label="Label" DataID="20" Show="0">Append Label Rows</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">int</type><valdata NodeID="13" Label="Data" DataID="50" Combo="" Enable="1">0</valdata><comboString NodeID="11" Label="Control" DataID="70">0|1</comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69"></optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">20</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Append Label Rows</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">Specify whether to append label rows of the first Result Sheet to Output Sheet.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">ラベル行の追加 (最初のファイル)</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">最初の結果シートのラベル行を出力シートに追加するかどうかを指定します。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Beschriftungszeilen anhängen</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Legt fest, ob Beschriftungszeilen des ersten Ergebnisblatts an das Ausgabeblatt angehängt werden.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v21><v22 _XFUNCTION_VAR="1" RepeatID="21"><name NodeID="11" Label="Name" DataID="10">hint_label</name><description NodeID="11" Label="Label" DataID="20" Show="0">When Output Sheet is Excel, check this box to append labels from Result Sheet</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">&lt;unassigned&gt;</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">V:2</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">21</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">When Output Sheet is Excel, check this box to append labels from Result Sheet</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">Excelシートに出力する場合、本チェックボックスをオンにして結果シートからラベルを追加してください。</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Wenn das Ausgabeblatt ein Excel-Blatt ist, aktivieren Sie dieses Kontrollkästchen, um Beschriftungen aus dem Ergebnisblatt anzuhängen.</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v22><v23 _XFUNCTION_VAR="1" RepeatID="22"><name NodeID="11" Label="Name" DataID="10">mode</name><description NodeID="11" Label="Label" DataID="20" Show="0">Append by</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">int</type><valdata NodeID="13" Label="Data" DataID="50" Combo="" Enable="1">0</valdata><comboString NodeID="11" Label="Control" DataID="70">Radio:rows:Rows|cols:Columns</comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">V:0;G:</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">22</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Append by</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">Specify the way to append the data to Output Sheet.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" TypeID="65543" BlobArrElementaryType="8" xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="bin.base64">QXBwZW5kIHRoZSBkYXRhIGJ5IHJvdy4AQXBwZW5kIHRoZSBkYXRhIGJ5IGNvbHVtbi4gDQAA</comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">追加モード</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">出力シートにデータを追加する方法を指定します。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Anhängen mit</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Legt fest, wie Daten an das Ausgabeblatt angehängt werden.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v23><v24 _XFUNCTION_VAR="1" RepeatID="23"><name NodeID="11" Label="Name" DataID="10">loopscript</name><description NodeID="11" Label="Label" DataID="20" Show="0">Script after Each Process</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">&lt;unassigned&gt;</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">G:Script;M:3-8</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">23</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Script after Each Process</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">Scripts in this edit box will be executed after each process.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">各プロセス後のスクリプト</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">このボックスに記されたスクリプトは各プロセスの後に実行されます。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Skript nach jeden Prozess</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Skripts in diesem Bearbeitungsfeld werden nach jedem Prozess ausgeführt.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v24><v25 _XFUNCTION_VAR="1" RepeatID="24"><name NodeID="11" Label="Name" DataID="10">endscript</name><description NodeID="11" Label="Label" DataID="20" Show="0">Script at the End</description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30">0.</io><type NodeID="11" Label="Data Type" Combo="double|string|int|vector|vector&lt;string&gt;|vector&lt;complex&gt;|Range|XYRange|XYRangeComplex|XYZRange|matrix|ButtonInfo|LineInfo|TextInfo|EventInfo|MarkerInfo|RectInfo|Column|MatrixObject|Image|DataPlot|Page|GraphPage|WorksheetPage|MatrixPage|GraphLayer|Worksheet|MatrixLayer|TreeNode|FileLink|ReportTree|ReportData|GraphPageBase|Layer" DataID="40">string</type><valdata NodeID="11" Label="Data" DataID="50" Enable="1">&lt;unassigned&gt;</valdata><comboString NodeID="11" Label="Control" DataID="70"></comboString><context NodeID="268435456" Label="Context" DataID="71"></context><optionString NodeID="11" Label="Option String" DataID="69">G:;M:3-8</optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35">24</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256"><description NodeID="11" Label="Display Name" DataID="408">Script at the End</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8">Scripts in this edit box will be executed at the end of the whole process.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932">終了時のスクリプト</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932">このボックスに記されたスクリプトは全バッチ処理後に実行されます。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252">Skript am Ende</description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252">Skripts in diesem Bearbeitungsfeld werden am Ende des gesamten Prozesses ausgeführt.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936"></comboDescription></helpc></v25></vars><modificationLog NodeID="41" Label="Modification Log" DataID="438" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="2-15">CPY 8/9/09, rename Sheet to Append to Result Sheet and shorten description of Clear before Append, also added _sep1 separator line
Max 5/05/2010 ORG-88 Add variable "id", correct theme id, update version to 1.1</modificationLog><codes NodeID="268435456" Label="Code" DataID="324"><rettype NodeID="11" Label="Return Type" Combo="void|int|double|string|vector" DataID="41">void</rettype><header NodeID="45" Label="Header" DataID="323" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="3-15"><![CDATA[//put additional include files here

#include <..\OriginLab\theme_utils.h>

#include <..\OriginLab\Import_Utils.h>
#include <..\OriginLab\fu_utils.h>
#include <..\OriginLab\IWBase.h>
#include <..\OriginLab\AscImpOptions.h>
#include <..\OriginLab\dragNdrop.h>
#include <event_utils.h>		///------ Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
#include <..\OriginLab\WksColLabels.h>

/*------------------------------------------------------------------------------*
* File Name: batchProcess.OXF													*
* Creation: Kenny 04/23/2009													*
* Purpose: OriginC Source C file												*
* Copyright (c) OriginLab Corp. 2009											*
* All Rights Reserved															*
*																				*
* Modification Log:																*
*	Sim 05-12-2009 QA80-13594 MAKE_USER_IMPORT_OC_CODE_COMPATIBLE				*
*	CPY 7/7/09 QA70-13875 PROGRESS_BAR_VISIBILITY_BY_MAIN_WND					*
*	Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT	*
*	Folger 08/28/09 QA80-4588 BATCH_PROCESS_SUPPORT_SPECIFY_START_ROW_FOR_APPENDING
*	Folger 09/02/09 BATCH_PROCESS_APPEND_LABEL_ROWS_SKIP_EMPTY					*
*	Folger 09/02/09 NOT_SHOW_AUTOUPDATE_PROGRESSBOX_FOR_BATCH_PROCESS			*
*	Hong 09/04/09 QA80-14266 SELECT_FILTER_DLG_ADD_NEW_OPTIONS_FOR_BATCH_PROCESSING
*	Folger 09/10/09 BATCH_PROCESS_SHOULD_POPUP_FILTER_SELECTION_DIALOG_AT_MOST_ONCE
*	Folger 09/11/09 BATCH_PROCESS_SUPPORT_GET_FILTER_INFO_FROM_LAST_IMPORT		*
*	Folger 10/19/09 QA80-14459 BATCH_PROCESS_OPEN_OGW_HIDDENLY					*
*	Folger 12/09/09 QA81-14814-P2 FINDXY_TABLE_FAILS_TO_BE_APPENDED_TO_REPORT_SHEET
*	Folger 12/09/09 QA81-14786-S2 SHOW_INTERMEDIATE_BOOKS_AT_THE_END_IF_NOT_DELETE
*	Folger 12/09/09 QA81-14786-S1 MOVE_DELETE_INTERMEDIATE_BOOK_OUT_OF_OPTIONS_BRANCH
*	Folger 12/15/09 QA81-14851 BATCH_XYRANGE_PROCESSING_EVEN_SAMPLING_SUPPORT	*
*	Folger 03/17/10 QA81-15215 BATCH_PROCESS_SHOULD_SKIP_EMPTY_CELLS_WHEN_APPENDING
*	Folger 03/22/10 QA81-14867 BATCH_PROCESS_TOO_MANY_FILES_THAT_FILL_UP_MESSAGE_QUEUE_CRASH_ORIGIN
*	Folger 04/14/10 QA81-15293-P3 DYNA_CHECKBOX_SHOWN_IN_OUTPUT_SHEET_AFTER_SET_RESULT_SHEET_TO_NONE
*	Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER				*
*	Folger 08/20/2010 ORG-933-S2 BATCH_PROCESS_KEEP_ORIGINAL_ACTIVE_SHEET_AFTER_REPORT
*-------------------------------------------------------------------------------*/

//put your own support static functions here

#define STR_DEFAULT_FILE_SPEC			"*.*"
//#define STR_DEFAULT_APPEND_SHEET_NAME	_L("ToAppend")
//#define STR_DEFAULT_SUMMARY_BOOK_NAME	_L("Summary")
//#define STR_DEFAULT_SUMMARY_SHEET_NAME	_L("Results")

#define	STR_IMPORT_METHOD_WIZARD		"ImportWizard"
#define STR_IMPORT_METHOD_LABTALK		"LabTalk"

#define ITEM_SEPARATOR					'|'
#define	STR_ITEM_SEPARATOR				"|"
#define FILE_LIST_SEPARATOR				'\n'
#define STR_PATH_FINAL_BACKSLASH		"\\"

#define STR_IMP_EXP_XF_CATEGORY			"Import and Export"
#define STR_IMP_XF_PREFIX				"imp"

#define CHK_NODE_BEGIN(nodeName)	\
	if ( trGetN.nodeName  )\
	{\
		string& strNodeVal = trGetN.nodeName.strVal;

#define NODE_VAL_IS_EMPTY			( strNodeVal.IsEmpty() )
#define NODE_VAL_IS_FILE			( strNodeVal.IsFile() )
#define NODE_VAL_IS_PATH			( strNodeVal.IsPath() )

#define CHK_NODE_END				}

#define CHK_NODE(nodeName, failCondition, errmsg)	\
	CHK_NODE_BEGIN(nodeName)\
		if ( failCondition )\
		{\
			strErrMsg = errmsg;\
			return false;\
		}\
	CHK_NODE_END
	
static	bool	_check_data_files(TreeNode& trFileName, string& strErrMsg)
{
	return check_imported_file_name(trFileName.strVal, strErrMsg);
}

static bool _check_error(TreeNode& trGetN, int nEventID, LPCSTR lpcszNodeName, string& strErrMsg)
{
	if ( batch_template == trGetN.batch.nVal )
		CHK_NODE(name, !NODE_VAL_IS_FILE, XFERR_INVALID_ANALYSIS_TEMPLATE_NAME )

	///------ Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
	if ( data_import == trGetN.data.nVal )
	{
		if ( !_check_data_files(trGetN.fname, strErrMsg) )
			return false;
	}
	else
	{
		if ( get_input_xyrange_num(trGetN.iy) < 1 )
		{
			strErrMsg = XFERR_AT_LEAST_ONE_XYRANGE;
			return false;
		}
	}
	///------ End BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT

	CHK_NODE(append, NODE_VAL_IS_EMPTY, XFERR_INVALID_APPEND_WKS_NAME )

	CHK_NODE(ow, NODE_VAL_IS_EMPTY, XFERR_INVALID_SUMMARY_WKB_NAME )
	
	if ( trGetN.fill.strVal.Compare(trGetN.append.strVal) == 0 )
	{
		strErrMsg = XFERR_NO_APPROPRIATE_RESULT_SHEET;
		return false;
	}
	
	///------ Folger 08/28/09 QA80-4588 BATCH_PROCESS_SUPPORT_SPECIFY_START_ROW_FOR_APPENDING
	if ( trGetN.number.nVal <= 0 )
	{
		strErrMsg.Format("%d:%s", CER_INVALID_POSITIVE_INTEGER, STR_STARTING_ROW_NUMBER);
		return false;
	}
	///------ End BATCH_PROCESS_SUPPORT_SPECIFY_START_ROW_FOR_APPENDING
	return true;
}

static int _get_imp_XF_list(vector<string>& vsXFnames, DWORD dwUsgCntxt, int nLocation = ORIGIN_PATH_PREFER_USER)
{
	if(UNDEF_FOLDER == nLocation)
		return 0;
	vector<string> vsNames, vsFiles;
	int nFiles = okutil_find_files_from_map(&vsNames, &vsFiles, SUPPORTFILE_XF, 0, &dwUsgCntxt, 1, NULL, NULL, nLocation);
	if(nFiles > 0)
	{
		int nPathType = UNDEF_FOLDER;
		string strCategory;

		for(int ii = 0; ii < nFiles; ii++)
		{
			string strName = okutil_separate_composite_name(vsNames[ii], &nPathType, &strCategory);
			if( strCategory.CompareNoCase(STR_IMP_EXP_XF_CATEGORY) == 0 && strName.Find(STR_IMP_XF_PREFIX) == 0)
			{
				vsXFnames.Add(strName);
			}
		}
		return vsXFnames.GetSize();
	}
	return 0;
}

static bool _init_imp_xf_list(TreeNode& trGetN)
{
	vector<string> vsImpMethods;
	_get_imp_XF_list(vsImpMethods, IDXF_USGCTXT_LABTALK);
	vsImpMethods.Add(STR_IMPORT_METHOD_WIZARD);
	vsImpMethods.Add(STR_IMPORT_METHOD_LABTALK);

	string strImpMethodCombo;
	strImpMethodCombo.SetTokens(vsImpMethods, ITEM_SEPARATOR);

	trGetN.method.SetAttribute(STR_COMBO_ATTRIB, strImpMethodCombo);

	if( vsImpMethods.GetSize() <= 0 )
	{
		ASSERT(FALSE);
		return false;
	}
	
	return true;
}

#define		STR_XF_NAME						"batchProcess"
#define		STR_FILE_LIST					"FileList"

#define		STR_EMPTY_COMBO					" " STR_ITEM_SEPARATOR

static	void	_check_append_pipe_char(string& str)
{
	if ( str.IsEmpty() )
		str = STR_EMPTY_COMBO;
	
	if ( str.Find(ITEM_SEPARATOR) < 0 )
		str += STR_ITEM_SEPARATOR;
}

struct	TemplateSheetsInfo
{
	vector<string>		vsSheetNames;
	vector<bool>		vbHasSheetTheme;
	vector<bool>		vbExcluded;
	Tree				trFilter;
};

static	LPCSTR	_get_template_name_for_update(TreeNode& trGetN)
{
	LPCSTR	lpcsz = NULL;
	if ( batch_template == trGetN.batch.nVal )
		lpcsz = trGetN.name.strVal;
	return lpcsz;
}

static	BOOL	_update_sheet_filter_indices(vector<int>& vnIndices, Worksheet& wks)
{
	vector<uint>	vnUIDs;
	wks.FindIncomingOperations(vnUIDs);
	if ( vnUIDs.GetSize() <= 0 )	
		return FALSE;
	
	vector<int>		vnFilterOutputIDs = { IDST_FIT_CURVES
		, IDST_FIT_RESIDUALS_SCATTER
		, IDST_FIT_RESIDUALS_DATA
		, IDST_FIT_RESIDUAL_ANALYSIS
		, IDST_FIT_RESIDUALS_VERSUS_FITS_DATA
		, IDST_FIT_RESIDUALS_VERSUS_ORDER_DATA
		, IDST_FIT_RESIDUALS_LAG_DATA
		, IDST_FIT_PARTIAL_REGRESSION_DATA
		, IDST_FIT_CONFIDENT_PLOT
		, IDST_PFM_BASELINE_DATA_TABLE
	};
	DWORD			dwMask = 0x0000ffff;
	int				ii = 0;
	for ( ii=0; ii<vnFilterOutputIDs.GetSize(); ++ii )
	{
		vnFilterOutputIDs[ii] &= dwMask;
	}
	
	BOOL			bFilterThis = FALSE;
	for ( ii=0; ii<vnUIDs.GetSize(); ++ii )
	{
		OperationBase& op = Project.GetOperationObject(vnUIDs[ii]);
		if ( op )
		{
			int		nOutputCount = op.GetOutputCount();
			for ( int jj=0; jj<nOutputCount; ++jj )
			{
				DataRange		dr;
				int				nNumRanges = 0;
				if ( op.GetOutput(dr, jj) && dr && (nNumRanges = dr.GetNumRanges()) > 0 )
				{
					for ( int kk=0; kk<nNumRanges; ++kk )
					{
						string		strName;
						int			r1, r2, c1, c2;
						Worksheet	wksTmp;
						dr.GetRange(kk, r1, c1, r2, c2, wksTmp, &strName);
						vector<uint>	vn;
						if ( vnFilterOutputIDs.Find(vn, atoi(strName) & dwMask) > 0 )
						{
							int		nIndex = wksTmp.GetIndex();
							vnIndices.Add(nIndex);
							if ( !bFilterThis && wks.GetIndex() == nIndex )
								bFilterThis = TRUE;
						}
					}
				}
			}
		}
	}
	
	return bFilterThis;
}

static	TemplateSheetsInfo&	_get_template_sheets_info(LPCSTR lpcszName = NULL, LPCSTR lpcszXFName = NULL)
{
	static	TemplateSheetsInfo	l_stTemplateSheetsInfo;
	
	if ( NULL != lpcszXFName )		/// means update
	{
		l_stTemplateSheetsInfo.vsSheetNames.SetSize(0);
		l_stTemplateSheetsInfo.vbHasSheetTheme.SetSize(0);
		l_stTemplateSheetsInfo.vbExcluded.SetSize(0);
		
		WorksheetPage	pgTempWks;
		bool			bSelfDeleted = true;
		if ( NULL == lpcszName )
		{
			pgTempWks = Project.Pages();
			bSelfDeleted = false;
		}
		else
		{
			string		strName = lpcszName;
			if ( strName.IsFile() )
				pgTempWks.Create(lpcszName, CREATE_KEEP_LAYER_NAMES | CREATE_HIDDEN);
		}
		
		if ( pgTempWks )
		{
			Tree		trTemp;
			vector<int>	vnIndices;
			foreach ( Layer lay in pgTempWks.Layers )
			{
				Worksheet		wks(lay);
				vector<uint>	vn;
				BOOL			bFilterThis = vnIndices.Find(vn, wks.GetIndex()) > 0;
								
				l_stTemplateSheetsInfo.vsSheetNames.Add(wks.GetName());
				l_stTemplateSheetsInfo.vbHasSheetTheme.Add(theme_active_book_sheet_storage(trTemp, lpcszXFName, PDS_SHEET, TRUE, NULL, &lay));
				
				if ( bFilterThis || _update_sheet_filter_indices(vnIndices, wks) )
				{
					l_stTemplateSheetsInfo.vbExcluded.Add(true);
					continue;
				}
				
				Grid	grid;
				grid.Attach(wks);
				l_stTemplateSheetsInfo.vbExcluded.Add((WP_SHEET_HIERARCHY & wks.GetSystemParam(0)));
			}
			
			l_stTemplateSheetsInfo.trFilter.Reset();
			fuLoadFilterFromPage(l_stTemplateSheetsInfo.trFilter, pgTempWks, FILTER_TYPE_ASCII);
		}
		
		if ( bSelfDeleted )
			pgTempWks.Destroy();
	}
	
	return l_stTemplateSheetsInfo;
}

static	vector<string>		s_vsFilterFiles;
static	vector<string>		s_vsFilterList;

static	string		_find_filter_file_by_display_name(LPCSTR lpcszFilter)
{
	int		nIndex = s_vsFilterList.Find(lpcszFilter);
	if ( nIndex >= 0 )
		return s_vsFilterFiles[nIndex];
	
	return NULL;
}

static	string		_get_default_filter()
{
	int		nSize = s_vsFilterList.GetSize();
	if ( 0 == nSize )
	{
		ASSERT(false);		/// s_vsFilterList not init yet, should not come here
		return NULL;
	}
	
	return nSize > 1 ? s_vsFilterList[1] : s_vsFilterList[0];
}

static	bool	_has_sheet_theme_in_template(LPCSTR lpcszSheet)
{
	TemplateSheetsInfo&		stTemplateSheetsInfo = _get_template_sheets_info();
	int						nIndex = stTemplateSheetsInfo.vsSheetNames.Find(lpcszSheet);
	
	return nIndex >= 0 && stTemplateSheetsInfo.vbHasSheetTheme[nIndex];
}

static	bool	_load_analysis_template_list(string& strTemplateList)
{
	bool			bRet = dlg_load_registry(STR_XF_NAME, STR_FILE_LIST, strTemplateList);
	strTemplateList.TrimRight(ITEM_SEPARATOR);
	vector<string>	vsInRegistry;
	strTemplateList.GetTokens(vsInRegistry, ITEM_SEPARATOR);
	
	vector<int>		vnPathTypes = {ORIGIN_PATH_USER, ORIGIN_PATH_GROUP};
	for ( int ii=0; ii<vnPathTypes.GetSize(); ++ii )
	{
		string			strPath = okutil_get_origin_path(vnPathTypes[ii]);
		vector<string>	vsFiles;
		FindFiles(vsFiles, strPath, "ogw");
		
		for ( int jj=vsFiles.GetSize()-1; jj>=0; --jj )
		{
			string	strFile = strPath + vsFiles[jj];
			int		nIndex = 0;
			if ( (nIndex = vsInRegistry.Find(strFile)) >= 0 )
				vsInRegistry.RemoveAt(nIndex);
			else
				strTemplateList += STR_ITEM_SEPARATOR + strFile;
		}
	}
	
	return bRet;
}

static	bool	_add_one_item_to_analysis_template_list(LPCSTR lpcszTemplate)
{
	string		strTemplateList;
	_load_analysis_template_list(strTemplateList);
	
	vector<string>	vsTemplates;
	strTemplateList.GetTokens(vsTemplates, ITEM_SEPARATOR);
	int		nIndex = -1;
	if ( (nIndex = vsTemplates.Find(lpcszTemplate)) >= 0 )
	{
		vsTemplates.RemoveAt(nIndex);
	}
	vsTemplates.InsertAt(0, lpcszTemplate);
	
	strTemplateList.SetTokens(vsTemplates, ITEM_SEPARATOR);
	return dlg_save_to_registry(STR_XF_NAME, STR_FILE_LIST, strTemplateList);
}

static	void	_check_update_append_list_value_by_import_list(TreeNode& trGetN)
{
	if ( 0 == trGetN.append.strVal.Compare(trGetN.fill.strVal) )
	{
		string			strCombo;
		vector<string>	vsList;
		trGetN.append.GetAttribute(STR_COMBO_ATTRIB, strCombo);
		strCombo.TrimRight(ITEM_SEPARATOR);		/// MUST !!!
		strCombo.GetTokens(vsList, ITEM_SEPARATOR);
		int				nIndex = (vsList.Find(trGetN.append.strVal) + 1) % vsList.GetSize();
			
		trGetN.append.strVal = vsList[nIndex];
		
		_check_hide_output_controls(trGetN);
	}
}

static	string	_init_sheet_to_import_and_append_list(TreeNode& trGetN)
{
	TemplateSheetsInfo&	stTemplateSheetsInfo = _get_template_sheets_info();
	
	vector<string>	vsList;
	for ( int ii=0; ii<stTemplateSheetsInfo.vsSheetNames.GetSize(); ++ii )
	{
		if ( !stTemplateSheetsInfo.vbExcluded[ii] )
			vsList.Add(stTemplateSheetsInfo.vsSheetNames[ii]);
	}
	
	string		strCombo;
	strCombo.SetTokens(vsList, ITEM_SEPARATOR);
	_check_append_pipe_char(strCombo);
	
	string	strDefault = strCombo.GetToken(0, ITEM_SEPARATOR);
	trGetN.fill.SetAttribute(STR_COMBO_ATTRIB, strCombo);
	int		nIndex = vsList.Find(trGetN.fill.strVal);
	trGetN.fill.strVal = nIndex < 0 ? strDefault : vsList[nIndex];
	
	if ( 0 != strCombo.Compare(STR_EMPTY_COMBO) && batch_active != trGetN.batch.nVal )
		strCombo = STR_NONE + STR_ITEM_SEPARATOR + strCombo;
		
	trGetN.append.SetAttribute(STR_COMBO_ATTRIB, strCombo);
	nIndex = vsList.Find(trGetN.append.strVal);
	trGetN.append.strVal = nIndex < 0 ? strDefault : vsList[nIndex];
	
	_check_update_append_list_value_by_import_list(trGetN);
	
	_init_xf_theme_list(trGetN);
	
	return strDefault;
}

static	string	_init_xf_theme_list(TreeNode& trGetN, LPCSTR lpcszMethod = NULL, LPCSTR lpcszFillSheet = NULL)
{
	vector<string>		vsList;
	vector<string>		vsFileName;
	
	if ( NULL == lpcszMethod )
		lpcszMethod = trGetN.method.strVal;
	if ( NULL == lpcszFillSheet )
		lpcszFillSheet = trGetN.fill.strVal;
	
	okutil_theme_get_class_settings(lpcszMethod, &vsFileName, &vsList, THTYPE_ANALYSIS, true, true, false
	, false
	, _has_sheet_theme_in_template(lpcszFillSheet)
	);
	
	int		nLastUsed = -1;
	if ( (nLastUsed = vsList.Find(STR_LAST_USED)) >= 0 )
		vsList.RemoveAt(nLastUsed);
	string		strCombo;
	strCombo.SetTokens(vsList, ITEM_SEPARATOR);
	_check_append_pipe_char(strCombo);
	
	string	strDefault = strCombo.GetToken(0, ITEM_SEPARATOR);
	if ( trGetN )
	{
		trGetN.theme.SetAttribute(STR_COMBO_ATTRIB, strCombo);
		trGetN.theme.strVal = strDefault;
	}
	
	return strDefault;
}

static	bool	_init_import_wizard_filter_list(TreeNode& trGetN, LPCSTR fname = NULL)
{
	fuGetFilterListForImportWizard(s_vsFilterList, FILTER_TYPE_ASCII, NULL == fname ? trGetN.fname.strVal : fname , _get_template_sheets_info().trFilter.FirstNode ? true : false, &s_vsFilterFiles);
	
	string		strCombo;
	strCombo.SetTokens(s_vsFilterList, ITEM_SEPARATOR);
	_check_append_pipe_char(strCombo);
	
	if ( trGetN )
	{
		trGetN.filter.SetAttribute(STR_COMBO_ATTRIB, strCombo);
		trGetN.filter.strVal = _get_default_filter();
	}
	
	return true;
}

static	void	_check_update_template_file_list(string& strTemplateList)
{
	vector<string>	vsTemplateList;
	strTemplateList.GetTokens(vsTemplateList, ITEM_SEPARATOR);
	
	for ( int ii=vsTemplateList.GetSize() - 1; ii>=0; --ii )
	{
		if ( !vsTemplateList[ii].IsFile() )
			vsTemplateList.RemoveAt(ii);
	}
	
	strTemplateList.SetTokens(vsTemplateList, ITEM_SEPARATOR);
}

static bool _dlg_init(TreeNode& trGetN)
{
	//trGetN.fname.strVal.Empty();
	
	Worksheet	wks = Project.ActiveLayer();
	if ( !wks )
		trGetN.batch.Enable = DISABLE;
	
	/// Init template list
	string		strTemplateList;
	_load_analysis_template_list(strTemplateList);
	_check_update_template_file_list(strTemplateList);
	_check_append_pipe_char(strTemplateList);
	
	string	strCombo;
	trGetN.name.GetAttribute(STR_COMBO_ATTRIB, strCombo);
	trGetN.name.SetAttribute(STR_COMBO_ATTRIB, strCombo + strTemplateList);
	trGetN.name.strVal = strTemplateList.GetToken(0, ITEM_SEPARATOR);
	
	// Init Import Methods
	_init_imp_xf_list(trGetN);
	
	_get_template_sheets_info(_get_template_name_for_update(trGetN), trGetN.method.strVal);
	
	_init_xf_theme_list(trGetN);
	
	_init_import_wizard_filter_list(trGetN);
	
	trGetN.hint_script.Enable = ENABLE_READ_ONLY;
	trGetN.hint_script.SetAttribute(STR_ATTRIB_DISPFMT, DISPLAY_EDITOR_USE_LABEL);
	trGetN.hint_append.Enable = ENABLE_READ_ONLY;
	trGetN.hint_append.SetAttribute(STR_ATTRIB_DISPFMT, DISPLAY_EDITOR_USE_LABEL);
	trGetN.hint_label.Enable = ENABLE_READ_ONLY;
	trGetN.hint_label.SetAttribute(STR_ATTRIB_DISPFMT, DISPLAY_EDITOR_USE_LABEL);
	
	/// Theme List, Filter List, Data Sheet and Result Sheet should not be localized
	trGetN.theme.SetAttribute(STR_OCNTRL_OPTNS, OCNTRLPARAM1_NOT_LOCALIZED);
	trGetN.filter.SetAttribute(STR_OCNTRL_OPTNS, OCNTRLPARAM1_NOT_LOCALIZED);
	trGetN.fill.SetAttribute(STR_OCNTRL_OPTNS, OCNTRLPARAM1_NOT_LOCALIZED);
	trGetN.append.SetAttribute(STR_OCNTRL_OPTNS, OCNTRLPARAM1_NOT_LOCALIZED);

	return true;
}

static	void	_clear_labtalk_variable_fname()
{
	LT_execute("fname$=\"\"");
}

///------ Folger 12/09/09 QA81-14814-P2 FINDXY_TABLE_FAILS_TO_BE_APPENDED_TO_REPORT_SHEET
static	void	_execute_all_dirty_operations()
{
	/******Regard of Yuri's proper fix, I need to roll back the code to call "run -p au" once.*******/
	/******YuI 12/09/09 QA70-14814 FIND_X_FROM_Y_MANUAL_INVOCATION_CONFLICT*******/
	///// The reason to execute "run -p au" twice here is there may exist some operations like FindXY,
	///// which is created by FitterOperation. If change input of parent(FitterOpertion), then both will
	///// become dirty. However, during AutoUpdate of parent, child(FindXY) will be updated to NOT DIRTY.
	///// Then during OnIdle, since input of child is dirty, AutoUpdate will be triggered.
	///// As case in BatchProcess, before OnIdle, data in append sheet will be added to Summary sheet, which
	///// is not ready yet. So, another "run -p au" is needed to trigger AutoUpdate. Ugly, but work ...
	//LT_execute("run -p au;run -p au;");
	LT_execute("run -p au;");
}
///------ End FINDXY_TABLE_FAILS_TO_BE_APPENDED_TO_REPORT_SHEET

///------ Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
#define		BEFORE_BATCH_ANALYSIS_LOOPING(_wksPage, _wksImport, _bUseActivePage, _bNeedAppend, _bHide, _vsBooks) \
			{																									\
				WorksheetPage	_wksPage;																		\
				Worksheet		_wksImport;																		\
				bool			_bUseActivePage = NULL == lpcszAnalysisTemplate;								\
				if ( _bUseActivePage )																			\
				{																								\
					_wksPage = Project.Pages();																	\
					_wksImport = _wksPage.Layers(lpcszFillSheet);												\
				}																								\
																												\
				bool	_bNeedAppend = NULL != lpcszAppend;														\
				if ( _bNeedAppend )																				\
				{																								\
					/*///------ Folger 10/19/09 QA80-14459 BATCH_PROCESS_OPEN_OGW_HIDDENLY*/					\
					/*if ( is_same_folder(wksSummary.GetPage().GetFolder(), Project.ActiveFolder()) )*/			\
						/*wksSummary.CheckShowActivate();*/														\
					/*///------ End BATCH_PROCESS_OPEN_OGW_HIDDENLY*/											\
				}																								\
				bool _bHide = IsWindowVisible(GetWindow()) ? false : true;										\
				progressBox pb("", 0, _bHide);																	\
				vector<string>		_vsBooks; 
				
			
#define		SET_PROGRESS_BOX_TIPS_AND_PREPARE_ANALYSIS_TEMPLATE(_bHide, _Size, _ii, _strTips, _bUseActivePage, _wksPage, _wksImport, _nActiveSheet)	\
			if ( !_bHide )																												\
				pb.CheckReopen();																										\
			pb.SetText(_L("Analysis Processing") + STR_THREE_DOTS, PBOXT_TITLE);														\
			pb.SetRange(0, (_Size));																									\
			if ( pb.Set(_ii) )																											\
				pb.SetText(_strTips, PBOXT_MIDCENTER);	        																		\
			else																														\
				break;																													\
																																		\
			if ( !_bUseActivePage )																										\
			{																															\
				/*///------ Folger 10/19/09 QA80-14459 BATCH_PROCESS_OPEN_OGW_HIDDENLY*/												\
				/*_wksPage.Create(lpcszAnalysisTemplate);*/																				\
				_wksPage.Create(lpcszAnalysisTemplate, CREATE_HIDDEN | CREATE_KEEP_LAYER_NAMES);										\
				/*///------ End BATCH_PROCESS_OPEN_OGW_HIDDENLY*/																		\
				if ( _wksPage )																											\
					_wksImport = _wksPage.Layers(lpcszFillSheet);																		\
			}																															\
																																		\
			if ( !_wksImport )																											\
				return -1;																												\
			/*///------ Folger 08/20/2010 ORG-933-S2 BATCH_PROCESS_KEEP_ORIGINAL_ACTIVE_SHEET_AFTER_REPORT*/ \
			int		_nActiveSheet = _wksPage.Layers().GetIndex(); \
			/*///------ End BATCH_PROCESS_KEEP_ORIGINAL_ACTIVE_SHEET_AFTER_REPORT*/ \
			/*///------ Folger 10/19/09 QA80-14459 BATCH_PROCESS_OPEN_OGW_HIDDENLY*/													\
			/*_wksImport.CheckShowActivate();*/																							\
			page_set_active_layer(_wksPage, _wksImport.GetIndex());																		\
			/*///------ End BATCH_PROCESS_OPEN_OGW_HIDDENLY*/
			
#define		CHECK_APPEND_RESULTS_TO_SUMMARY_SHEET(_bNeedAppend, _wksPage, _bUseActivePage, _ii, _vsBooks, _xy, _nLabelType, _nActiveSheet)			\
			/*///------ Folger 12/09/09 QA81-14814-P2 FINDXY_TABLE_FAILS_TO_BE_APPENDED_TO_REPORT_SHEET*/											\
			/*LT_execute("run -p au");*/																											\
			_execute_all_dirty_operations();																										\
			/*///------ End FINDXY_TABLE_FAILS_TO_BE_APPENDED_TO_REPORT_SHEET*/																		\
																																					\
			if ( _bNeedAppend )																														\
			{																																		\
				DWORD	_dwCntrl = CPYT_EXTERN_UPDATE_ORIGIN | (bAppendLabelRows ? 0 : (wksSummary.GetPage().GetType() == EXIST_EXTERN_WKS ?  0 : CPYT_COPY_COLUMN_LABELS)) \
								| CPYT_COPY_COLUMN_FORMAT \
								| CPYT_COPY_COLUMN_DESIGNATIONS \
								/*///------ Folger 03/17/10 QA81-15215 BATCH_PROCESS_SHOULD_SKIP_EMPTY_CELLS_WHEN_APPENDING*/ \
								| CPYT_SKIP_EMPTY \
								; \
								/*///------ End BATCH_PROCESS_SHOULD_SKIP_EMPTY_CELLS_WHEN_APPENDING*/ \
				/*///------ Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
				int		_nColOffset = 0; \
				/*///------ End BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
				if ( bAppendByRows )																												\
				{ \
					_dwCntrl |= CPYT_APPEND_BY_ROW;																									\
					/*///------ Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
					if ( _xy ) \
						_nColOffset = 1; \
					/*///------ End BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
				} \
																																					\
				Worksheet		_wksSrc = _wksPage.Layers(lpcszAppend);																				\
				if ( !_wksSrc )																														\
					return -1;																														\
				\
				/*///------ Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
				int		_nSummaryR1 = -1, _nSummaryR2 = -1; \
				/*///------ End BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
																																					\
				if ( 0 == _ii )																														\
				{																																	\
					/*///------ Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
					wksSummary.GetBounds(_nSummaryR1, 0, _nSummaryR2, -1); \
					/*///------ End BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
					if ( bClearSummarySheetBeforeAppend )																							\
					{																																\
						if ( bAppendByRows )																										\
						{																															\
							wksSummary.ClearData(CWOD_SHRINK_COLS, 0, -1, nRowStart);																\
							if ( 0 == wksSummary.GetNumCols() )																						\
								wksSummary.SetSize(-1, _wksSrc.GetNumCols());																		\
							wksSummary.SetBounds(0, 0, nRowStart - 1, -1);																			\
							/*///------ Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
							_nSummaryR2 = nRowStart - 1; \
							/*///------ End BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
						}																															\
						else																														\
						{																															\
							wksSummary.SetSize(-1, 0);																								\
						}																															\
					}																																\
					if ( bAppendLabelRows )																											\
					{ \
						append_label_rows(wksSummary, _wksSrc);																						\
						/*///------ Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
						if ( _nColOffset > 0 ) \
						{ \
							wksSummary.SetCell(_nSummaryR2 + 1, 0, BATCH_STR_LABEL_DATASET_NAME); \
						} \
						/*///------ End BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
					} \
					/*///------ Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
					else \
					{ \
						if ( _nColOffset > 0 ) \
						{ \
							Column	col1(wksSummary, 0); \
							if ( col1 ) \
								col1.SetLongName(BATCH_STR_LABEL_DATASET_NAME); \
						} \
					} \
					/*///------ End BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
				}																																	\
																																					\
				_wksSrc.CopyTo(wksSummary, 0, -1, 0, -1, -1 - _nColOffset, -1, _dwCntrl);															\
				
				/*///------ Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
				if ( 0 != _nColOffset && _xy ) \
				{ \
					int			_nR1, _nR2; \
					_wksSrc.GetBounds(_nR1, 0, _nR2, -1); \
					string		_str = batch_get_data_identifier_string(_xy, _nLabelType); \
					int			_nSize = _nR2 - _nR1 + 1; \
					batch_check_append_col_results(wksSummary, 0, _nSize, _str, _nSummaryR2 + 1); \
				} \
				/*///------ End BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER*/ \
			}																																		\
			if ( NULL != lpcszScriptAfterEachProcess && '\0' != *lpcszScriptAfterEachProcess )														\
				LT_execute(lpcszScriptAfterEachProcess);																							\
			/*///------ Folger 12/09/09 QA81-14786-S2 SHOW_INTERMEDIATE_BOOKS_AT_THE_END_IF_NOT_DELETE*/											\
			/*if ( _bNeedAppend && !_bUseActivePage && bDeleteTempateWindowsAfterAppend )*/															\
				/*_wksPage.Destroy();*/																												\
			if ( !_bUseActivePage ) \
			{ \
				if ( _bNeedAppend && bDeleteTempateWindowsAfterAppend ) \
					_wksPage.Destroy(); \
				else \
				{ \
					/*///------ Folger 08/20/2010 ORG-933-S2 BATCH_PROCESS_KEEP_ORIGINAL_ACTIVE_SHEET_AFTER_REPORT*/ \
					page_set_active_layer(_wksPage, _nActiveSheet); \
					/*///------ End BATCH_PROCESS_KEEP_ORIGINAL_ACTIVE_SHEET_AFTER_REPORT*/ \
					_vsBooks.Add(_wksPage.GetName()); \
				} \
			} \
			/*End SHOW_INTERMEDIATE_BOOKS_AT_THE_END_IF_NOT_DELETE*/
			
#define		AFTER_BATCH_ANALYSIS_LOOPING(_bNeedAppend, _vsBooks)									\
				/*///------ Folger 12/09/09 QA81-14786-S2 SHOW_INTERMEDIATE_BOOKS_AT_THE_END_IF_NOT_DELETE*/ \
				for ( int _ii=0; _ii<_vsBooks.GetSize(); ++_ii ) \
				{ \
					Page	_pg(_vsBooks[_ii]); \
					if ( _pg ) \
						_pg.SetShow(); \
				} \
				/*End SHOW_INTERMEDIATE_BOOKS_AT_THE_END_IF_NOT_DELETE*/ \
				if ( _bNeedAppend )																	\
				{																					\
					if ( is_same_folder(wksSummary.GetPage().GetFolder(), Project.ActiveFolder()) )	\
						wksSummary.GetPage().SetShow();												\
				}																					\
				if ( NULL != lpcszScriptAtTheEnd && '\0' != *lpcszScriptAtTheEnd )					\
					LT_execute(lpcszScriptAtTheEnd);												\
			}
///------ End BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT

static	int		_batch_analysis_processing(LPCSTR		lpcszAnalysisTemplate
										, LPCSTR		lpcszFillSheet
										, bool			bUseLastImportSettings
										, const			StringArray& saFiles
										, LPCSTR		lpcszImportXF
										, LPCSTR		lpcszTheme
										, LPCSTR		lpcszFilter
										, LPCSTR		lpcszScript
										, LPCSTR		lpcszAppend
										, Worksheet&	wksSummary
										, bool			bAppendByRows
										, bool			bClearSummarySheetBeforeAppend
										, bool			bDeleteTempateWindowsAfterAppend
										, LPCSTR		lpcszScriptAfterEachProcess
										, LPCSTR		lpcszScriptAtTheEnd
										///------ Folger 08/28/09 QA80-4588 BATCH_PROCESS_SUPPORT_SPECIFY_START_ROW_FOR_APPENDING
										, int			nRowStart
										, bool			bAppendLabelRows
										///------ End BATCH_PROCESS_SUPPORT_SPECIFY_START_ROW_FOR_APPENDING
										)
{
	if ( NULL == lpcszImportXF && NULL == lpcszFilter && NULL == lpcszScript || 0 == saFiles.GetSize() )
	{
		ASSERT(false);
		return -1;
	}
	
	Tree	trFilter;
	
	if ( NULL != lpcszImportXF )
	{
		if ( PDS_AUTO == okutil_cvt_str_to_predefined_type(lpcszTheme) )
		{
			lpcszTheme = _init_xf_theme_list(NULL, lpcszImportXF, lpcszFillSheet);
		}
	}
	else if ( NULL != lpcszFilter )
	{
		if ( PDS_AUTO == okutil_cvt_str_to_predefined_type(lpcszFilter) )
		{
			_init_import_wizard_filter_list(NULL, saFiles[0]);
			lpcszFilter = _get_default_filter();
		}
		
		string	strFilterFile = _find_filter_file_by_display_name(lpcszFilter);
		if ( 0 == strFilterFile.Compare(SZ_IW_PAGE_FILTER) )
		{
			trFilter = _get_template_sheets_info().trFilter;
		}
		else if ( strFilterFile.IsFile() )
		{
			fuLoad(trFilter, strFilterFile);
		}
	}
	///------ Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
	//WorksheetPage	wksPage;
	//Worksheet		wksImport;
	//bool			bUseActivePage = NULL == lpcszAnalysisTemplate;
	//if ( bUseActivePage )
	//{
		//wksPage = Project.Pages();
	//}
	//
	//bool	bNeedAppend = NULL != lpcszAppend;
	//if ( bNeedAppend )
	//{
		//if ( bClearSummarySheetBeforeAppend )
			//wksSummary.SetSize(-1, 0);
		//wksSummary.CheckShowActivate();
	//}
	////----- CPY 7/7/09 QA70-13875 PROGRESS_BAR_VISIBILITY_BY_MAIN_WND
	////progressBox pb("", PBOX_TOPMOST);
	//bool bHide = IsWindowVisible(GetWindow())? false:true;
	//progressBox pb("", PBOX_TOPMOST, bHide);
	////-----
	//pb.SetText(_L("Analysis Processing") + STR_THREE_DOTS, PBOXT_TITLE);
	//pb.SetRange(0, saFiles.GetSize());
	///------ Folger 03/22/10 QA81-14867 BATCH_PROCESS_TOO_MANY_FILES_THAT_FILL_UP_MESSAGE_QUEUE_CRASH_ORIGIN
	OC_POST_MESSAGE_BREAKER(PMBC_RUN_SCRIPT_AFTER_IMPORT | PMBC_SET_PAGE_CHANGED);
	///------ End BATCH_PROCESS_TOO_MANY_FILES_THAT_FILL_UP_MESSAGE_QUEUE_CRASH_ORIGIN
	BEFORE_BATCH_ANALYSIS_LOOPING(wksPage, wksImport, bUseActivePage, bNeedAppend, bHide, vsBooks)
	///------ End BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
	for ( int ii=0; ii<saFiles.GetSize(); ++ii )
	{
		string	strTips;
		strTips.Format("%d/%d %s", ii + 1, saFiles.GetSize(), saFiles[ii]);
		///------ Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
		//if ( pb.Set(ii) )
			//pb.SetText(strTips, PBOXT_MIDCENTER);	        
		//else	        
			//break;		/// user abort
		//
		//if ( !bUseActivePage )
		//{
			//wksPage.Create(lpcszAnalysisTemplate);
		//}
		//
		//if ( wksPage )
			//wksImport = wksPage.Layers(lpcszFillSheet);
		//
		//if ( !wksImport )
			//return -1;
		//
		//wksImport.CheckShowActivate();
		SET_PROGRESS_BOX_TIPS_AND_PREPARE_ANALYSIS_TEMPLATE(bHide, saFiles.GetSize(), ii, strTips, bUseActivePage, wksPage, wksImport, nActiveSheet)
		///------ End BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
		string		str;
		str.Format("fname$=%s", saFiles[ii]);
		LT_execute(str);
		
		if ( NULL != lpcszImportXF )
		{
			string		strImportXF = lpcszImportXF;
			if ( '\0' != *lpcszTheme )
				strImportXF.Format("%s -t %s", lpcszImportXF, lpcszTheme);
				
			LT_execute(strImportXF);
		}
		else if ( NULL != lpcszFilter )
		{
			vector<string>		vsFiles;
			vsFiles.Add(saFiles[ii]);
			///---Sim 05-12-2009 QA80-13594 MAKE_USER_IMPORT_OC_CODE_COMPATIBLE
			//ImportFiles(vsFiles, wksPage.GetName(), wksImport.GetIndex(), NULL, NULL, IMPORT_FILES_IGNORE_DRAG_AND_DROP_SUPPORT);
			/// Hong 09/04/09 QA80-14266 SELECT_FILTER_DLG_ADD_NEW_OPTIONS_FOR_BATCH_PROCESSING
			//import_files_ex(vsFiles, wksPage.GetName(), wksImport.GetIndex(), NULL, NULL, IMPORT_FILES_IGNORE_DRAG_AND_DROP_SUPPORT);
			///------ Folger 09/10/09 BATCH_PROCESS_SHOULD_POPUP_FILTER_SELECTION_DIALOG_AT_MOST_ONCE
			//DWORD				dwCntrl = IMPORT_FILES_IGNORE_DRAG_AND_DROP_SUPPORT | IMPORT_FILES_SEL_FILTER_DLG_HIDE_IMP_WIZ_BTN | IMPORT_FILES_SEL_FILTER_DLG_SHOW_SAVE_TO_PAGE_CHKBX;
			//import_files_ex(vsFiles, wksPage.GetName(), wksImport.GetIndex(), NULL, NULL, dwCntrl);
			DWORD				dwCntrl = IMPORT_FILES_IGNORE_DRAG_AND_DROP_SUPPORT
										| IMPORT_FILES_SEL_FILTER_DLG_HIDE_IMP_WIZ_BTN
										| IMPORT_FILES_SEL_FILTER_DLG_NO_APPLY_TO_ALL
										| (bUseLastImportSettings ? IMPORT_FILES_CHECK_USE_LAST_IMPORT_SETTINGS	: 0)	///------ Folger 09/11/09 BATCH_PROCESS_SUPPORT_GET_FILTER_INFO_FROM_LAST_IMPORT
										| IMPORT_FILES_FORCE_ASCII_FILTER_IF_NONE
										| (0 == ii ? 0 : IMPORT_FILES_NO_FILTER_APPLICABLE_CHECKING)
										;
			
			/// since wksPage is hidden when import, then it's impossible to put something into labels, needs to create Grid temporary
			Grid	grid;
			grid.Attach(wksImport);
			import_files_ex(vsFiles, wksPage.GetName(), wksImport.GetIndex(), trFilter, NULL, dwCntrl, trFilter.IsEmpty() ? &trFilter : NULL);
			if ( 0 == ii && trFilter.IsEmpty() )
			{
				if ( !bUseActivePage )
					wksPage.Destroy();
				return -1;
			}
			///------ End BATCH_PROCESS_SHOULD_POPUP_FILTER_SELECTION_DIALOG_AT_MOST_ONCE
			/// end SELECT_FILTER_DLG_ADD_NEW_OPTIONS_FOR_BATCH_PROCESSING
			///---END QA80-13594 MAKE_USER_IMPORT_OC_CODE_COMPATIBLE
		}
		else if ( NULL != lpcszScript )
		{
			LT_execute(lpcszScript);
		}
		///------ Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
		//LT_execute("run -p au");
		//
		//if ( bNeedAppend )
		//{
			//DWORD	dwCntrl = CPYT_EXTERN_UPDATE_ORIGIN | CPYT_COPY_COLUMN_LABELS | CPYT_COPY_COLUMN_FORMAT | CPYT_COPY_COLUMN_DESIGNATIONS;
			//if ( bAppendByRows )
				//dwCntrl |= CPYT_APPEND_BY_ROW;
			//
			//Worksheet		wksSrc = wksPage.Layers(lpcszAppend);
			//if ( !wksSrc )
				//return -1;
			//
			//wksSrc.CopyTo(wksSummary, 0, -1, 0, -1, -1, -1, dwCntrl);
			//
			//if ( !bUseActivePage && bDeleteTempateWindowsAfterAppend )
				//wksPage.Destroy();
		//}
		XYRange		xyDummy;
		CHECK_APPEND_RESULTS_TO_SUMMARY_SHEET(bNeedAppend, wksPage, bUseActivePage, ii, vsBooks, xyDummy, RCLT_INVALID, nActiveSheet)
		///------ End BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
	}
	///------ Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
	//if ( bNeedAppend )
	//{
		//wksSummary.CheckShowActivate();
	//}
	AFTER_BATCH_ANALYSIS_LOOPING(bNeedAppend, vsBooks)
	///------ End BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
	_clear_labtalk_variable_fname();
	
	return 0;
}

///------ Folger 12/15/09 QA81-14851 BATCH_XYRANGE_PROCESSING_EVEN_SAMPLING_SUPPORT
enum
{
	TARGETCLOUMN_INVALID			 = -1,
	TARGETCLOUMN_XY					 = 0,
	TARGETCLOUMN_Y,
};

static	BOOL	_check_target_columns(Column& col1, Column& col2)
{
	if ( !col1 )
		return TARGETCLOUMN_INVALID;
	
	if ( !col2 )
	{
		if ( col1.GetType() != OKDATAOBJ_DESIGNATION_Y )
			return TARGETCLOUMN_INVALID;
		
		col2 = col1;
		return TARGETCLOUMN_Y;
	}

	return col1.GetType() == OKDATAOBJ_DESIGNATION_X && col2.GetType() == OKDATAOBJ_DESIGNATION_Y ? TARGETCLOUMN_XY : TARGETCLOUMN_INVALID;
}

static	void	_copy_xy_columns(Column& colDesX, Column& colDesY, Column& colSrcX, Column& colSrcY, int nTargetType)
{
	DWORD		dwOptions = COPY_COL_FORMAT
							| COPY_COL_LONGNAME
							| COPY_COL_UNITS
							| COPY_COL_COMMENTS
							| COPY_COL_PARAMETERS
							| COPY_COL_UDL
								;
	
	copy_col(colSrcY, colDesY, dwOptions);
	vectorbase&		vbDesY = colDesY.GetDataObject();
	vbDesY = colSrcY.GetDataObject();
	
	double dX0 = NANUM;
	double dXInc = NANUM;
	string strUnits;
	string strLongName;
	
	if ( TARGETCLOUMN_Y == nTargetType )
	{
		if ( colSrcY.IsEvenSampling(&dX0, &dXInc, &strUnits, &strLongName) )
		{
			colDesY.SetEvenSampling(dX0, dXInc, strUnits, strLongName);
		}
	}
	else
	{
		ASSERT(TARGETCLOUMN_XY == nTargetType);
		
		vectorbase&		vbDesX = colDesX.GetDataObject();
		
		if ( colSrcX )
		{
			copy_col(colSrcX, colDesX, dwOptions);
			vbDesX = colSrcX.GetDataObject();
		}
		else
		{
			vector		vX;
			int			nUpperBound = colSrcY.GetUpperBound();
			if ( colSrcY.IsEvenSampling(&dX0, &dXInc, &strUnits, &strLongName) )
			{
				if( dXInc == 0.0 )
				{
					vX.SetSize(nUpperBound + 1);
					vX = dX0;
				}
				else
				{
					vX.Data(dX0, dX0 + dXInc * nUpperBound, dXInc);
				}
				colDesX.SetLongName(strLongName);
				colDesX.SetUnits(strUnits);
			}
			else
			{
				vX.Data(1, nUpperBound + 1);
			}
			vbDesX = vX;
		}
	}
}
///------ End BATCH_XYRANGE_PROCESSING_EVEN_SAMPLING_SUPPORT

///------ Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
static	int		_batch_process_on_xyranges(LPCSTR			lpcszAnalysisTemplate
										, LPCSTR			lpcszFillSheet
										, const XYRange&	iy
										, LPCSTR			lpcszAppend
										, Worksheet&		wksSummary
										, bool				bAppendByRows
										, bool				bClearSummarySheetBeforeAppend
										, bool				bDeleteTempateWindowsAfterAppend
										, LPCSTR			lpcszScriptAfterEachProcess
										, LPCSTR			lpcszScriptAtTheEnd
										///------ Folger 08/28/09 QA80-4588 BATCH_PROCESS_SUPPORT_SPECIFY_START_ROW_FOR_APPENDING
										, int				nRowStart
										, bool				bAppendLabelRows
										///------ End BATCH_PROCESS_SUPPORT_SPECIFY_START_ROW_FOR_APPENDING
										///------ Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER
										, LPCSTR			lpcszLabel
										///------ End BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER
										)
{
	DWORD	dwRules = DRR_NO_FACTORS | DRR_NO_WEIGHTS | DRR_GET_DEPENDENT;
	int		nNumData = iy.GetNumData(dwRules);
	
	///------ Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER
	int		bAddDatasetIdentifier = !compare_string_localization(lpcszLabel, BATCH_STR_NONE_E, true);
	int		nLabelType = RCLT_INVALID;
	///------ End BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER
		
	BEFORE_BATCH_ANALYSIS_LOOPING(wksPage, wksImport, bUseActivePage, bNeedAppend, bHide, vsBooks)
	
	for ( int ii=0; ii<nNumData; ++ii )
	{
		DataRange	drSub;
		iy.GetSubRange(drSub, dwRules, ii);
		
		string	strTips;
		string	strRange;
		drSub.GetRangeString(strRange);
		///------ Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER
		if ( bAddDatasetIdentifier && RCLT_INVALID == nLabelType )
		{
			Worksheet	wks;
			int			c1, c2;
			drSub.GetRange(wks, c1, c2);
			if ( wks )
			{
				nLabelType = batch_get_label_type_by_name(wks, lpcszLabel);
				ASSERT(RCLT_INVALID != nLabelType);
			}
		}
		///------ End BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER
		strTips.Format("%d/%d %s", ii + 1, nNumData, strRange);
		
		SET_PROGRESS_BOX_TIPS_AND_PREPARE_ANALYSIS_TEMPLATE(bHide, nNumData, ii, strTips, bUseActivePage, wksPage, wksImport, nActiveSheet)
		
		Column		colDesX(wksImport, 0);
		Column		colDesY(wksImport, 1);
		///------ Folger 12/15/09 QA81-14851 BATCH_XYRANGE_PROCESSING_EVEN_SAMPLING_SUPPORT
		int			nTargetType = TARGETCLOUMN_INVALID;
		if ( (nTargetType = _check_target_columns(colDesX, colDesY)) == TARGETCLOUMN_INVALID )
			return -1;
		///------ End BATCH_XYRANGE_PROCESSING_EVEN_SAMPLING_SUPPORT
		
		XYRange		xySub = drSub;
		vector		vSrcX, vSrcY;
		xySub.GetData(vSrcY, vSrcX);
		Column		colSrcX, colSrcY;
		xySub.GetXColumn(colSrcX);
		xySub.GetYColumn(colSrcY);
		///------ Folger 12/15/09 QA81-14851 BATCH_XYRANGE_PROCESSING_EVEN_SAMPLING_SUPPORT
		if ( TARGETCLOUMN_Y == nTargetType && colSrcX )
			continue;
		///------ End BATCH_XYRANGE_PROCESSING_EVEN_SAMPLING_SUPPORT
		Worksheet	wks;
		colSrcY.GetParent(wks);
		
		wksImport.SetName(wks.GetName());
		wksImport.GetPage().SetLongName(wks.GetPage().GetLongName());		
		///------ Folger 12/15/09 QA81-14851 BATCH_XYRANGE_PROCESSING_EVEN_SAMPLING_SUPPORT
		//copy_col(colSrcX, colDesX, dwOptions);
		//copy_col(colSrcY, colDesY, dwOptions);
		//
		///// copy data
		//vectorbase&		vbDesY = colDesY.GetDataObject();
		//vectorbase&		vbDesX = colDesX.GetDataObject();
		//vbDesY = colSrcY.GetDataObject();
		//vbDesX = colSrcX.GetDataObject();
		_copy_xy_columns(colDesX, colDesY, colSrcX, colSrcY, nTargetType);
		///------ End BATCH_XYRANGE_PROCESSING_EVEN_SAMPLING_SUPPORT
		
		XYRange		xyDummy;
		CHECK_APPEND_RESULTS_TO_SUMMARY_SHEET(bNeedAppend, wksPage, bUseActivePage, ii, vsBooks, bAddDatasetIdentifier ? xySub : xyDummy, nLabelType, nActiveSheet);
	}
	
	AFTER_BATCH_ANALYSIS_LOOPING(bNeedAppend, vsBooks)
	
	return 0;
}
///------ End BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT

static	bool	_is_import_method_using_labtalk_script(LPCSTR lpcszImportXF)
{
	return 0 == lstrcmpi(lpcszImportXF, STR_IMPORT_METHOD_LABTALK);
}

static	bool	_is_import_method_using_import_wizard(LPCSTR lpcszImportXF)
{
	return 0 == lstrcmpi(lpcszImportXF, STR_IMPORT_METHOD_WIZARD);
}

static	void	_set_show_method_related_nodes(TreeNode& trGetN)
{
	trGetN.script.Show = trGetN.hint_script.Show = _is_import_method_using_labtalk_script(trGetN.method.strVal);
	//trGetN.filter.Show = _is_import_method_using_import_wizard(trGetN.method.strVal);
	//trGetN.theme.Show = !trGetN.filter.Show && !trGetN.script.Show;
}

static	void	_check_hide_output_controls(TreeNode& trGetN)
{
	BOOL	bShow = TRUE;
	if ( PDS_NONE == okutil_cvt_str_to_predefined_type(trGetN.append.strVal) )
	{
		//trGetN.clear.Show = trGetN.hint_append.Show = trGetN.ow.Show = trGetN.mode.Show = trGetN.remove.Show = FALSE;
		bShow = FALSE;
	}
	//trGetN.clear.Show = trGetN.hint_append.Show = trGetN.ow.Show = trGetN.mode.Show = TRUE;
	trGetN.number.Show = trGetN.hint_append.Show = trGetN.ow.Show = bShow;
	trGetN.remove.Show = batch_active != trGetN.batch.nVal;
	///------ Folger 12/09/09 QA81-14786-S1 MOVE_DELETE_INTERMEDIATE_BOOK_OUT_OF_OPTIONS_BRANCH
	if ( trGetN.remove.Show )
	{
		trGetN.remove.Enable = bShow;
		if ( !bShow )
			trGetN.remove.nVal = FALSE;
	}
	///------ End MOVE_DELETE_INTERMEDIATE_BOOK_OUT_OF_OPTIONS_BRANCH
}

static	void	_check_hide_analysis_template_list(TreeNode& trGetN)
{
	trGetN.remove.Show = trGetN.name.Show = batch_template == trGetN.batch.nVal ? TRUE : FALSE;
}

///------ Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
static	void	_check_hide_data_source(TreeNode& trGetN)
{
	trGetN.last.Show = trGetN.fname.Show = data_import == trGetN.data.nVal;
	trGetN.id.Show = trGetN.iy.Show = !trGetN.fname.Show;
}
///------ End BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT

///------ Folger 08/28/09 QA80-4588 BATCH_PROCESS_SUPPORT_SPECIFY_START_ROW_FOR_APPENDING
static	void	_check_disable_append_row_number(TreeNode& trGetN)
{
	trGetN.number.Enable = (trGetN.clear.nVal && mode_rows == trGetN.mode.nVal )? ENABLE : DISABLE;
}

static	void	_check_disable_append_label_rows(TreeNode& trGetN)
{
	trGetN.label.Enable = mode_rows == trGetN.mode.nVal ? ENABLE : DISABLE;
}
///------ End BATCH_PROCESS_SUPPORT_SPECIFY_START_ROW_FOR_APPENDING

///------ Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER
static	void	_update_data_indentifiers(TreeNode& trGetN)
{
	batch_update_data_indentifiers(trGetN, "id", TRUE);
}
///------ End BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER
]]></header><code NodeID="45" Label="Expression" DataID="325" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="5-20"><![CDATA[///------ Folger 09/02/09 NOT_SHOW_AUTOUPDATE_PROGRESSBOX_FOR_BATCH_PROCESS
LTVarTempChange			tempChange("@AUB", 0);
///------ End NOT_SHOW_AUTOUPDATE_PROGRESSBOX_FOR_BATCH_PROCESS

if ( batch_template == batch && !name.IsFile() )
	XF_THROW(XFERR_INVALID_ANALYSIS_TEMPLATE_NAME);

fname.TrimLeft();
fname.TrimRight();
StringArray vsDataFileList;
fname.GetTokens(vsDataFileList, FILE_LIST_SEPARATOR);

///------ Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
bool	bDataImport = data_import == data;
if ( bDataImport )
{
	if ( 0 == vsDataFileList.GetSize() )
		XF_THROW(CER_INVALID_FILENAME);
}
else
{
	if ( iy.GetNumData(DRR_GET_DEPENDENT) < 1 )
		XF_THROW(XFERR_AT_LEAST_ONE_XYRANGE);
}
///------ End BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT

LPCSTR		lpcszImportXF = method;
LPCSTR		lpcszFilter = STR_NONE_E;
LPCSTR		lpcszScript = NULL;
if ( _is_import_method_using_import_wizard(lpcszImportXF) )
{
	lpcszImportXF = NULL;
	if ( filter )
		lpcszFilter = filter;
}
else if ( _is_import_method_using_labtalk_script(lpcszImportXF) )
{
	lpcszImportXF = NULL;
	lpcszScript = script;
}

LPCSTR	lpcszAppend = NULL;
if ( append )
	lpcszAppend = append;

LPCSTR	lpcszName = NULL;
if ( batch_template == batch )
	lpcszName = name;

///------ Folger 08/28/09 QA80-4588 BATCH_PROCESS_SUPPORT_SPECIFY_START_ROW_FOR_APPENDING
if ( number <= 0 )
	XF_THROW_EX(CER_INVALID_POSITIVE_INTEGER, STR_STARTING_ROW_NUMBER);
bool	bAppendLabelRows = label;
if ( mode_cols == mode )
	bAppendLabelRows = false;
///------ End BATCH_PROCESS_SUPPORT_SPECIFY_START_ROW_FOR_APPENDING

///------ Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
int		nRet = 0;
if ( bDataImport )
	nRet = _batch_analysis_processing(lpcszName, fill, last, vsDataFileList, lpcszImportXF, theme, lpcszFilter, lpcszScript, lpcszAppend, ow, mode_rows == mode ? true : false, clear, remove, loopscript, endscript, number - 1, bAppendLabelRows);
else
	nRet = _batch_process_on_xyranges(lpcszName, fill, iy, lpcszAppend, ow, mode_rows == mode ? true : false, clear, remove, loopscript, endscript, number - 1, bAppendLabelRows, id);
///------ End BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
if ( 0 != nRet )
	XF_THROW("\r\n");

_add_one_item_to_analysis_template_list(name);]]></code><event1 NodeID="45" Label="Event1" DataID="327" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="5-20" Show="0"><![CDATA[if ( GETNE_ON_THEME == nEventID )
{
	_init_imp_xf_list(trGetN);
}

if ( 0 == lstrcmpi(lpcszNodeName, "method") )
{
	_set_show_method_related_nodes(trGetN);
	_init_xf_theme_list(trGetN);
}

else if ( 0 == lstrcmpi(lpcszNodeName, "name") || 0 == lstrcmpi(lpcszNodeName, "batch") )
{
	_get_template_sheets_info(_get_template_name_for_update(trGetN), trGetN.method.strVal);
	_init_sheet_to_import_and_append_list(trGetN);
	_init_import_wizard_filter_list(trGetN);
	if ( 0 == lstrcmpi(lpcszNodeName, "batch") )
	{
		_check_hide_analysis_template_list(trGetN);
	}
}

else if ( 0 == lstrcmpi(lpcszNodeName, "fill") )
{
	_init_xf_theme_list(trGetN);
	_check_update_append_list_value_by_import_list(trGetN);
}

else if ( 0 == lstrcmpi(lpcszNodeName, "fname") )
{
	_init_import_wizard_filter_list(trGetN);
}

else if ( 0 == lstrcmpi(lpcszNodeName, "append") )
{
	_check_hide_output_controls(trGetN);
}
///------ Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
else if ( 0 == lstrcmpi(lpcszNodeName, "data") )
{
	_check_hide_data_source(trGetN);
}
///------ End BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
///------ Folger 08/28/09 QA80-4588 BATCH_PROCESS_SUPPORT_SPECIFY_START_ROW_FOR_APPENDING
else if ( 0 == lstrcmpi(lpcszNodeName, "clear") )
{
	_check_disable_append_row_number(trGetN);
}
else if ( 0 == lstrcmpi(lpcszNodeName, "mode") )
{
	_check_disable_append_row_number(trGetN);
	_check_disable_append_label_rows(trGetN);
}
///------ End BATCH_PROCESS_SUPPORT_SPECIFY_START_ROW_FOR_APPENDING
///------ Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER
else if ( 0 == lstrcmpi(lpcszNodeName, "iy") )
{
	_update_data_indentifiers(trGetN);
}
///------ End BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER
if( GETNE_ON_INIT == nEventID || GETNE_ON_THEME == nEventID || lpcszNodeName && *lpcszNodeName )
{
	if ( nEventID < 0 )
	{
		///------ Folger 05/05/10 ORG-88 BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER
		_update_data_indentifiers(trGetN);
		///------ End BATCH_PROCESS_SUPPORT_DATASET_IDENTIFIER
		_set_show_method_related_nodes(trGetN);
		_init_sheet_to_import_and_append_list(trGetN);
		//_check_hide_output_controls(trGetN);
		_check_hide_analysis_template_list(trGetN);
		_check_hide_data_source(trGetN);		///------ Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
		_check_disable_append_row_number(trGetN);
		_check_disable_append_label_rows(trGetN);
	}
	
	if( !_check_error(trGetN, nEventID, lpcszNodeName, strErrMsg) )
		bOKEnable = false;
}

return true;]]></event1><event2 NodeID="45" Label="Event2" DataID="376" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="5-20" Show="0"><![CDATA[return false;]]></event2><event3 NodeID="45" Label="Event3" DataID="378" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="5-20" Show="0"><![CDATA[if ( is_xf_startup(nGetNDialog, dwCntrl) )
{
	if ( nGetNDialog > 0 )
		_dlg_init(trGetN);
	else
		_get_template_sheets_info(_get_template_name_for_update(trGetN), trGetN.method.strVal);
	
	///------ Folger 04/14/10 QA81-15293-P3 DYNA_CHECKBOX_SHOWN_IN_OUTPUT_SHEET_AFTER_SET_RESULT_SHEET_TO_NONE
	trGetN.ow.RemoveAttribute(STR_ATTRIB_DYNACONTROL_USE_CHECK);
	trGetN.iy.RemoveAttribute(STR_ATTRIB_DYNACONTROL_USE_CHECK);
	///------ End DYNA_CHECKBOX_SHOWN_IN_OUTPUT_SHEET_AFTER_SET_RESULT_SHEET_TO_NONE
}

if ( is_xf_before_execute_body(nGetNDialog, dwCntrl) )
{
	if ( PDS_NONE == okutil_cvt_str_to_predefined_type(trGetN.append.strVal) )
		trGetN.ow.SetAttribute(STR_ATTRIB_DYNACONTROL_USE_CHECK, 0);
	///------ Folger 07/27/09 QA80-14018 BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
	if ( data_import == trGetN.data.nVal )
		trGetN.iy.SetAttribute(STR_ATTRIB_DYNACONTROL_USE_CHECK, 0);
	///------ End BATCH_PROCESS_SUPPORT_MULTIPLE_XYRANGES_INPUT
	///------ Folger 09/10/09 BATCH_PROCESS_SHOULD_POPUP_FILTER_SELECTION_DIALOG_AT_MOST_ONCE
	if ( nGetNDialog < 0 )		/// on OK
	{
		trGetN.filter.strVal.Empty();
	}
	///------ End BATCH_PROCESS_SHOULD_POPUP_FILTER_SELECTION_DIALOG_AT_MOST_ONCE
}]]></event3><event4 NodeID="45" Label="Event4" DataID="377" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="5-20" Show="0"><![CDATA[return false;]]></event4><GetNEvent NodeID="47" Label="GetNBox Event" DataID="379" Show="0" TypeID="65543" BlobArrElementaryType="8" xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="bin.base64">AA==</GetNEvent></codes><SaveInOpj NodeID="10" Label="Save with Object" DataID="560">0.</SaveInOpj><optargindex NodeID="14" Label="Option Argument Index" DataID="72">0.</optargindex><version NodeID="14" Label="Version" DataID="73">1.1000000000000001</version><category NodeID="11" Label="Primary Category" DataID="74" Show="0">Import and Export</category><subcategory NodeID="11" Label="Primary Subcategory" DataID="77" Show="0"></subcategory><seccategory1 NodeID="11" Label="Secondary Category" DataID="75" Show="0"></seccategory1><secsubcategory1 NodeID="11" Label="Secondary Subcategory 1" DataID="78" Show="0"></secsubcategory1><seccategory2 NodeID="11" Label="Secondary Category 2" DataID="76" Show="0"></seccategory2><secsubcategory2 NodeID="11" Label="Secondary Subcategory 2" DataID="79" Show="0"></secsubcategory2><module NodeID="11" Label="Module" DataID="80"></module><subGroup NodeID="17" Label="Subgroup Index Within a Category" Combo="-10|-9|-8|-7|-6|-5|-4|-3|-2|-1|0|1|2|3|4|5|6|7|8|9" DataID="82">7.</subGroup><errmsgCount NodeID="14" Label="Number of Error Messages" DataID="412">0.</errmsgCount><helpe NodeID="268435456" Label="English Help" DataID="420" RepeatID="256"><info NodeID="41" Label="Auto Complete Hint" DataID="422" RowHeightRange="2-8"></info><summary NodeID="47" Label="Summary" DataID="421" Show="0"><![CDATA[]]></summary><example NodeID="47" Label="Examples" DataID="431" Show="0"><![CDATA[]]></example><ref NodeID="47" Label="References" DataID="432" Show="0"><![CDATA[]]></ref><algorithm NodeID="47" Label="Algorithm" DataID="434" Show="0"><![CDATA[]]></algorithm><parameters NodeID="47" Label="Parameters" DataID="444" Show="0"><![CDATA[]]></parameters><script NodeID="41" Label="LabTalk Script Example" Show="0" DataID="436" RowHeightRange="2-12"></script><errmsgs NodeID="47" Label="Error Messages" DataID="413" Show="0"></errmsgs></helpe><helpj NodeID="268435456" Label="Japanese Help" DataID="420" RepeatID="512"><description NodeID="11" Label="Description" DataID="440" CdPg="932">バッチ処理(&amp;H):分析テンプレートを使ってバッチ処理をし、サマリーテーブルを作ります</description><customButtons NodeID="11" Label="GetN Dialog Custom Buttons" DataID="448" CdPg="932"></customButtons><info NodeID="41" Label="Auto Complete Hint" DataID="422" RowHeightRange="2-8" CdPg="932"></info><summary NodeID="47" Label="Summary" DataID="421" Show="0" CdPg="932"><![CDATA[]]></summary><example NodeID="47" Label="Examples" DataID="431" Show="0" CdPg="932"><![CDATA[]]></example><ref NodeID="47" Label="References" DataID="432" Show="0" CdPg="932"><![CDATA[]]></ref><algorithm NodeID="47" Label="Algorithm" DataID="434" Show="0" CdPg="932"><![CDATA[]]></algorithm><parameters NodeID="47" Label="Parameters" DataID="444" Show="0" CdPg="932"><![CDATA[]]></parameters><script NodeID="41" Label="LabTalk Script Example" Show="0" DataID="436" RowHeightRange="2-12" CdPg="932"></script><errmsgs NodeID="47" Label="Error Messages" DataID="413" Show="0" CdPg="932"></errmsgs></helpj><helpg NodeID="268435456" Label="German Help" DataID="420" RepeatID="768"><description NodeID="11" Label="Description" DataID="440" CdPg="1252">Stapelverarbeitung:Stapelverarbeitung mit Analysevorlage zum Erzeugen des Zusammenfassungsberichts</description><customButtons NodeID="11" Label="GetN Dialog Custom Buttons" DataID="448" CdPg="1252"></customButtons><info NodeID="41" Label="Auto Complete Hint" DataID="422" RowHeightRange="2-8" CdPg="1252"></info><summary NodeID="47" Label="Summary" DataID="421" Show="0" CdPg="1252"><![CDATA[]]></summary><example NodeID="47" Label="Examples" DataID="431" Show="0" CdPg="1252"><![CDATA[]]></example><ref NodeID="47" Label="References" DataID="432" Show="0" CdPg="1252"><![CDATA[]]></ref><algorithm NodeID="47" Label="Algorithm" DataID="434" Show="0" CdPg="1252"><![CDATA[]]></algorithm><parameters NodeID="47" Label="Parameters" DataID="444" Show="0" CdPg="1252"><![CDATA[]]></parameters><script NodeID="41" Label="LabTalk Script Example" Show="0" DataID="436" RowHeightRange="2-12" CdPg="1252"></script><errmsgs NodeID="47" Label="Error Messages" DataID="413" Show="0" CdPg="1252"></errmsgs></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="420" RepeatID="1024"><description NodeID="11" Label="Description" DataID="440" CdPg="936"></description><customButtons NodeID="11" Label="GetN Dialog Custom Buttons" DataID="448" CdPg="936"></customButtons><info NodeID="41" Label="Auto Complete Hint" DataID="422" RowHeightRange="2-8" CdPg="936"></info><summary NodeID="47" Label="Summary" DataID="421" Show="0" CdPg="936"><![CDATA[]]></summary><example NodeID="47" Label="Examples" DataID="431" Show="0" CdPg="936"><![CDATA[]]></example><ref NodeID="47" Label="References" DataID="432" Show="0" CdPg="936"><![CDATA[]]></ref><algorithm NodeID="47" Label="Algorithm" DataID="434" Show="0" CdPg="936"><![CDATA[]]></algorithm><parameters NodeID="47" Label="Parameters" DataID="444" Show="0" CdPg="936"><![CDATA[]]></parameters><script NodeID="41" Label="LabTalk Script Example" Show="0" DataID="436" RowHeightRange="2-12" CdPg="936"></script><errmsgs NodeID="47" Label="Error Messages" DataID="413" Show="0" CdPg="936"></errmsgs></helpc><SkipHiddenInDlg NodeID="10" Label="Skip hidden in dialog" DataID="295">0.</SkipHiddenInDlg><ClearMsg NodeID="10" Label="Auto Clear Error Message in dialog" DataID="296">1.</ClearMsg><KeepBtnStatus NodeID="10" Label="Keep Button Status for Event Handler" DataID="298">0.</KeepBtnStatus><SptApplyUndoButtonSts NodeID="10" Label="Control Apply and Undo button by User" DataID="294">0.</SptApplyUndoButtonSts><PreviewButton NodeID="10" Label="Show Preview Button" DataID="299">0.</PreviewButton><AutoApplyChkbox NodeID="10" Label="Show Auto Apply CheckBox" DataID="290">1.</AutoApplyChkbox><SkipHelpDoc NodeID="10" Label="Skip Help Document Processing" DataID="297">0.</SkipHelpDoc><SupportFolderLastUsed NodeID="10" Label="Support Folder Last Used Theme" DataID="291">0.</SupportFolderLastUsed><NotCloseOnEnterKey NodeID="10" Label="Do not Close Dialog upon Enter Key" DataID="292">0.</NotCloseOnEnterKey><seeAlso NodeID="11" Label="See Also" DataID="430"></seeAlso><relatedXF NodeID="11" Label="Related X-Functions" DataID="442"></relatedXF></OriginStorage>
