<?xml version="1.0"?>
<OriginStorage Label="wks_update_link_table (User)" Display="652" FileName="C:\C\VC32\originlab\X-Functions\Data Manipulation\Worksheet\wks_update_link_table.OXF"><XFname NodeID="11" Label="Name" DataID="300" DB_CTRL_ID="6000">wks_update_link_table</XFname><xFdescription NodeID="11" Label="Description" DataID="310" DB_CTRL_ID="6002">:Update the contents in the worksheet to the linked table on graph</xFdescription><attachTo NodeID="13" Label="Attach to Origin Object" Combo="None|Auto|Column|Sheet/Layer|Book/Graph" DataID="320" Show="0" DB_CTRL_ID="6004">1</attachTo><AutoDependent NodeID="10" Label="Auto Compile Dependent Files" DataID="451" DB_CTRL_ID="6006">0</AutoDependent><UsageCtxt NodeID="268435456" Label="Usage Context" DataID="329" DB_CTRL_ID="6008"><LabTalk NodeID="10" Label="Labtalk" DataID="357" DB_CTRL_ID="6009">1.</LabTalk><WksSel NodeID="10" Label="Worksheet Selection" DataID="350" DB_CTRL_ID="6011">0.</WksSel><GrObj NodeID="268435456" Label="Graphic Object Events" DataID="330" Use="0" DB_CTRL_ID="6013"><InitAnchors NodeID="10" Label="Initialization" DataID="339" DB_CTRL_ID="6014">1.</InitAnchors><Move NodeID="10" Label="Move" DataID="331" DB_CTRL_ID="6016">1.</Move><Moving NodeID="10" Label="Moving" DataID="332" DB_CTRL_ID="6018">0.</Moving><Resize NodeID="10" Label="Resize" DataID="333" DB_CTRL_ID="6020">0.</Resize><Resizing NodeID="10" Label="Resizing" DataID="334" DB_CTRL_ID="6022">0.</Resizing><Delete NodeID="10" Label="Delete" DataID="335" DB_CTRL_ID="6024">0.</Delete><Select NodeID="10" Label="Select" DataID="336" DB_CTRL_ID="6026">0.</Select><Unselect NodeID="10" Label="Unselect" DataID="337" DB_CTRL_ID="6028">0.</Unselect><BtnClick NodeID="10" Label="Button Click" DataID="338" DB_CTRL_ID="6030">0.</BtnClick><Rotate NodeID="10" Label="Rotate" DataID="340" DB_CTRL_ID="6032">0.</Rotate><Rotating NodeID="10" Label="Rotating" DataID="341" DB_CTRL_ID="6034">0.</Rotating><Skew NodeID="10" Label="Skew" DataID="342" DB_CTRL_ID="6036">0.</Skew><Skewing NodeID="10" Label="Skewing" DataID="343" DB_CTRL_ID="6038">0.</Skewing><EditEv NodeID="10" Label="Edit" DataID="344" DB_CTRL_ID="6040">0.</EditEv><Editing NodeID="10" Label="Editing" DataID="345" DB_CTRL_ID="6042">0.</Editing><NewSelection NodeID="10" Label="New Selection" DataID="346" DB_CTRL_ID="6044">0.</NewSelection><DeletePart NodeID="10" Label="Delete Part" DataID="347" DB_CTRL_ID="6046">0.</DeletePart><ObjType NodeID="13" Label="Type" Combo="Rect|Line" DataID="349" DB_CTRL_ID="6048">0.</ObjType></GrObj><Theme NodeID="268435456" Label="Theme" DataID="386" DB_CTRL_ID="6050"><UseInDialog NodeID="10" Label="Support Saving Themes in Dialog" DataID="372" DB_CTRL_ID="6051">0</UseInDialog><ShowInMenu NodeID="10" Label="Show Themes as Popups in Menu" DataID="352" DB_CTRL_ID="6053">1.</ShowInMenu><SaveInBook NodeID="10" Label="Support Saving to Book" DataID="387" DB_CTRL_ID="6055">0.</SaveInBook><SaveInSheet NodeID="10" Label="Support Saving to Sheet" DataID="388" DB_CTRL_ID="6057">0.</SaveInSheet></Theme><mainmenu NodeID="268435456" Label="Menus" DataID="365" Use="0" BranchCombo="None|Main Menus|Context Menus|Both|Context Menus 1|Context Menus 2|Context Menus 3|Context Menus 4" DB_CTRL_ID="6059"><AddAsTool NodeID="10" Label="Add As Tool" DataID="366" DB_CTRL_ID="6060">0.</AddAsTool><ClassOp NodeID="10" Label="Class Operation" DataID="367" DB_CTRL_ID="6062">0.</ClassOp><GetN NodeID="13" Label="Auto GetN Dialog" Combo="None|Simple GetNBox|GetNGraphBox with Preview|GetNImageBox|Wizard" DataID="371" DB_CTRL_ID="6064">0</GetN><checkMenu NodeID="10" Label="Check Menu" DataID="470" DB_CTRL_ID="6066">0.</checkMenu></mainmenu><windows NodeID="268435456" Label="Windows" DataID="450" Use="1" DB_CTRL_ID="6068"><graph NodeID="10" Label="Graph" DataID="368" DB_CTRL_ID="6069">0.</graph><worksheet NodeID="10" Label="Worksheet" DataID="369" DB_CTRL_ID="6071">1</worksheet><matrix NodeID="10" Label="Matrix" DataID="370" DB_CTRL_ID="6073">0.</matrix><matrix NodeID="10" Label="Report" DataID="360" DB_CTRL_ID="6075">0.</matrix></windows></UsageCtxt><outTree NodeID="10" Label="Generate LabTalk Tree upon execution" DataID="373" DB_CTRL_ID="6077">0</outTree><askOutResultsLog NodeID="10" Label="Add Checkbox to Auto GetN Dialog about Results Log Output" DataID="393" DB_CTRL_ID="6079">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" DB_CTRL_ID="6081">0.</outResultsLog><customButtons NodeID="11" Label="GetN Dialog Custom Buttons" DataID="391" DB_CTRL_ID="6083"></customButtons><syntax NodeID="41" Label="Command Line Usage" DataID="305" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="2-18" DB_CTRL_ID="6085"><![CDATA[wks_update_link_table; 
wks_update_link_table iw:=[table1]; ]]></syntax><vars NodeID="268435456" Label="Variables" Branch="1" MoveRows="" EditCol="1|1|1" DB_CTRL_ID="6088"><v1 NodeID="268435456" _XFUNCTION_VAR="1" RepeatID="1" DB_CTRL_ID="6089"><name NodeID="11" Label="Name" DataID="10" DB_CTRL_ID="6090">iw</name><description NodeID="11" Label="Label" DataID="20" Show="0" DB_CTRL_ID="6092"></description><io NodeID="13" Label="Input/Output" Combo="Input|Output|Input/Output" DataID="30" DB_CTRL_ID="6094">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" DataID="40" DB_CTRL_ID="6096">Worksheet</type><valdata NodeID="81" Label="Data" DataID="50" Enable="1" DB_CTRL_ID="6098" _DROP_DOWN_BUTTON_ID="2112|1">&lt;active&gt;</valdata><comboString NodeID="11" Label="Control" DataID="70" DB_CTRL_ID="6102"></comboString><context NodeID="268435456" Label="Context" DataID="71" DB_CTRL_ID="6104"></context><optionString NodeID="11" Label="Option String" DataID="69" DB_CTRL_ID="6105"></optionString><suggestedValues NodeID="11" Label="Suggested Values" DataID="405" DB_CTRL_ID="6107"></suggestedValues><themeID NodeID="14" Label="Theme ID" DataID="35" DB_CTRL_ID="6109">0.</themeID><help NodeID="268435456" Label="English Help" DataID="410" RepeatID="256" DB_CTRL_ID="6111"><description NodeID="11" Label="Display Name" DataID="408" DB_CTRL_ID="6112"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" DB_CTRL_ID="6114">This specifies the table to be updated. By default, the active table will be updated.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" DB_CTRL_ID="6116">Input worksheet</hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" DB_CTRL_ID="6118"></comboDescription></help><helpj NodeID="268435456" Label="Japanese Help" DataID="410" RepeatID="512" DB_CTRL_ID="6120"><description NodeID="11" Label="Display Name" DataID="408" CdPg="932" DB_CTRL_ID="6121"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="932" DB_CTRL_ID="6123">これは更新するテーブルを指定します。 デフォルトで、アクティブなテーブルが更新されます。</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="932" DB_CTRL_ID="6125">入力ワークシート</hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="932" DB_CTRL_ID="6127"></comboDescription></helpj><helpg NodeID="268435456" Label="German Help" DataID="410" RepeatID="768" DB_CTRL_ID="6129"><description NodeID="11" Label="Display Name" DataID="408" CdPg="1252" DB_CTRL_ID="6130"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="1252" DB_CTRL_ID="6132">Dies bestimmt, dass die Tabelle aktualisiert wird. Standardmäßig wird die Tabelle aktualisiert.</remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="1252" DB_CTRL_ID="6134">Eingabeworksheet</hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="1252" DB_CTRL_ID="6136"></comboDescription></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="410" RepeatID="1024" DB_CTRL_ID="6138"><description NodeID="11" Label="Display Name" DataID="408" CdPg="936" DB_CTRL_ID="6139"></description><remark NodeID="41" Label="Description" DataID="409" RowHeightRange="3-8" CdPg="936" DB_CTRL_ID="6141"></remark><hint NodeID="41" Label="Auto Complete Hint" DataID="406" RowHeightRange="1-3" CdPg="936" DB_CTRL_ID="6143"></hint><comboDescription NodeID="47" Label="Option Explanations" DataID="407" CdPg="936" DB_CTRL_ID="6145"></comboDescription></helpc></v1></vars><modificationLog NodeID="41" Label="Modification Log" DataID="438" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="2-15" DB_CTRL_ID="6147">2/14/2007  Erica Shang Edit
8/20/07 Joseph Edit.</modificationLog><codes NodeID="268435456" Label="Code" DataID="324" DB_CTRL_ID="6150"><rettype NodeID="11" Label="Return Type" Combo="void|int|double|string|vector" DataID="41" DB_CTRL_ID="6151">void</rettype><header NodeID="45" Label="Header" DataID="323" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="3-15" DB_CTRL_ID="6153"><![CDATA[//put additional include files here
#include <..\Originlab\theme_utils.h>
//put your own support static functions here

]]></header><code NodeID="45" Label="Expression" DataID="325" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="5-20" DB_CTRL_ID="6155"><![CDATA[if(!iw)
	return;

Grid gg;
GraphObject grTable;
if(iw.GetLinkTable(gg, grTable))
{
	Tree trTheme;
	if(theme_get_from_wks_grid(iw, trTheme, FPB_ALL, FOB_ALL, TH_DEL_GRID_COL_HEADING | TH_DEL_GRID_ROW_HEADING))
	{
		gg.ApplyFormat(trTheme, true, true);
		grTable.AutoSize(0,1);
		GraphLayer gl;grTable.GetParent(gl);
		if(gl)
		{
			GraphPage gp;gl.GetParent(gp);
			string strLT = ";win -a ";// leading ; to delay this until XF exit
			strLT+= gp.GetName();
			LT_execute(strLT);
		}
	}
}
]]></code><event1 NodeID="45" Label="Event1" DataID="327" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="5-20" Show="0" DB_CTRL_ID="6157"><![CDATA[]]></event1><event2 NodeID="45" Label="Event2" DataID="376" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="5-20" Show="0" DB_CTRL_ID="6159"><![CDATA[]]></event2><event3 NodeID="45" Label="Event3" DataID="378" MultilineEditExpShrink="1" DispFormat="33554432" RowHeightRange="5-20" Show="0" DB_CTRL_ID="6161"><![CDATA[]]></event3><GetNEvent NodeID="47" Label="GetNBox Event" DataID="379" Show="0" DB_CTRL_ID="6163"></GetNEvent></codes><SaveInOpj NodeID="10" Label="Save with Object" DataID="560" DB_CTRL_ID="6165">0.</SaveInOpj><optargindex NodeID="14" Label="Option Argument Index" DataID="72" DB_CTRL_ID="6167">0.</optargindex><version NodeID="14" Label="Version" DataID="73" DB_CTRL_ID="6169">1.</version><category NodeID="11" Label="Primary Category" DataID="74" Show="0" DB_CTRL_ID="6171">Data Manipulation\Worksheet</category><subcategory NodeID="11" Label="Primary Subcategory" DataID="77" Show="0" DB_CTRL_ID="6173"></subcategory><seccategory1 NodeID="11" Label="Secondary Category" DataID="75" Show="0" DB_CTRL_ID="6175"></seccategory1><secsubcategory1 NodeID="11" Label="Secondary Subcategory 1" DataID="78" Show="0" DB_CTRL_ID="6177"></secsubcategory1><seccategory2 NodeID="11" Label="Secondary Category 2" DataID="76" Show="0" DB_CTRL_ID="6179"></seccategory2><secsubcategory2 NodeID="11" Label="Secondary Subcategory 2" DataID="79" Show="0" DB_CTRL_ID="6181"></secsubcategory2><module NodeID="11" Label="Module" DataID="80" DB_CTRL_ID="6183"></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" DB_CTRL_ID="6185">9.</subGroup><errmsgCount NodeID="14" Label="Number of Error Messages" DataID="412" DB_CTRL_ID="6187">0.</errmsgCount><helpe NodeID="268435456" Label="English Help" DataID="420" RepeatID="256" DB_CTRL_ID="6189"><info NodeID="41" Label="Auto Complete Hint" DataID="422" RowHeightRange="2-8" DB_CTRL_ID="6190"></info><summary NodeID="47" Label="Summary" TypeID="65537" DataID="421" Show="0" DB_CTRL_ID="6192"><![CDATA[]]></summary><example NodeID="47" Label="Examples" TypeID="65537" DataID="431" Show="0" DB_CTRL_ID="6194"><![CDATA[]]></example><ref NodeID="47" Label="References" TypeID="65537" DataID="432" Show="0" DB_CTRL_ID="6196"><![CDATA[]]></ref><algorithm NodeID="47" Label="Algorithm" TypeID="65537" DataID="434" Show="0" DB_CTRL_ID="6198"><![CDATA[]]></algorithm><parameters NodeID="47" Label="Parameters" TypeID="65537" DataID="444" Show="0" DB_CTRL_ID="6200"><![CDATA[]]></parameters><script NodeID="41" Label="LabTalk Script Example" Show="0" DataID="436" RowHeightRange="2-12" DB_CTRL_ID="6202"></script><errmsgs NodeID="47" Label="Error Messages" DataID="413" Show="0" DB_CTRL_ID="6204"></errmsgs></helpe><helpj NodeID="268435456" Label="Japanese Help" DataID="420" RepeatID="512" DB_CTRL_ID="6206"><description NodeID="11" Label="Description" DataID="440" CdPg="932" DB_CTRL_ID="6207">:</description><customButtons NodeID="11" Label="GetN Dialog Custom Buttons" DataID="448" CdPg="932" DB_CTRL_ID="6209"></customButtons><info NodeID="41" Label="Auto Complete Hint" DataID="422" RowHeightRange="2-8" CdPg="932" DB_CTRL_ID="6211"></info><summary NodeID="47" Label="Summary" TypeID="65537" DataID="421" Show="0" CdPg="932" DB_CTRL_ID="6213"><![CDATA[]]></summary><example NodeID="47" Label="Examples" TypeID="65537" DataID="431" Show="0" CdPg="932" DB_CTRL_ID="6215"><![CDATA[]]></example><ref NodeID="47" Label="References" TypeID="65537" DataID="432" Show="0" CdPg="932" DB_CTRL_ID="6217"><![CDATA[]]></ref><algorithm NodeID="47" Label="Algorithm" TypeID="65537" DataID="434" Show="0" CdPg="932" DB_CTRL_ID="6219"><![CDATA[]]></algorithm><parameters NodeID="47" Label="Parameters" TypeID="65537" DataID="444" Show="0" CdPg="932" DB_CTRL_ID="6221"><![CDATA[]]></parameters><script NodeID="41" Label="LabTalk Script Example" Show="0" DataID="436" RowHeightRange="2-12" CdPg="932" DB_CTRL_ID="6223"></script><errmsgs NodeID="47" Label="Error Messages" DataID="413" Show="0" CdPg="932" DB_CTRL_ID="6225"></errmsgs></helpj><helpg NodeID="268435456" Label="German Help" DataID="420" RepeatID="768" DB_CTRL_ID="6227"><description NodeID="11" Label="Description" DataID="440" CdPg="1252" DB_CTRL_ID="6228">:</description><customButtons NodeID="11" Label="GetN Dialog Custom Buttons" DataID="448" CdPg="1252" DB_CTRL_ID="6230"></customButtons><info NodeID="41" Label="Auto Complete Hint" DataID="422" RowHeightRange="2-8" CdPg="1252" DB_CTRL_ID="6232"></info><summary NodeID="47" Label="Summary" TypeID="65537" DataID="421" Show="0" CdPg="1252" DB_CTRL_ID="6234"><![CDATA[]]></summary><example NodeID="47" Label="Examples" TypeID="65537" DataID="431" Show="0" CdPg="1252" DB_CTRL_ID="6236"><![CDATA[]]></example><ref NodeID="47" Label="References" TypeID="65537" DataID="432" Show="0" CdPg="1252" DB_CTRL_ID="6238"><![CDATA[]]></ref><algorithm NodeID="47" Label="Algorithm" TypeID="65537" DataID="434" Show="0" CdPg="1252" DB_CTRL_ID="6240"><![CDATA[]]></algorithm><parameters NodeID="47" Label="Parameters" TypeID="65537" DataID="444" Show="0" CdPg="1252" DB_CTRL_ID="6242"><![CDATA[]]></parameters><script NodeID="41" Label="LabTalk Script Example" Show="0" DataID="436" RowHeightRange="2-12" CdPg="1252" DB_CTRL_ID="6244"></script><errmsgs NodeID="47" Label="Error Messages" DataID="413" Show="0" CdPg="1252" DB_CTRL_ID="6246"></errmsgs></helpg><helpc NodeID="268435456" Label="Chinese Help" DataID="420" RepeatID="1024" DB_CTRL_ID="6248"><description NodeID="11" Label="Description" DataID="440" CdPg="936" DB_CTRL_ID="6249"></description><customButtons NodeID="11" Label="GetN Dialog Custom Buttons" DataID="448" CdPg="936" DB_CTRL_ID="6251"></customButtons><info NodeID="41" Label="Auto Complete Hint" DataID="422" RowHeightRange="2-8" CdPg="936" DB_CTRL_ID="6253"></info><summary NodeID="47" Label="Summary" TypeID="65537" DataID="421" Show="0" CdPg="936" DB_CTRL_ID="6255"><![CDATA[]]></summary><example NodeID="47" Label="Examples" TypeID="65537" DataID="431" Show="0" CdPg="936" DB_CTRL_ID="6257"><![CDATA[]]></example><ref NodeID="47" Label="References" TypeID="65537" DataID="432" Show="0" CdPg="936" DB_CTRL_ID="6259"><![CDATA[]]></ref><algorithm NodeID="47" Label="Algorithm" TypeID="65537" DataID="434" Show="0" CdPg="936" DB_CTRL_ID="6261"><![CDATA[]]></algorithm><parameters NodeID="47" Label="Parameters" TypeID="65537" DataID="444" Show="0" CdPg="936" DB_CTRL_ID="6263"><![CDATA[]]></parameters><script NodeID="41" Label="LabTalk Script Example" Show="0" DataID="436" RowHeightRange="2-12" CdPg="936" DB_CTRL_ID="6265"></script><errmsgs NodeID="47" Label="Error Messages" DataID="413" Show="0" CdPg="936" DB_CTRL_ID="6267"></errmsgs></helpc><SkipHiddenInDlg NodeID="10" Label="Skip hidden in dialog" DataID="295" DB_CTRL_ID="6269">0.</SkipHiddenInDlg><ClearMsg NodeID="10" Label="Auto Clear Error Message in dialog" DataID="296" DB_CTRL_ID="6271">1.</ClearMsg><KeepBtnStatus NodeID="10" Label="Keep Button Status for Event Handler" DataID="298" DB_CTRL_ID="6273">0.</KeepBtnStatus><SptApplyUndoButtonSts NodeID="10" Label="Control Apply and Undo button by User" DataID="294" DB_CTRL_ID="6275">0.</SptApplyUndoButtonSts><PreviewButton NodeID="10" Label="Show Preview Button" DataID="299" DB_CTRL_ID="6277">0.</PreviewButton><AutoApplyChkbox NodeID="10" Label="Show Auto Apply CheckBox" DataID="290" DB_CTRL_ID="6279">1.</AutoApplyChkbox><SkipHelpDoc NodeID="10" Label="Skip Help Document Processing" DataID="297" DB_CTRL_ID="6281">0.</SkipHelpDoc><seeAlso NodeID="11" Label="See Also" DataID="430" DB_CTRL_ID="6283"></seeAlso><relatedXF NodeID="11" Label="Related X-Functions" DataID="442" DB_CTRL_ID="6285"></relatedXF></OriginStorage>
