Update ooo320-m1
[ooovba.git] / helpcontent2 / source / text / scalc / 01 / 04060112.xhp
blob52bafae7b86c3ed01d6c90f469b85a71a7892952
1 <?xml version="1.0" encoding="UTF-8"?>
4 <!--
5 ***********************************************************************
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 *
9 * Copyright 2008 by Sun Microsystems, Inc.
11 * OpenOffice.org - a multi-platform office productivity suite
13 * $RCSfile: 04060112.xhp,v $
14 * $Revision: 1.8 $
16 * This file is part of OpenOffice.org.
18 * OpenOffice.org is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU Lesser General Public License version 3
20 * only, as published by the Free Software Foundation.
22 * OpenOffice.org is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU Lesser General Public License version 3 for more details
26 * (a copy is included in the LICENSE file that accompanied this code).
28 * You should have received a copy of the GNU Lesser General Public License
29 * version 3 along with OpenOffice.org. If not, see
30 * <http://www.openoffice.org/license.html>
31 * for a copy of the LGPLv3 License.
33 ************************************************************************
34 -->
36 <helpdocument version="1.0">
37 <meta>
38 <topic id="textscalc0104060112xml" indexer="include" status="PUBLISH">
39 <title id="tit" xml-lang="en-US">Add-in for Programming in $[officename] Calc</title>
40 <filename>/text/scalc/01/04060112.xhp</filename>
41 </topic>
42 <history>
43 <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
44 <lastedited date="2006-03-31T13:39:47">converted from old format - fpe
45 dedr: fixed #i30855#</lastedited>
46 </history>
47 </meta>
48 <body>
49 <bookmark xml-lang="en-US" branch="index" id="bm_id3151076"><bookmark_value>programming; add-ins</bookmark_value>
50 <bookmark_value>shared libraries; programming</bookmark_value>
51 <bookmark_value>external DLL functions</bookmark_value>
52 <bookmark_value>functions; $[officename] Calc add-in DLL</bookmark_value>
53 <bookmark_value>add-ins; for programming</bookmark_value>
54 </bookmark><comment>mw made "external..." a one level entry and deleted one "functions;..." entry</comment>
55 <paragraph role="heading" id="hd_id3151076" xml-lang="en-US" level="1" l10n="U" oldref="1">Add-in for Programming in $[officename] Calc</paragraph>
56 <paragraph role="warning" id="par_id3147001" xml-lang="en-US" l10n="U" oldref="220">The method of extending Calc by Add-Ins that is described in the following is outdated. The interfaces are still valid and supported, to ensure compatibility with existing Add-Ins, but for programming new Add-Ins you should use the new <link href="text/shared/guide/integratinguno.xhp" name="API functions">API functions</link>.</paragraph>
57 <paragraph role="paragraph" id="par_id3150361" xml-lang="en-US" l10n="U" oldref="2">$[officename] Calc can be expanded by Add-Ins, which are external programming modules providing additional functions for working with spreadsheets. These are listed in the <emph>Function Wizard</emph> in the <emph>Add-In</emph> category. If you would like to program an Add-In yourself, you can learn here which functions must be exported by the <switchinline select="sys"><caseinline select="UNIX">shared library
58 </caseinline><defaultinline>external DLL</defaultinline></switchinline> so that the Add-In can be successfully attached.</paragraph>
59 <paragraph role="paragraph" id="par_id3149211" xml-lang="en-US" l10n="CHG" oldref="3">$[officename] searches the Add-in folder defined in the configuration for a suitable <switchinline select="sys"><caseinline select="UNIX">shared library
60 </caseinline><defaultinline>DLL</defaultinline></switchinline>. To be recognized by $[officename], the <switchinline select="sys"><caseinline select="UNIX">shared library
61 </caseinline><defaultinline>DLL</defaultinline></switchinline> must have certain properties, as explained in the following. This information allows you to program your own Add-In for <emph>Function Wizard</emph> of $[officename] Calc.</paragraph>
62 <section id="addinconcept">
63 <paragraph role="heading" id="hd_id3146981" xml-lang="en-US" level="2" l10n="U" oldref="4">The Add-In Concept</paragraph>
64 <paragraph role="paragraph" id="par_id3156292" xml-lang="en-US" l10n="U" oldref="5">Each Add-In library provides several functions. Some functions are used for administrative purposes. You can choose almost any name for your own functions. However, they must also follow certain rules regarding parameter passing. The exact naming and calling conventions vary for different platforms.</paragraph>
65 </section>
66 <paragraph role="heading" id="hd_id3152890" xml-lang="en-US" level="3" l10n="U" oldref="6">Functions of <switchinline select="sys"><caseinline select="UNIX">Shared Library
67 </caseinline><defaultinline>AddIn DLL</defaultinline></switchinline></paragraph>
68 <paragraph role="paragraph" id="par_id3148837" xml-lang="en-US" l10n="U" oldref="7">At a minimum, the administrative functions <link href="text/scalc/01/04060112.xhp" name="GetFunctionCount">GetFunctionCount</link> and <link href="text/scalc/01/04060112.xhp" name="GetFunctionData">GetFunctionData</link> must exist. Using these, the functions as well as parameter types and return values can be determined. As return values, the Double and String types are supported. As parameters, additionally the cell areas <link href="text/scalc/01/04060112.xhp" name="Double Array">Double Array</link>, <link href="text/scalc/01/04060112.xhp" name="String Array">String Array</link>, and <link href="text/scalc/01/04060112.xhp" name="Cell Array">Cell Array</link> are supported.</paragraph>
69 <paragraph role="paragraph" id="par_id3148604" xml-lang="en-US" l10n="U" oldref="8">Parameters are passed using references. Therefore, a change of these values is basically possible. However, this is not supported in $[officename] Calc because it does not make sense within spreadsheets.</paragraph>
70 <paragraph role="paragraph" id="par_id3150112" xml-lang="en-US" l10n="U" oldref="9">Libraries can be reloaded during runtime and their contents can be analyzed by the administrative functions. For each function, information is available about count and type of parameters, internal and external function names and an administrative number.</paragraph>
71 <paragraph role="paragraph" id="par_id3155269" xml-lang="en-US" l10n="U" oldref="10">The functions are called synchronously and return their results immediately. Real time functions (asynchronous functions) are also possible; however, they are not explained in detail because of their complexity.</paragraph>
72 <paragraph role="heading" id="hd_id3145077" xml-lang="en-US" level="2" l10n="U" oldref="11">General information about the interface</paragraph>
73 <paragraph role="paragraph" id="par_id3146776" xml-lang="en-US" l10n="U" oldref="12">The maximum number of parameters in an Add-In function attached to $[officename] Calc is 16: one return value and a maximum of 15 function input parameters.</paragraph>
74 <paragraph role="paragraph" id="par_id3149899" xml-lang="en-US" l10n="U" oldref="13">The data types are defined as follows:</paragraph>
75 <table id="tbl_id3159203">
76 <tablerow>
77 <tablecell colspan="" rowspan="">
78 <paragraph role="paragraph" id="par_id3151302" xml-lang="en-US" l10n="U" oldref="14">
79 <emph>Data types</emph>
80 </paragraph>
81 </tablecell>
82 <tablecell colspan="" rowspan="">
83 <paragraph role="paragraph" id="par_id3143222" xml-lang="en-US" l10n="U" oldref="15">
84 <emph>Definition</emph>
85 </paragraph>
86 </tablecell>
87 </tablerow>
88 <tablerow>
89 <tablecell colspan="" rowspan="">
90 <paragraph role="paragraph" id="par_id3149384" xml-lang="en-US" l10n="U" oldref="16">CALLTYPE</paragraph>
91 </tablecell>
92 <tablecell colspan="" rowspan="">
93 <paragraph role="paragraph" id="par_id3146963" xml-lang="en-US" l10n="U" oldref="17">Under Windows: FAR PASCAL (_far _pascal)</paragraph>
94 <paragraph role="paragraph" id="par_id3153809" xml-lang="en-US" l10n="U" oldref="18">Other: default (operating system specific default)</paragraph>
95 </tablecell>
96 </tablerow>
97 <tablerow>
98 <tablecell colspan="" rowspan="">
99 <paragraph role="paragraph" id="par_id3154734" xml-lang="en-US" l10n="U" oldref="19">USHORT</paragraph>
100 </tablecell>
101 <tablecell colspan="" rowspan="">
102 <paragraph role="paragraph" id="par_id3155760" xml-lang="en-US" l10n="U" oldref="20">2 Byte unsigned Integer</paragraph>
103 </tablecell>
104 </tablerow>
105 <tablerow>
106 <tablecell colspan="" rowspan="">
107 <paragraph role="paragraph" id="par_id3145320" xml-lang="en-US" l10n="U" oldref="21">DOUBLE</paragraph>
108 </tablecell>
109 <tablecell colspan="" rowspan="">
110 <paragraph role="paragraph" id="par_id3150956" xml-lang="en-US" l10n="U" oldref="22">8 byte platform-dependent format</paragraph>
111 </tablecell>
112 </tablerow>
113 <tablerow>
114 <tablecell colspan="" rowspan="">
115 <paragraph role="paragraph" id="par_id3146097" xml-lang="en-US" l10n="U" oldref="23">Paramtype</paragraph>
116 </tablecell>
117 <tablecell colspan="" rowspan="">
118 <paragraph role="paragraph" id="par_id3150432" xml-lang="en-US" l10n="U" oldref="24">Platform-dependent like int</paragraph>
119 <paragraph role="paragraph" id="par_id3153955" xml-lang="en-US" l10n="U" oldref="25">PTR_DOUBLE =0 pointer to a double</paragraph>
120 <paragraph role="paragraph" id="par_id3159262" xml-lang="en-US" l10n="U" oldref="26">PTR_STRING =1 pointer to a zero-terminated string</paragraph>
121 <paragraph role="paragraph" id="par_id3148747" xml-lang="en-US" l10n="U" oldref="27">PTR_DOUBLE_ARR =2 pointer to a double array</paragraph>
122 <paragraph role="paragraph" id="par_id3147406" xml-lang="en-US" l10n="U" oldref="28">PTR_STRING_ARR =3 pointer to a string array</paragraph>
123 <paragraph role="paragraph" id="par_id3151392" xml-lang="en-US" l10n="U" oldref="29">PTR_CELL_ARR =4 pointer to a cell array</paragraph>
124 <paragraph role="paragraph" id="par_id3153028" xml-lang="en-US" l10n="U" oldref="30">NONE =5</paragraph>
125 </tablecell>
126 </tablerow>
127 </table>
129 <paragraph role="heading" id="hd_id3156396" xml-lang="en-US" level="2" l10n="U" oldref="31"><switchinline select="sys"><caseinline select="UNIX">Shared Library
130 </caseinline><defaultinline>DLL</defaultinline></switchinline> functions</paragraph>
131 <paragraph role="paragraph" id="par_id3153019" xml-lang="en-US" l10n="U" oldref="32">Following you will find a description of those functions, which are called at the <switchinline select="sys"><caseinline select="UNIX">Shared Library
132 </caseinline><defaultinline>external DLL</defaultinline></switchinline>.</paragraph>
133 <paragraph role="paragraph" id="par_id3150038" xml-lang="en-US" l10n="U" oldref="33">For all <switchinline select="sys"><caseinline select="UNIX">Shared Library
134 </caseinline><defaultinline>DLL</defaultinline></switchinline> functions, the following applies:</paragraph>
135 <paragraph role="paragraph" id="par_id3157876" xml-lang="en-US" l10n="U" oldref="34">void CALLTYPE fn(out, in1, in2, ...)</paragraph>
136 <paragraph role="paragraph" id="par_id3147616" xml-lang="en-US" l10n="U" oldref="35">Output: Resulting value</paragraph>
137 <paragraph role="paragraph" id="par_id3159119" xml-lang="en-US" l10n="U" oldref="36">Input: Any number of types (double&amp;, char*, double*, char**, Cell area), where the <link href="text/scalc/01/04060112.xhp" name="Cell area">Cell area</link> is an array of types double array, string array, or cell array.</paragraph>
138 <paragraph role="heading" id="hd_id3150653" xml-lang="en-US" level="3" l10n="U" oldref="37">GetFunctionCount()</paragraph>
139 <paragraph role="paragraph" id="par_id3152981" xml-lang="en-US" l10n="U" oldref="38">Returns the number of functions without the management functions of the reference parameter. Each function has a unique number between 0 and nCount-1. This number will be needed for the <link href="text/scalc/01/04060112.xhp" name="GetFunctionData">GetFunctionData</link> and <link href="text/scalc/01/04060112.xhp" name="GetParameterDescription">GetParameterDescription</link> functions later.</paragraph>
140 <paragraph role="paragraph" id="par_id3150742" xml-lang="en-US" l10n="U" oldref="39">
141 <emph>Syntax</emph>
142 </paragraph>
143 <paragraph role="paragraph" id="par_id3148728" xml-lang="en-US" l10n="U" oldref="40">void CALLTYPE GetFunctionCount(USHORT&amp; nCount)</paragraph>
144 <paragraph role="paragraph" id="par_id3154677" xml-lang="en-US" l10n="U" oldref="41">
145 <emph>Parameter</emph>
146 </paragraph>
147 <paragraph role="paragraph" id="par_id3146940" xml-lang="en-US" l10n="U" oldref="42">USHORT &amp;nCount:</paragraph>
148 <paragraph role="paragraph" id="par_id3149893" xml-lang="en-US" l10n="U" oldref="43">Output: Reference to a variable, which is supposed to contain the number of Add-In functions. For example: If the Add-In provides 5 functions for $[officename] Calc, then nCount=5.</paragraph>
149 <paragraph role="heading" id="hd_id3147476" xml-lang="en-US" level="3" l10n="U" oldref="44">GetFunctionData()</paragraph>
150 <paragraph role="paragraph" id="par_id3154841" xml-lang="en-US" l10n="U" oldref="45">Determines all the important information about an Add-In function.</paragraph>
151 <paragraph role="paragraph" id="par_id3148888" xml-lang="en-US" l10n="U" oldref="46">
152 <emph>Syntax</emph>
153 </paragraph>
154 <paragraph role="paragraph" id="par_id3148434" xml-lang="en-US" l10n="U" oldref="47">void CALLTYPE GetFunctionData(USHORT&amp; nNo, char* pFuncName, USHORT&amp; nParamCount, Paramtype* peType, char* pInternalName)</paragraph>
155 <paragraph role="paragraph" id="par_id3149253" xml-lang="en-US" l10n="U" oldref="48">
156 <emph>Parameter</emph>
157 </paragraph>
158 <paragraph role="paragraph" id="par_id3149686" xml-lang="en-US" l10n="U" oldref="49">USHORT&amp; nNo:</paragraph>
159 <paragraph role="paragraph" id="par_id3149949" xml-lang="en-US" l10n="U" oldref="50">Input: Function number between 0 and nCount-1, inclusively.</paragraph>
160 <paragraph role="paragraph" id="par_id3149546" xml-lang="en-US" l10n="U" oldref="51">char* pFuncName:</paragraph>
161 <paragraph role="paragraph" id="par_id3148579" xml-lang="en-US" l10n="U" oldref="52">Output: Function name as seen by the programmer, as it is named in the <switchinline select="sys"><caseinline select="UNIX">Shared Library
162 </caseinline><defaultinline>DLL</defaultinline></switchinline>. This name does not determine the name used in the <emph>Function Wizard</emph>.</paragraph>
163 <paragraph role="paragraph" id="par_id3153935" xml-lang="en-US" l10n="U" oldref="53">USHORT&amp; nParamCount:</paragraph>
164 <paragraph role="paragraph" id="par_id3150142" xml-lang="en-US" l10n="U" oldref="54">Output: Number of parameters in AddIn function. This number must be greater than 0, because there is always a result value; the maximum value is 16.</paragraph>
165 <paragraph role="paragraph" id="par_id3145143" xml-lang="en-US" l10n="U" oldref="55">Paramtype* peType:</paragraph>
166 <paragraph role="paragraph" id="par_id3148750" xml-lang="en-US" l10n="U" oldref="56">Output: Pointer to an array of exactly 16 variables of type Paramtype. The first nParamCount entries are filled with the suitable type of parameter.</paragraph>
167 <paragraph role="paragraph" id="par_id3153078" xml-lang="en-US" l10n="U" oldref="57">char* pInternalName:</paragraph>
168 <paragraph role="paragraph" id="par_id3155261" xml-lang="en-US" l10n="U" oldref="58">Output: Function name as seen by the user, as it appears in the <emph>Function Wizard</emph>. May contain umlauts.</paragraph>
169 <paragraph role="paragraph" id="par_id3153327" xml-lang="en-US" l10n="U" oldref="59">The pFuncName and pInternalName parameters are char arrays, which are implemented with size 256 in $[officename] Calc.</paragraph>
170 <paragraph role="heading" id="hd_id3148567" xml-lang="en-US" level="3" l10n="U" oldref="60">GetParameterDescription()</paragraph>
171 <paragraph role="paragraph" id="par_id3153000" xml-lang="en-US" l10n="U" oldref="61">Provides a brief description of the Add-In function and its parameters. As an option, this function can be used to show a function and parameter description in the <emph>Function Wizard</emph>.</paragraph>
172 <paragraph role="paragraph" id="par_id3154501" xml-lang="en-US" l10n="U" oldref="62">
173 <emph>Syntax</emph>
174 </paragraph>
175 <paragraph role="paragraph" id="par_id3153564" xml-lang="en-US" l10n="U" oldref="63">void CALLTYPE GetParameterDescription(USHORT&amp; nNo, USHORT&amp; nParam, char* pName, char* pDesc)</paragraph>
176 <paragraph role="paragraph" id="par_id3157995" xml-lang="en-US" l10n="U" oldref="64">
177 <emph>Parameter</emph>
178 </paragraph>
179 <paragraph role="paragraph" id="par_id3155925" xml-lang="en-US" l10n="U" oldref="65">USHORT&amp; nNo:</paragraph>
180 <paragraph role="paragraph" id="par_id3149883" xml-lang="en-US" l10n="U" oldref="66">Input: Number of the function in the library; between 0 and nCount-1.</paragraph>
181 <paragraph role="paragraph" id="par_id3154326" xml-lang="en-US" l10n="U" oldref="67">USHORT&amp; nParam:</paragraph>
182 <paragraph role="paragraph" id="par_id3159139" xml-lang="en-US" l10n="U" oldref="68">Input: Indicates, for which parameter the description is provided; parameters start at 1. If nParam is 0, the description itself is supposed to be provided in pDesc; in this case, pName does not have any meaning.</paragraph>
183 <paragraph role="paragraph" id="par_id3147374" xml-lang="en-US" l10n="U" oldref="69">char* pName:</paragraph>
184 <paragraph role="paragraph" id="par_id3145245" xml-lang="en-US" l10n="U" oldref="70">Output: Takes up the parameter name or type, for example, the word "Number" or "String" or "Date", and so on. Implemented in $[officename] Calc as char[256].</paragraph>
185 <paragraph role="paragraph" id="par_id3151020" xml-lang="en-US" l10n="U" oldref="71">char* pDesc:</paragraph>
186 <paragraph role="paragraph" id="par_id3148389" xml-lang="en-US" l10n="U" oldref="72">Output: Takes up the description of the parameter, for example, "Value, at which the universe is to be calculated." Implemented in $[officename] Calc as char[256].</paragraph>
187 <paragraph role="paragraph" id="par_id3145303" xml-lang="en-US" l10n="U" oldref="73">pName and pDesc are char arrays; implemented in $[officename] Calc with size 256. Please note that the space available in the <emph>Function Wizard</emph> is limited and that the 256 characters cannot be fully used.</paragraph>
188 <paragraph role="heading" id="hd_id3148874" xml-lang="en-US" level="2" l10n="U" oldref="76">Cell areas</paragraph>
189 <paragraph role="paragraph" id="par_id3150265" xml-lang="en-US" l10n="U" oldref="77">The following tables contain information about which data structures must be provided by an external program module in order to pass cell areas. $[officename] Calc distinguishes between three different arrays, depending on the data type.</paragraph>
190 <paragraph role="heading" id="hd_id3156060" xml-lang="en-US" level="3" l10n="U" oldref="78">Double Array</paragraph>
191 <paragraph role="paragraph" id="par_id3149540" xml-lang="en-US" l10n="U" oldref="79">As a parameter, a cell area with values of the Number/Double type can be passed. A double array in $[officename] Calc is defined as follows:</paragraph>
192 <table id="tbl_id3150665">
193 <tablerow>
194 <tablecell colspan="" rowspan="">
195 <paragraph role="paragraph" id="par_id3149388" xml-lang="en-US" l10n="U" oldref="80">
196 <emph>Offset</emph>
197 </paragraph>
198 </tablecell>
199 <tablecell colspan="" rowspan="">
200 <paragraph role="paragraph" id="par_id3154636" xml-lang="en-US" l10n="U" oldref="81">
201 <emph>Name</emph>
202 </paragraph>
203 </tablecell>
204 <tablecell colspan="" rowspan="">
205 <paragraph role="paragraph" id="par_id3153228" xml-lang="en-US" l10n="U" oldref="82">
206 <emph>Description</emph>
207 </paragraph>
208 </tablecell>
209 </tablerow>
210 <tablerow>
211 <tablecell colspan="" rowspan="">
212 <paragraph role="paragraph" id="par_id3150685" xml-lang="en-US" l10n="U" oldref="83">0</paragraph>
213 </tablecell>
214 <tablecell colspan="" rowspan="">
215 <paragraph role="paragraph" id="par_id3154869" xml-lang="en-US" l10n="U" oldref="84">Col1</paragraph>
216 </tablecell>
217 <tablecell colspan="" rowspan="">
218 <paragraph role="paragraph" id="par_id3147541" xml-lang="en-US" l10n="U" oldref="85">Column number in the upper-left corner of the cell area. Numbering starts at 0.</paragraph>
219 </tablecell>
220 </tablerow>
221 <tablerow>
222 <tablecell colspan="" rowspan="">
223 <paragraph role="paragraph" id="par_id3149783" xml-lang="en-US" l10n="U" oldref="86">2</paragraph>
224 </tablecell>
225 <tablecell colspan="" rowspan="">
226 <paragraph role="paragraph" id="par_id3155986" xml-lang="en-US" l10n="U" oldref="87">Row1</paragraph>
227 </tablecell>
228 <tablecell colspan="" rowspan="">
229 <paragraph role="paragraph" id="par_id3147483" xml-lang="en-US" l10n="U" oldref="88">Row number in the upper-left corner of the cell area; numbering starts at 0.</paragraph>
230 </tablecell>
231 </tablerow>
232 <tablerow>
233 <tablecell colspan="" rowspan="">
234 <paragraph role="paragraph" id="par_id3153721" xml-lang="en-US" l10n="U" oldref="89">4</paragraph>
235 </tablecell>
236 <tablecell colspan="" rowspan="">
237 <paragraph role="paragraph" id="par_id3154317" xml-lang="en-US" l10n="U" oldref="90">Tab1</paragraph>
238 </tablecell>
239 <tablecell colspan="" rowspan="">
240 <paragraph role="paragraph" id="par_id3149820" xml-lang="en-US" l10n="U" oldref="91">Table number in the upper-left corner of the cell area; numbering starts at 0.</paragraph>
241 </tablecell>
242 </tablerow>
243 <tablerow>
244 <tablecell colspan="" rowspan="">
245 <paragraph role="paragraph" id="par_id3163820" xml-lang="en-US" l10n="U" oldref="92">6</paragraph>
246 </tablecell>
247 <tablecell colspan="" rowspan="">
248 <paragraph role="paragraph" id="par_id3149710" xml-lang="en-US" l10n="U" oldref="93">Col2</paragraph>
249 </tablecell>
250 <tablecell colspan="" rowspan="">
251 <paragraph role="paragraph" id="par_id3154819" xml-lang="en-US" l10n="U" oldref="94">Column number in the lower-right corner of the cell area. Numbering starts at 0.</paragraph>
252 </tablecell>
253 </tablerow>
254 <tablerow>
255 <tablecell colspan="" rowspan="">
256 <paragraph role="paragraph" id="par_id3145083" xml-lang="en-US" l10n="U" oldref="95">8</paragraph>
257 </tablecell>
258 <tablecell colspan="" rowspan="">
259 <paragraph role="paragraph" id="par_id3156310" xml-lang="en-US" l10n="U" oldref="96">Row2</paragraph>
260 </tablecell>
261 <tablecell colspan="" rowspan="">
262 <paragraph role="paragraph" id="par_id3150968" xml-lang="en-US" l10n="U" oldref="97">Row number in the lower-right corner of the cell area; numbering starts at 0.</paragraph>
263 </tablecell>
264 </tablerow>
265 <tablerow>
266 <tablecell colspan="" rowspan="">
267 <paragraph role="paragraph" id="par_id3156133" xml-lang="en-US" l10n="U" oldref="98">10</paragraph>
268 </tablecell>
269 <tablecell colspan="" rowspan="">
270 <paragraph role="paragraph" id="par_id3153218" xml-lang="en-US" l10n="U" oldref="99">Tab2</paragraph>
271 </tablecell>
272 <tablecell colspan="" rowspan="">
273 <paragraph role="paragraph" id="par_id3147086" xml-lang="en-US" l10n="U" oldref="100">Table number in the lower-right corner of the cell area; numbering starts at 0.</paragraph>
274 </tablecell>
275 </tablerow>
276 <tablerow>
277 <tablecell colspan="" rowspan="">
278 <paragraph role="paragraph" id="par_id3151270" xml-lang="en-US" l10n="U" oldref="101">12</paragraph>
279 </tablecell>
280 <tablecell colspan="" rowspan="">
281 <paragraph role="paragraph" id="par_id3152934" xml-lang="en-US" l10n="U" oldref="102">Count</paragraph>
282 </tablecell>
283 <tablecell colspan="" rowspan="">
284 <paragraph role="paragraph" id="par_id3145202" xml-lang="en-US" l10n="U" oldref="103">Number of the following elements. Empty cells are not counted or passed.</paragraph>
285 </tablecell>
286 </tablerow>
287 <tablerow>
288 <tablecell colspan="" rowspan="">
289 <paragraph role="paragraph" id="par_id3150879" xml-lang="en-US" l10n="U" oldref="104">14</paragraph>
290 </tablecell>
291 <tablecell colspan="" rowspan="">
292 <paragraph role="paragraph" id="par_id3156002" xml-lang="en-US" l10n="U" oldref="105">Col</paragraph>
293 </tablecell>
294 <tablecell colspan="" rowspan="">
295 <paragraph role="paragraph" id="par_id3147276" xml-lang="en-US" l10n="U" oldref="106">Column number of the element. Numbering starts at 0.</paragraph>
296 </tablecell>
297 </tablerow>
298 <tablerow>
299 <tablecell colspan="" rowspan="">
300 <paragraph role="paragraph" id="par_id3151295" xml-lang="en-US" l10n="U" oldref="107">16</paragraph>
301 </tablecell>
302 <tablecell colspan="" rowspan="">
303 <paragraph role="paragraph" id="par_id3150261" xml-lang="en-US" l10n="U" oldref="108">Row</paragraph>
304 </tablecell>
305 <tablecell colspan="" rowspan="">
306 <paragraph role="paragraph" id="par_id3155851" xml-lang="en-US" l10n="U" oldref="109">Row number of the element; numbering starts at 0.</paragraph>
307 </tablecell>
308 </tablerow>
309 <tablerow>
310 <tablecell colspan="" rowspan="">
311 <paragraph role="paragraph" id="par_id3153150" xml-lang="en-US" l10n="U" oldref="110">18</paragraph>
312 </tablecell>
313 <tablecell colspan="" rowspan="">
314 <paragraph role="paragraph" id="par_id3153758" xml-lang="en-US" l10n="U" oldref="111">Tab</paragraph>
315 </tablecell>
316 <tablecell colspan="" rowspan="">
317 <paragraph role="paragraph" id="par_id3150154" xml-lang="en-US" l10n="U" oldref="112">Table number of the element; numbering starts at 0.</paragraph>
318 </tablecell>
319 </tablerow>
320 <tablerow>
321 <tablecell colspan="" rowspan="">
322 <paragraph role="paragraph" id="par_id3149289" xml-lang="en-US" l10n="U" oldref="113">20</paragraph>
323 </tablecell>
324 <tablecell colspan="" rowspan="">
325 <paragraph role="paragraph" id="par_id3156010" xml-lang="en-US" l10n="U" oldref="114">Error</paragraph>
326 </tablecell>
327 <tablecell colspan="" rowspan="">
328 <paragraph role="paragraph" id="par_id3159181" xml-lang="en-US" l10n="U" oldref="115">Error number, where the value 0 is defined as "no error." If the element comes from a formula cell the error value is determined by the formula.</paragraph>
329 </tablecell>
330 </tablerow>
331 <tablerow>
332 <tablecell colspan="" rowspan="">
333 <paragraph role="paragraph" id="par_id3147493" xml-lang="en-US" l10n="U" oldref="116">22</paragraph>
334 </tablecell>
335 <tablecell colspan="" rowspan="">
336 <paragraph role="paragraph" id="par_id3149200" xml-lang="en-US" l10n="U" oldref="117">Value</paragraph>
337 </tablecell>
338 <tablecell colspan="" rowspan="">
339 <paragraph role="paragraph" id="par_id3151174" xml-lang="en-US" l10n="U" oldref="118">8 byte IEEE variable of type double/floating point</paragraph>
340 </tablecell>
341 </tablerow>
342 <tablerow>
343 <tablecell colspan="" rowspan="">
344 <paragraph role="paragraph" id="par_id3154688" xml-lang="en-US" l10n="U" oldref="119">30</paragraph>
345 </tablecell>
346 <tablecell colspan="" rowspan="">
347 <paragraph role="paragraph" id="par_id3159337" xml-lang="en-US" l10n="U" oldref="120">...</paragraph>
348 </tablecell>
349 <tablecell colspan="" rowspan="">
350 <paragraph role="paragraph" id="par_id3155388" xml-lang="en-US" l10n="U" oldref="121">Next element</paragraph>
351 </tablecell>
352 </tablerow>
353 </table>
355 <paragraph role="heading" id="hd_id3154935" xml-lang="en-US" level="3" l10n="U" oldref="122">String Array</paragraph>
356 <paragraph role="paragraph" id="par_id3153105" xml-lang="en-US" l10n="U" oldref="123">A cell area, which contains values of data type Text and is passed as a string array. A string array in $[officename] Calc is defined as follows:</paragraph>
357 <table id="tbl_id3146992">
358 <tablerow>
359 <tablecell colspan="" rowspan="">
360 <paragraph role="paragraph" id="par_id3149908" xml-lang="en-US" l10n="U" oldref="124">
361 <emph>Offset</emph>
362 </paragraph>
363 </tablecell>
364 <tablecell colspan="" rowspan="">
365 <paragraph role="paragraph" id="par_id3159165" xml-lang="en-US" l10n="U" oldref="125">
366 <emph>Name</emph>
367 </paragraph>
368 </tablecell>
369 <tablecell colspan="" rowspan="">
370 <paragraph role="paragraph" id="par_id3159150" xml-lang="en-US" l10n="U" oldref="126">
371 <emph>Description</emph>
372 </paragraph>
373 </tablecell>
374 </tablerow>
375 <tablerow>
376 <tablecell colspan="" rowspan="">
377 <paragraph role="paragraph" id="par_id3149769" xml-lang="en-US" l10n="U" oldref="127">0</paragraph>
378 </tablecell>
379 <tablecell colspan="" rowspan="">
380 <paragraph role="paragraph" id="par_id3150509" xml-lang="en-US" l10n="U" oldref="128">Col1</paragraph>
381 </tablecell>
382 <tablecell colspan="" rowspan="">
383 <paragraph role="paragraph" id="par_id3148447" xml-lang="en-US" l10n="U" oldref="129">Column number in the upper-left corner of the cell area. Numbering starts at 0.</paragraph>
384 </tablecell>
385 </tablerow>
386 <tablerow>
387 <tablecell colspan="" rowspan="">
388 <paragraph role="paragraph" id="par_id3145418" xml-lang="en-US" l10n="U" oldref="130">2</paragraph>
389 </tablecell>
390 <tablecell colspan="" rowspan="">
391 <paragraph role="paragraph" id="par_id3147512" xml-lang="en-US" l10n="U" oldref="131">Row1</paragraph>
392 </tablecell>
393 <tablecell colspan="" rowspan="">
394 <paragraph role="paragraph" id="par_id3147235" xml-lang="en-US" l10n="U" oldref="132">Row number in the upper-left corner of the cell area; numbering starts at 0.</paragraph>
395 </tablecell>
396 </tablerow>
397 <tablerow>
398 <tablecell colspan="" rowspan="">
399 <paragraph role="paragraph" id="par_id3155362" xml-lang="en-US" l10n="U" oldref="133">4</paragraph>
400 </tablecell>
401 <tablecell colspan="" rowspan="">
402 <paragraph role="paragraph" id="par_id3151051" xml-lang="en-US" l10n="U" oldref="134">Tab1</paragraph>
403 </tablecell>
404 <tablecell colspan="" rowspan="">
405 <paragraph role="paragraph" id="par_id3148923" xml-lang="en-US" l10n="U" oldref="135">Table number in the upper-left corner of the cell area; numbering starts at 0.</paragraph>
406 </tablecell>
407 </tablerow>
408 <tablerow>
409 <tablecell colspan="" rowspan="">
410 <paragraph role="paragraph" id="par_id3149158" xml-lang="en-US" l10n="U" oldref="136">6</paragraph>
411 </tablecell>
412 <tablecell colspan="" rowspan="">
413 <paragraph role="paragraph" id="par_id3166437" xml-lang="en-US" l10n="U" oldref="137">Col2</paragraph>
414 </tablecell>
415 <tablecell colspan="" rowspan="">
416 <paragraph role="paragraph" id="par_id3149788" xml-lang="en-US" l10n="U" oldref="138">Column number in the lower-right corner of the cell area. Numbering starts at 0.</paragraph>
417 </tablecell>
418 </tablerow>
419 <tablerow>
420 <tablecell colspan="" rowspan="">
421 <paragraph role="paragraph" id="par_id3166450" xml-lang="en-US" l10n="U" oldref="139">8</paragraph>
422 </tablecell>
423 <tablecell colspan="" rowspan="">
424 <paragraph role="paragraph" id="par_id3152877" xml-lang="en-US" l10n="U" oldref="140">Row2</paragraph>
425 </tablecell>
426 <tablecell colspan="" rowspan="">
427 <paragraph role="paragraph" id="par_id3152949" xml-lang="en-US" l10n="U" oldref="141">Row number in the lower-right corner of the cell area; numbering starts at 0.</paragraph>
428 </tablecell>
429 </tablerow>
430 <tablerow>
431 <tablecell colspan="" rowspan="">
432 <paragraph role="paragraph" id="par_id3159270" xml-lang="en-US" l10n="U" oldref="142">10</paragraph>
433 </tablecell>
434 <tablecell colspan="" rowspan="">
435 <paragraph role="paragraph" id="par_id3154107" xml-lang="en-US" l10n="U" oldref="143">Tab2</paragraph>
436 </tablecell>
437 <tablecell colspan="" rowspan="">
438 <paragraph role="paragraph" id="par_id3153747" xml-lang="en-US" l10n="U" oldref="144">Table number in the lower-right corner of the cell area; numbering starts at 0.</paragraph>
439 </tablecell>
440 </tablerow>
441 <tablerow>
442 <tablecell colspan="" rowspan="">
443 <paragraph role="paragraph" id="par_id3149924" xml-lang="en-US" l10n="U" oldref="145">12</paragraph>
444 </tablecell>
445 <tablecell colspan="" rowspan="">
446 <paragraph role="paragraph" id="par_id3154858" xml-lang="en-US" l10n="U" oldref="146">Count</paragraph>
447 </tablecell>
448 <tablecell colspan="" rowspan="">
449 <paragraph role="paragraph" id="par_id3148621" xml-lang="en-US" l10n="U" oldref="147">Number of the following elements. Empty cells are not counted or passed.</paragraph>
450 </tablecell>
451 </tablerow>
452 <tablerow>
453 <tablecell colspan="" rowspan="">
454 <paragraph role="paragraph" id="par_id3148467" xml-lang="en-US" l10n="U" oldref="148">14</paragraph>
455 </tablecell>
456 <tablecell colspan="" rowspan="">
457 <paragraph role="paragraph" id="par_id3151126" xml-lang="en-US" l10n="U" oldref="149">Col</paragraph>
458 </tablecell>
459 <tablecell colspan="" rowspan="">
460 <paragraph role="paragraph" id="par_id3154334" xml-lang="en-US" l10n="U" oldref="150">Column number of the element. Numbering starts at 0.</paragraph>
461 </tablecell>
462 </tablerow>
463 <tablerow>
464 <tablecell colspan="" rowspan="">
465 <paragraph role="paragraph" id="par_id3149416" xml-lang="en-US" l10n="U" oldref="151">16</paragraph>
466 </tablecell>
467 <tablecell colspan="" rowspan="">
468 <paragraph role="paragraph" id="par_id3150631" xml-lang="en-US" l10n="U" oldref="152">Row</paragraph>
469 </tablecell>
470 <tablecell colspan="" rowspan="">
471 <paragraph role="paragraph" id="par_id3150424" xml-lang="en-US" l10n="U" oldref="153">Row number of the element; numbering starts at 0.</paragraph>
472 </tablecell>
473 </tablerow>
474 <tablerow>
475 <tablecell colspan="" rowspan="">
476 <paragraph role="paragraph" id="par_id3154797" xml-lang="en-US" l10n="U" oldref="154">18</paragraph>
477 </tablecell>
478 <tablecell colspan="" rowspan="">
479 <paragraph role="paragraph" id="par_id3143274" xml-lang="en-US" l10n="U" oldref="155">Tab</paragraph>
480 </tablecell>
481 <tablecell colspan="" rowspan="">
482 <paragraph role="paragraph" id="par_id3149513" xml-lang="en-US" l10n="U" oldref="156">Table number of the element; numbering starts at 0.</paragraph>
483 </tablecell>
484 </tablerow>
485 <tablerow>
486 <tablecell colspan="" rowspan="">
487 <paragraph role="paragraph" id="par_id3145306" xml-lang="en-US" l10n="U" oldref="157">20</paragraph>
488 </tablecell>
489 <tablecell colspan="" rowspan="">
490 <paragraph role="paragraph" id="par_id3153948" xml-lang="en-US" l10n="U" oldref="158">Error</paragraph>
491 </tablecell>
492 <tablecell colspan="" rowspan="">
493 <paragraph role="paragraph" id="par_id3153534" xml-lang="en-US" l10n="U" oldref="159">Error number, where the value 0 is defined as "no error." If the element comes from a formula cell the error value is determined by the formula.</paragraph>
494 </tablecell>
495 </tablerow>
496 <tablerow>
497 <tablecell colspan="" rowspan="">
498 <paragraph role="paragraph" id="par_id3153311" xml-lang="en-US" l10n="U" oldref="160">22</paragraph>
499 </tablecell>
500 <tablecell colspan="" rowspan="">
501 <paragraph role="paragraph" id="par_id3148695" xml-lang="en-US" l10n="U" oldref="161">Len</paragraph>
502 </tablecell>
503 <tablecell colspan="" rowspan="">
504 <paragraph role="paragraph" id="par_id3152769" xml-lang="en-US" l10n="U" oldref="162">Length of the following string, including closing zero byte. If the length including closing zero byte equals an odd value a second zero byte is added to the string so that an even value is achieved. Therefore, Len is calculated using ((StrLen+2)&amp;~1).</paragraph>
505 </tablecell>
506 </tablerow>
507 <tablerow>
508 <tablecell colspan="" rowspan="">
509 <paragraph role="paragraph" id="par_id3153772" xml-lang="en-US" l10n="U" oldref="163">24</paragraph>
510 </tablecell>
511 <tablecell colspan="" rowspan="">
512 <paragraph role="paragraph" id="par_id3153702" xml-lang="en-US" l10n="U" oldref="164">String</paragraph>
513 </tablecell>
514 <tablecell colspan="" rowspan="">
515 <paragraph role="paragraph" id="par_id3154474" xml-lang="en-US" l10n="U" oldref="165">String with closing zero byte</paragraph>
516 </tablecell>
517 </tablerow>
518 <tablerow>
519 <tablecell colspan="" rowspan="">
520 <paragraph role="paragraph" id="par_id3156269" xml-lang="en-US" l10n="U" oldref="166">24+Len</paragraph>
521 </tablecell>
522 <tablecell colspan="" rowspan="">
523 <paragraph role="paragraph" id="par_id3154825" xml-lang="en-US" l10n="U" oldref="167">...</paragraph>
524 </tablecell>
525 <tablecell colspan="" rowspan="">
526 <paragraph role="paragraph" id="par_id3147097" xml-lang="en-US" l10n="U" oldref="168">Next element</paragraph>
527 </tablecell>
528 </tablerow>
529 </table>
531 <paragraph role="heading" id="hd_id3159091" xml-lang="en-US" level="3" l10n="U" oldref="169">Cell Array</paragraph>
532 <paragraph role="paragraph" id="par_id3156140" xml-lang="en-US" l10n="U" oldref="170">Cell arrays are used to call cell areas containing text as well as numbers. A cell array in $[officename] Calc is defined as follows:</paragraph>
533 <table id="tbl_id3150942">
534 <tablerow>
535 <tablecell colspan="" rowspan="">
536 <paragraph role="paragraph" id="par_id3154664" xml-lang="en-US" l10n="U" oldref="171">
537 <emph>Offset</emph>
538 </paragraph>
539 </tablecell>
540 <tablecell colspan="" rowspan="">
541 <paragraph role="paragraph" id="par_id3154566" xml-lang="en-US" l10n="U" oldref="172">
542 <emph>Name</emph>
543 </paragraph>
544 </tablecell>
545 <tablecell colspan="" rowspan="">
546 <paragraph role="paragraph" id="par_id3146073" xml-lang="en-US" l10n="U" oldref="173">
547 <emph>Description</emph>
548 </paragraph>
549 </tablecell>
550 </tablerow>
551 <tablerow>
552 <tablecell colspan="" rowspan="">
553 <paragraph role="paragraph" id="par_id3154117" xml-lang="en-US" l10n="U" oldref="174">0</paragraph>
554 </tablecell>
555 <tablecell colspan="" rowspan="">
556 <paragraph role="paragraph" id="par_id3150988" xml-lang="en-US" l10n="U" oldref="175">Col1</paragraph>
557 </tablecell>
558 <tablecell colspan="" rowspan="">
559 <paragraph role="paragraph" id="par_id3146783" xml-lang="en-US" l10n="U" oldref="176">Column number in the upper-left corner of the cell area. Numbering starts at 0.</paragraph>
560 </tablecell>
561 </tablerow>
562 <tablerow>
563 <tablecell colspan="" rowspan="">
564 <paragraph role="paragraph" id="par_id3153666" xml-lang="en-US" l10n="U" oldref="177">2</paragraph>
565 </tablecell>
566 <tablecell colspan="" rowspan="">
567 <paragraph role="paragraph" id="par_id3149560" xml-lang="en-US" l10n="U" oldref="178">Row1</paragraph>
568 </tablecell>
569 <tablecell colspan="" rowspan="">
570 <paragraph role="paragraph" id="par_id3156156" xml-lang="en-US" l10n="U" oldref="179">Row number in the upper-left corner of the cell area; numbering starts at 0.</paragraph>
571 </tablecell>
572 </tablerow>
573 <tablerow>
574 <tablecell colspan="" rowspan="">
575 <paragraph role="paragraph" id="par_id3150408" xml-lang="en-US" l10n="U" oldref="180">4</paragraph>
576 </tablecell>
577 <tablecell colspan="" rowspan="">
578 <paragraph role="paragraph" id="par_id3150593" xml-lang="en-US" l10n="U" oldref="181">Tab1</paragraph>
579 </tablecell>
580 <tablecell colspan="" rowspan="">
581 <paragraph role="paragraph" id="par_id3150357" xml-lang="en-US" l10n="U" oldref="182">Table number in the upper-left corner of the cell area; numbering starts at 0.</paragraph>
582 </tablecell>
583 </tablerow>
584 <tablerow>
585 <tablecell colspan="" rowspan="">
586 <paragraph role="paragraph" id="par_id3146912" xml-lang="en-US" l10n="U" oldref="183">6</paragraph>
587 </tablecell>
588 <tablecell colspan="" rowspan="">
589 <paragraph role="paragraph" id="par_id3153352" xml-lang="en-US" l10n="U" oldref="184">Col2</paragraph>
590 </tablecell>
591 <tablecell colspan="" rowspan="">
592 <paragraph role="paragraph" id="par_id3155893" xml-lang="en-US" l10n="U" oldref="185">Column number in the lower-right corner of the cell area. Numbering starts at 0.</paragraph>
593 </tablecell>
594 </tablerow>
595 <tablerow>
596 <tablecell colspan="" rowspan="">
597 <paragraph role="paragraph" id="par_id3150827" xml-lang="en-US" l10n="U" oldref="186">8</paragraph>
598 </tablecell>
599 <tablecell colspan="" rowspan="">
600 <paragraph role="paragraph" id="par_id3148406" xml-lang="en-US" l10n="U" oldref="187">Row2</paragraph>
601 </tablecell>
602 <tablecell colspan="" rowspan="">
603 <paragraph role="paragraph" id="par_id3150673" xml-lang="en-US" l10n="U" oldref="188">Row number in the lower-right corner of the cell area; numbering starts at 0.</paragraph>
604 </tablecell>
605 </tablerow>
606 <tablerow>
607 <tablecell colspan="" rowspan="">
608 <paragraph role="paragraph" id="par_id3155864" xml-lang="en-US" l10n="U" oldref="189">10</paragraph>
609 </tablecell>
610 <tablecell colspan="" rowspan="">
611 <paragraph role="paragraph" id="par_id3153197" xml-lang="en-US" l10n="U" oldref="190">Tab2</paragraph>
612 </tablecell>
613 <tablecell colspan="" rowspan="">
614 <paragraph role="paragraph" id="par_id3149329" xml-lang="en-US" l10n="U" oldref="191">Table number in the lower-right corner of the cell area; numbering starts at 0.</paragraph>
615 </tablecell>
616 </tablerow>
617 <tablerow>
618 <tablecell colspan="" rowspan="">
619 <paragraph role="paragraph" id="par_id3147360" xml-lang="en-US" l10n="U" oldref="192">12</paragraph>
620 </tablecell>
621 <tablecell colspan="" rowspan="">
622 <paragraph role="paragraph" id="par_id3154520" xml-lang="en-US" l10n="U" oldref="193">Count</paragraph>
623 </tablecell>
624 <tablecell colspan="" rowspan="">
625 <paragraph role="paragraph" id="par_id3150647" xml-lang="en-US" l10n="U" oldref="194">Number of the following elements. Empty cells are not counted or passed.</paragraph>
626 </tablecell>
627 </tablerow>
628 <tablerow>
629 <tablecell colspan="" rowspan="">
630 <paragraph role="paragraph" id="par_id3149747" xml-lang="en-US" l10n="U" oldref="195">14</paragraph>
631 </tablecell>
632 <tablecell colspan="" rowspan="">
633 <paragraph role="paragraph" id="par_id3147579" xml-lang="en-US" l10n="U" oldref="196">Col</paragraph>
634 </tablecell>
635 <tablecell colspan="" rowspan="">
636 <paragraph role="paragraph" id="par_id3154188" xml-lang="en-US" l10n="U" oldref="197">Column number of the element. Numbering starts at 0.</paragraph>
637 </tablecell>
638 </tablerow>
639 <tablerow>
640 <tablecell colspan="" rowspan="">
641 <paragraph role="paragraph" id="par_id3159209" xml-lang="en-US" l10n="U" oldref="198">16</paragraph>
642 </tablecell>
643 <tablecell colspan="" rowspan="">
644 <paragraph role="paragraph" id="par_id3153265" xml-lang="en-US" l10n="U" oldref="199">Row</paragraph>
645 </tablecell>
646 <tablecell colspan="" rowspan="">
647 <paragraph role="paragraph" id="par_id3150095" xml-lang="en-US" l10n="U" oldref="200">Row number of the element; numbering starts at 0.</paragraph>
648 </tablecell>
649 </tablerow>
650 <tablerow>
651 <tablecell colspan="" rowspan="">
652 <paragraph role="paragraph" id="par_id3151276" xml-lang="en-US" l10n="U" oldref="201">18</paragraph>
653 </tablecell>
654 <tablecell colspan="" rowspan="">
655 <paragraph role="paragraph" id="par_id3149177" xml-lang="en-US" l10n="U" oldref="202">Tab</paragraph>
656 </tablecell>
657 <tablecell colspan="" rowspan="">
658 <paragraph role="paragraph" id="par_id3146925" xml-lang="en-US" l10n="U" oldref="203">Table number of the element; numbering starts at 0.</paragraph>
659 </tablecell>
660 </tablerow>
661 <tablerow>
662 <tablecell colspan="" rowspan="">
663 <paragraph role="paragraph" id="par_id3150488" xml-lang="en-US" l10n="U" oldref="204">20</paragraph>
664 </tablecell>
665 <tablecell colspan="" rowspan="">
666 <paragraph role="paragraph" id="par_id3149441" xml-lang="en-US" l10n="U" oldref="205">Error</paragraph>
667 </tablecell>
668 <tablecell colspan="" rowspan="">
669 <paragraph role="paragraph" id="par_id3156048" xml-lang="en-US" l10n="U" oldref="206">Error number, where the value 0 is defined as "no error." If the element comes from a formula cell the error value is determined by the formula.</paragraph>
670 </tablecell>
671 </tablerow>
672 <tablerow>
673 <tablecell colspan="" rowspan="">
674 <paragraph role="paragraph" id="par_id3163813" xml-lang="en-US" l10n="U" oldref="207">22</paragraph>
675 </tablecell>
676 <tablecell colspan="" rowspan="">
677 <paragraph role="paragraph" id="par_id3159102" xml-lang="en-US" l10n="U" oldref="208">Type</paragraph>
678 </tablecell>
679 <tablecell colspan="" rowspan="">
680 <paragraph role="paragraph" id="par_id3149581" xml-lang="en-US" l10n="U" oldref="209">Type of cell content, 0 == Double, 1 == String</paragraph>
681 </tablecell>
682 </tablerow>
683 <tablerow>
684 <tablecell colspan="" rowspan="">
685 <paragraph role="paragraph" id="par_id3155182" xml-lang="en-US" l10n="U" oldref="210">24</paragraph>
686 </tablecell>
687 <tablecell colspan="" rowspan="">
688 <paragraph role="paragraph" id="par_id3153291" xml-lang="en-US" l10n="U" oldref="211">Value or Len</paragraph>
689 </tablecell>
690 <tablecell colspan="" rowspan="">
691 <paragraph role="paragraph" id="par_id3148560" xml-lang="en-US" l10n="U" oldref="212">If type == 0: 8 byte IEEE variable of type double/floating point</paragraph>
692 <paragraph role="paragraph" id="par_id3148901" xml-lang="en-US" l10n="U" oldref="213">If type == 1: Length of the following string, including closing zero byte. If the length including closing zero byte equals an odd value a second zero byte is added to the string so that an even value is achieved. Therefore, Len is calculated using ((StrLen+2)&amp;~1).</paragraph>
693 </tablecell>
694 </tablerow>
695 <tablerow>
696 <tablecell colspan="" rowspan="">
697 <paragraph role="paragraph" id="par_id3145215" xml-lang="en-US" l10n="U" oldref="214">26 if type==1</paragraph>
698 </tablecell>
699 <tablecell colspan="" rowspan="">
700 <paragraph role="paragraph" id="par_id3155143" xml-lang="en-US" l10n="U" oldref="215">String</paragraph>
701 </tablecell>
702 <tablecell colspan="" rowspan="">
703 <paragraph role="paragraph" id="par_id3149298" xml-lang="en-US" l10n="U" oldref="216">If type == 1: String with closing zero byte</paragraph>
704 </tablecell>
705 </tablerow>
706 <tablerow>
707 <tablecell colspan="" rowspan="">
708 <paragraph role="paragraph" id="par_id3151322" xml-lang="en-US" l10n="U" oldref="217">32 or 26+Len</paragraph>
709 </tablecell>
710 <tablecell colspan="" rowspan="">
711 <paragraph role="paragraph" id="par_id3163722" xml-lang="en-US" l10n="U" oldref="218">...</paragraph>
712 </tablecell>
713 <tablecell colspan="" rowspan="">
714 <paragraph role="paragraph" id="par_id3151059" xml-lang="en-US" l10n="U" oldref="219">Next element</paragraph>
715 </tablecell>
716 </tablerow>
717 </table>
719 </body>
720 </helpdocument>