04060112.xhp (02dbb15c) | 04060112.xhp (31631f38) |
---|---|
1<?xml version="1.0" encoding="UTF-8"?> 2 | 1<?xml version="1.0" encoding="UTF-8"?> 2 |
3 | |
4<!--*********************************************************** | 3<!--*********************************************************** |
5 * | 4 * |
6 * Licensed to the Apache Software Foundation (ASF) under one 7 * or more contributor license agreements. See the NOTICE file 8 * distributed with this work for additional information 9 * regarding copyright ownership. The ASF licenses this file 10 * to you under the Apache License, Version 2.0 (the 11 * "License"); you may not use this file except in compliance 12 * with the License. You may obtain a copy of the License at | 5 * Licensed to the Apache Software Foundation (ASF) under one 6 * or more contributor license agreements. See the NOTICE file 7 * distributed with this work for additional information 8 * regarding copyright ownership. The ASF licenses this file 9 * to you under the Apache License, Version 2.0 (the 10 * "License"); you may not use this file except in compliance 11 * with the License. You may obtain a copy of the License at |
13 * | 12 * |
14 * http://www.apache.org/licenses/LICENSE-2.0 | 13 * http://www.apache.org/licenses/LICENSE-2.0 |
15 * | 14 * |
16 * Unless required by applicable law or agreed to in writing, 17 * software distributed under the License is distributed on an 18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19 * KIND, either express or implied. See the License for the 20 * specific language governing permissions and limitations 21 * under the License. | 15 * Unless required by applicable law or agreed to in writing, 16 * software distributed under the License is distributed on an 17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 * KIND, either express or implied. See the License for the 19 * specific language governing permissions and limitations 20 * under the License. |
22 * | 21 * |
23 ***********************************************************--> 24 | 22 ***********************************************************--> 23 |
25 26 | |
27<helpdocument version="1.0"> 28<meta> 29<topic id="textscalc0104060112xml" indexer="include" status="PUBLISH"> 30<title id="tit" xml-lang="en-US">Add-in for Programming in $[officename] Calc</title> 31<filename>/text/scalc/01/04060112.xhp</filename> 32</topic> | 24<helpdocument version="1.0"> 25<meta> 26<topic id="textscalc0104060112xml" indexer="include" status="PUBLISH"> 27<title id="tit" xml-lang="en-US">Add-in for Programming in $[officename] Calc</title> 28<filename>/text/scalc/01/04060112.xhp</filename> 29</topic> |
33<history> 34<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> 35<lastedited date="2006-03-31T13:39:47">converted from old format - fpe 36dedr: fixed #i30855#</lastedited> 37</history> | 30<comment>fixed #i30855#</comment> |
38</meta> 39<body> 40<bookmark xml-lang="en-US" branch="index" id="bm_id3151076"><bookmark_value>programming; add-ins</bookmark_value> 41<bookmark_value>shared libraries; programming</bookmark_value> 42<bookmark_value>external DLL functions</bookmark_value> 43<bookmark_value>functions; $[officename] Calc add-in DLL</bookmark_value> 44<bookmark_value>add-ins; for programming</bookmark_value> 45</bookmark><comment>mw made "external..." a one level entry and deleted one "functions;..." entry</comment> --- 65 unchanged lines hidden (view full) --- 111<paragraph role="paragraph" id="par_id3159262" xml-lang="en-US" l10n="U" oldref="26">PTR_STRING =1 pointer to a zero-terminated string</paragraph> 112<paragraph role="paragraph" id="par_id3148747" xml-lang="en-US" l10n="U" oldref="27">PTR_DOUBLE_ARR =2 pointer to a double array</paragraph> 113<paragraph role="paragraph" id="par_id3147406" xml-lang="en-US" l10n="U" oldref="28">PTR_STRING_ARR =3 pointer to a string array</paragraph> 114<paragraph role="paragraph" id="par_id3151392" xml-lang="en-US" l10n="U" oldref="29">PTR_CELL_ARR =4 pointer to a cell array</paragraph> 115<paragraph role="paragraph" id="par_id3153028" xml-lang="en-US" l10n="U" oldref="30">NONE =5</paragraph> 116</tablecell> 117</tablerow> 118</table> | 31</meta> 32<body> 33<bookmark xml-lang="en-US" branch="index" id="bm_id3151076"><bookmark_value>programming; add-ins</bookmark_value> 34<bookmark_value>shared libraries; programming</bookmark_value> 35<bookmark_value>external DLL functions</bookmark_value> 36<bookmark_value>functions; $[officename] Calc add-in DLL</bookmark_value> 37<bookmark_value>add-ins; for programming</bookmark_value> 38</bookmark><comment>mw made "external..." a one level entry and deleted one "functions;..." entry</comment> --- 65 unchanged lines hidden (view full) --- 104<paragraph role="paragraph" id="par_id3159262" xml-lang="en-US" l10n="U" oldref="26">PTR_STRING =1 pointer to a zero-terminated string</paragraph> 105<paragraph role="paragraph" id="par_id3148747" xml-lang="en-US" l10n="U" oldref="27">PTR_DOUBLE_ARR =2 pointer to a double array</paragraph> 106<paragraph role="paragraph" id="par_id3147406" xml-lang="en-US" l10n="U" oldref="28">PTR_STRING_ARR =3 pointer to a string array</paragraph> 107<paragraph role="paragraph" id="par_id3151392" xml-lang="en-US" l10n="U" oldref="29">PTR_CELL_ARR =4 pointer to a cell array</paragraph> 108<paragraph role="paragraph" id="par_id3153028" xml-lang="en-US" l10n="U" oldref="30">NONE =5</paragraph> 109</tablecell> 110</tablerow> 111</table> |
119 | |
120<paragraph role="heading" id="hd_id3156396" xml-lang="en-US" level="2" l10n="U" oldref="31"><switchinline select="sys"><caseinline select="UNIX">Shared Library 121</caseinline><defaultinline>DLL</defaultinline></switchinline> functions</paragraph> 122<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 123</caseinline><defaultinline>external DLL</defaultinline></switchinline>.</paragraph> 124<paragraph role="paragraph" id="par_id3150038" xml-lang="en-US" l10n="U" oldref="33">For all <switchinline select="sys"><caseinline select="UNIX">Shared Library 125</caseinline><defaultinline>DLL</defaultinline></switchinline> functions, the following applies:</paragraph> 126<paragraph role="paragraph" id="par_id3157876" xml-lang="en-US" l10n="U" oldref="34">void CALLTYPE fn(out, in1, in2, ...)</paragraph> 127<paragraph role="paragraph" id="par_id3147616" xml-lang="en-US" l10n="U" oldref="35">Output: Resulting value</paragraph> --- 209 unchanged lines hidden (view full) --- 337<tablecell colspan="" rowspan=""> 338<paragraph role="paragraph" id="par_id3159337" xml-lang="en-US" l10n="U" oldref="120">...</paragraph> 339</tablecell> 340<tablecell colspan="" rowspan=""> 341<paragraph role="paragraph" id="par_id3155388" xml-lang="en-US" l10n="U" oldref="121">Next element</paragraph> 342</tablecell> 343</tablerow> 344</table> | 112<paragraph role="heading" id="hd_id3156396" xml-lang="en-US" level="2" l10n="U" oldref="31"><switchinline select="sys"><caseinline select="UNIX">Shared Library 113</caseinline><defaultinline>DLL</defaultinline></switchinline> functions</paragraph> 114<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 115</caseinline><defaultinline>external DLL</defaultinline></switchinline>.</paragraph> 116<paragraph role="paragraph" id="par_id3150038" xml-lang="en-US" l10n="U" oldref="33">For all <switchinline select="sys"><caseinline select="UNIX">Shared Library 117</caseinline><defaultinline>DLL</defaultinline></switchinline> functions, the following applies:</paragraph> 118<paragraph role="paragraph" id="par_id3157876" xml-lang="en-US" l10n="U" oldref="34">void CALLTYPE fn(out, in1, in2, ...)</paragraph> 119<paragraph role="paragraph" id="par_id3147616" xml-lang="en-US" l10n="U" oldref="35">Output: Resulting value</paragraph> --- 209 unchanged lines hidden (view full) --- 329<tablecell colspan="" rowspan=""> 330<paragraph role="paragraph" id="par_id3159337" xml-lang="en-US" l10n="U" oldref="120">...</paragraph> 331</tablecell> 332<tablecell colspan="" rowspan=""> 333<paragraph role="paragraph" id="par_id3155388" xml-lang="en-US" l10n="U" oldref="121">Next element</paragraph> 334</tablecell> 335</tablerow> 336</table> |
345 | |
346<paragraph role="heading" id="hd_id3154935" xml-lang="en-US" level="3" l10n="U" oldref="122">String Array</paragraph> 347<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> 348<table id="tbl_id3146992"> 349<tablerow> 350<tablecell colspan="" rowspan=""> 351<paragraph role="paragraph" id="par_id3149908" xml-lang="en-US" l10n="U" oldref="124"> 352<emph>Offset</emph> 353</paragraph> --- 159 unchanged lines hidden (view full) --- 513<tablecell colspan="" rowspan=""> 514<paragraph role="paragraph" id="par_id3154825" xml-lang="en-US" l10n="U" oldref="167">...</paragraph> 515</tablecell> 516<tablecell colspan="" rowspan=""> 517<paragraph role="paragraph" id="par_id3147097" xml-lang="en-US" l10n="U" oldref="168">Next element</paragraph> 518</tablecell> 519</tablerow> 520</table> | 337<paragraph role="heading" id="hd_id3154935" xml-lang="en-US" level="3" l10n="U" oldref="122">String Array</paragraph> 338<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> 339<table id="tbl_id3146992"> 340<tablerow> 341<tablecell colspan="" rowspan=""> 342<paragraph role="paragraph" id="par_id3149908" xml-lang="en-US" l10n="U" oldref="124"> 343<emph>Offset</emph> 344</paragraph> --- 159 unchanged lines hidden (view full) --- 504<tablecell colspan="" rowspan=""> 505<paragraph role="paragraph" id="par_id3154825" xml-lang="en-US" l10n="U" oldref="167">...</paragraph> 506</tablecell> 507<tablecell colspan="" rowspan=""> 508<paragraph role="paragraph" id="par_id3147097" xml-lang="en-US" l10n="U" oldref="168">Next element</paragraph> 509</tablecell> 510</tablerow> 511</table> |
521 | |
522<paragraph role="heading" id="hd_id3159091" xml-lang="en-US" level="3" l10n="U" oldref="169">Cell Array</paragraph> 523<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> 524<table id="tbl_id3150942"> 525<tablerow> 526<tablecell colspan="" rowspan=""> 527<paragraph role="paragraph" id="par_id3154664" xml-lang="en-US" l10n="U" oldref="171"> 528<emph>Offset</emph> 529</paragraph> --- 171 unchanged lines hidden (view full) --- 701<tablecell colspan="" rowspan=""> 702<paragraph role="paragraph" id="par_id3163722" xml-lang="en-US" l10n="U" oldref="218">...</paragraph> 703</tablecell> 704<tablecell colspan="" rowspan=""> 705<paragraph role="paragraph" id="par_id3151059" xml-lang="en-US" l10n="U" oldref="219">Next element</paragraph> 706</tablecell> 707</tablerow> 708</table> | 512<paragraph role="heading" id="hd_id3159091" xml-lang="en-US" level="3" l10n="U" oldref="169">Cell Array</paragraph> 513<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> 514<table id="tbl_id3150942"> 515<tablerow> 516<tablecell colspan="" rowspan=""> 517<paragraph role="paragraph" id="par_id3154664" xml-lang="en-US" l10n="U" oldref="171"> 518<emph>Offset</emph> 519</paragraph> --- 171 unchanged lines hidden (view full) --- 691<tablecell colspan="" rowspan=""> 692<paragraph role="paragraph" id="par_id3163722" xml-lang="en-US" l10n="U" oldref="218">...</paragraph> 693</tablecell> 694<tablecell colspan="" rowspan=""> 695<paragraph role="paragraph" id="par_id3151059" xml-lang="en-US" l10n="U" oldref="219">Next element</paragraph> 696</tablecell> 697</tablerow> 698</table> |
709 | |
710</body> 711</helpdocument> | 699</body> 700</helpdocument> |