xref: /aoo42x/main/odk/examples/examples.html (revision ef1ef8e6)
1cdf0e10cSrcweir<html>
2cdf0e10cSrcweir<head>
3*ef1ef8e6SJürgen Schmidt  <title>Apache OpenOffice %PRODUCT_RELEASE% SDK - Examples</title>
4cdf0e10cSrcweir  <link rel="stylesheet" type="text/css" href="../docs/sdk_styles.css">
5cdf0e10cSrcweir  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6cdf0e10cSrcweir  <meta name="author" content="J&uuml;rgen Schmidt">
7cdf0e10cSrcweir  <meta name="created" content="2004-12-14">
8cdf0e10cSrcweir</head>
9cdf0e10cSrcweir
10cdf0e10cSrcweir<body class="sdkbody"><a name="examples"/>
11cdf0e10cSrcweir<table class="table1" cellpadding=0>
12cdf0e10cSrcweir  <tr style="background-image:url(../docs/images/sdk_head-2.png); backgorund-position: bottom; ">
13cdf0e10cSrcweir    <td class="background" colspan="3" align="left"><img src="../docs/images/sdk_head-1.png" width="800" height="120" usemap="#Map" border="0"></td>
14cdf0e10cSrcweir  </tr>
15cdf0e10cSrcweir  <tr>
16cdf0e10cSrcweir    <td colspan="3"><img  class="nothing10" src="../docs/images/nada.gif"></td>
17cdf0e10cSrcweir  </tr>
18cdf0e10cSrcweir  <tr>
19cdf0e10cSrcweir    <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td>
20cdf0e10cSrcweir    <td>
21cdf0e10cSrcweir      <table class="table2">
22cdf0e10cSrcweir	    <tr>
23cdf0e10cSrcweir		  <td colspan="3"><img class="nothing1" src="../docs/images/nada.gif"></td>
24cdf0e10cSrcweir        </tr>
25cdf0e10cSrcweir        <tr>
26cdf0e10cSrcweir          <td>
27cdf0e10cSrcweir          <table class="table3">
28cdf0e10cSrcweir		  <tr>
29cdf0e10cSrcweir			<td colspan="2" class="head1">Examples</td>
30cdf0e10cSrcweir			<td align="right"><a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"></a></td>
31cdf0e10cSrcweir		  </tr>
32cdf0e10cSrcweir		  </table>
33cdf0e10cSrcweir          </td>
34cdf0e10cSrcweir        </tr>
35cdf0e10cSrcweir        <tr>
36cdf0e10cSrcweir          <td>
37cdf0e10cSrcweir          <table class="table3">
38cdf0e10cSrcweir		  <tr>
39cdf0e10cSrcweir          <td colspan="3">
40cdf0e10cSrcweir            <p>The SDK provides a rich set of examples in different programming
41*ef1ef8e6SJürgen Schmidt			languages (Java, C++, Apache OpenOffice %PRODUCT_RELEASE% Basic, OLE) to illustrate the use
42cdf0e10cSrcweir			of the API and demonstrate how to benefit from the included word
43cdf0e10cSrcweir			processor, spreadsheet, presentation software, graphics program and
44*ef1ef8e6SJürgen Schmidt			database of Apache OpenOffice %PRODUCT_RELEASE%.<br>
45cdf0e10cSrcweir            Some fo the examples need a running office instance listening on a
46cdf0e10cSrcweir			port. If this is necessary you will get further information in the
47cdf0e10cSrcweir			makefiles.</p>
48cdf0e10cSrcweir			<p>Every makefile contains at least one run target to execute an
49cdf0e10cSrcweir			running example, please see the makefile output in the different
50cdf0e10cSrcweir			example directories. Some of the examples which create a component have
51cdf0e10cSrcweir			no run target. In these cases a document is provided which instantiates
52cdf0e10cSrcweir			and runs the component (see the makefile output). Also the Basic
53cdf0e10cSrcweir			examples provide documents which use and shows the implemented
54cdf0e10cSrcweir			functionality.</p>
55cdf0e10cSrcweir          </td>
56cdf0e10cSrcweir		  </tr>
57cdf0e10cSrcweir		  <tr>
58cdf0e10cSrcweir            <td><img class="line" src="../docs/images/sdk_line-1.gif"></td>
59cdf0e10cSrcweir		  </tr>
60cdf0e10cSrcweir		  </table>
61cdf0e10cSrcweir        </tr>
62cdf0e10cSrcweir        <tr>
63cdf0e10cSrcweir          <td>
64cdf0e10cSrcweir          <table class="table3">
65cdf0e10cSrcweir            <tr valign="top">
66cdf0e10cSrcweir              <td class="content3"><img src="../docs/images/arrow-1.gif"></td>
67cdf0e10cSrcweir              <td><a href="DevelopersGuide/examples.html" title="link to the Developer's Guide examples overview page">Developer's Guide examples</a></td>
68cdf0e10cSrcweir              <td class="content75">The <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide" title="link to the Developer's Guide in the Wiki">Developer's Guide</a> comes
69cdf0e10cSrcweir			  with a rich set of examples which demonstrate the use of the API in
70cdf0e10cSrcweir			  the different application areas.</td>
71cdf0e10cSrcweir            </tr>
72cdf0e10cSrcweir            <tr valign="top">
73cdf0e10cSrcweir              <td class="content3"><img src="../docs/images/arrow-1.gif"></td>
74cdf0e10cSrcweir              <td><a href="#Java_examples" title="link to the Java examples section">Java examples</a></td>
75cdf0e10cSrcweir              <td class="content75">Set of simple and more complex examples which
76cdf0e10cSrcweir			  shows the use of the API from Java.</td>
77cdf0e10cSrcweir            </tr>
78cdf0e10cSrcweir            <tr valign="top">
79cdf0e10cSrcweir              <td class="content3"><img src="../docs/images/arrow-1.gif"></td>
80cdf0e10cSrcweir              <td><a href="#Cpp_examples" title="link to the C++ examples section">C++ examples</a></td>
81cdf0e10cSrcweir              <td class="content75">Small set of examples which shows the use of
82cdf0e10cSrcweir			  the API from C++.</td>
83cdf0e10cSrcweir            </tr>
84cdf0e10cSrcweir            <tr valign="top">
85cdf0e10cSrcweir              <td class="content3"><img src="../docs/images/arrow-1.gif"></td>
86*ef1ef8e6SJürgen Schmidt              <td><a href="#Basic_examples" title="link to the Apache OpenOffice %PRODUCT_RELEASE% Basic examples section">Apache OpenOffice %PRODUCT_RELEASE% Basic examples</a></td>
87cdf0e10cSrcweir              <td class="content75">Small set of examples which shows the use of
88*ef1ef8e6SJürgen Schmidt			  the API from Apache OpenOffice %PRODUCT_RELEASE% Basic.</td>
89cdf0e10cSrcweir            </tr>
90cdf0e10cSrcweir            <tr valign="top">
91cdf0e10cSrcweir              <td class="content3"><img src="../docs/images/arrow-1.gif"></td>
92cdf0e10cSrcweir              <td><a href="#OLE_examples" title="link to the OLE examples section">Object Linking and Embedding (OLE) examples</a></td>
93cdf0e10cSrcweir              <td class="content75">Examples which show the use of the API from
94cdf0e10cSrcweir			  OLE.</td>
95cdf0e10cSrcweir            </tr>
96cdf0e10cSrcweir            <tr valign="top">
97cdf0e10cSrcweir              <td class="content3"><img src="../docs/images/arrow-1.gif"></td>
98cdf0e10cSrcweir              <td><a href="#CLI_examples" title="link to the CLI examples section">Common Language Infrastructure (CLI) examples</a></td>
99cdf0e10cSrcweir              <td class="content75">Examples which show the use of the API from
100cdf0e10cSrcweir			  the CLI.</td>
101cdf0e10cSrcweir            </tr>
102cdf0e10cSrcweir		  </table>
103cdf0e10cSrcweir        </tr>
104cdf0e10cSrcweir      </table>
105cdf0e10cSrcweir    </td>
106cdf0e10cSrcweir    <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td>
107cdf0e10cSrcweir  </tr>
108cdf0e10cSrcweir  <tr>
109cdf0e10cSrcweir    <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"></td>
110cdf0e10cSrcweir  </tr>
111cdf0e10cSrcweir  <tr>
112cdf0e10cSrcweir    <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td>
113cdf0e10cSrcweir    <td>
114cdf0e10cSrcweir      <table class="table2">
115cdf0e10cSrcweir        <tr>
116cdf0e10cSrcweir          <td>
117cdf0e10cSrcweir          <table class="table3">
118cdf0e10cSrcweir		  <tr>
119cdf0e10cSrcweir			<td colspan="2" class="head1"><a name="Java_examples">Java examples</td>
120cdf0e10cSrcweir			<td align="right">
121cdf0e10cSrcweir		      <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"></a>
122cdf0e10cSrcweir		      <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"></a>
123cdf0e10cSrcweir		  </td>
124cdf0e10cSrcweir		  </tr>
125cdf0e10cSrcweir		  </table>
126cdf0e10cSrcweir          </td>
127cdf0e10cSrcweir        </tr>
128cdf0e10cSrcweir		<tr>
129cdf0e10cSrcweir		  <td>
130cdf0e10cSrcweir		  <table class="table4">
131cdf0e10cSrcweir		  <tbody>
132cdf0e10cSrcweir		  <tr class="thead">
133cdf0e10cSrcweir		  <td class="cell20">Text Document Examples</td>
134cdf0e10cSrcweir		  <td class="cell80">Description</td>
135cdf0e10cSrcweir		  </tr>
136cdf0e10cSrcweir		  <tr>
137cdf0e10cSrcweir		  <td class="cell20"><a href="java/Text/" title="link to the source directory of the Java Text examples">BookmarkInsertion</a></td>
138cdf0e10cSrcweir		  <td class="cell80">This application connects to the office server and
139cdf0e10cSrcweir		  gets the <a href="../docs/common/ref/com/sun/star/lang/XMultiComponentFactory.html" title="link into the IDL reference to the interface com.sun.star.lang.XMultiComponentFactory"> multi component factory</a>. An empty text document will be opened
140cdf0e10cSrcweir		  and an example text will be entered. Afterwards, some bookmarks will be
141cdf0e10cSrcweir		  inserted.</td>
142cdf0e10cSrcweir		  </tr>
143cdf0e10cSrcweir		  <tr>
144cdf0e10cSrcweir		  <td class="cell20"><a href="java/Text/" title="link to the source directory of the Java Text examples">HardFormatting</a></td>
145cdf0e10cSrcweir		  <td class="cell80">This program connects to the office server and gets
146cdf0e10cSrcweir		  the <a href="../docs/common/ref/com/sun/star/lang/XMultiComponentFactory.html" title="link into the IDL reference to the interface com.sun.star.lang.XMultiComponentFactory"> multi component factory</a>. Furthermore, an empty text document will be
147cdf0e10cSrcweir		  opened, an example text will be entered, some text attributes will be
148cdf0e10cSrcweir		  inspected, and the <a href="../docs/common/ref/com/sun/star/beans/PropertyState.html" title="link into the IDL reference to the enum com.sun.star.beans.PropertyState"> PropertyState</a> will be checked from the selection.</td>
149cdf0e10cSrcweir		  </tr>
150cdf0e10cSrcweir		  <tr>
151cdf0e10cSrcweir		  <td class="cell20"><a href="java/Text/" title="link to the source directory of the Java Text examples">SWriter</a></td>
152cdf0e10cSrcweir		  <td class="cell80">The program connects to the office server and gets the
153cdf0e10cSrcweir          <a href="../docs/common/ref/com/sun/star/lang/XMultiComponentFactory.html" title="link into the IDL reference to the interface com.sun.star.lang.XMultiComponentFactory"> multi component factory</a>. An empty text document will be created, some
154cdf0e10cSrcweir		  text will be entered, and a text table, a colored text, and text frame
155cdf0e10cSrcweir		  will be inserted.</td>
156cdf0e10cSrcweir		  </tr>
157cdf0e10cSrcweir		  <tr>
158cdf0e10cSrcweir		  <td class="cell20"><a href="java/Text/" title="link to the source directory of the Java Text examples">StyleCreation</a></td>
159cdf0e10cSrcweir		  <td class="cell80">The example connects to the office server and gets the
160cdf0e10cSrcweir          <a href="../docs/common/ref/com/sun/star/lang/XMultiComponentFactory.html" title="link into the IDL reference to the interface com.sun.star.lang.XMultiComponentFactory"> multi component factory</a>. An empty text document will be opened, a new
161cdf0e10cSrcweir		  paragraph style will be created, and applied.</td>
162cdf0e10cSrcweir		  </tr>
163cdf0e10cSrcweir		  <tr>
164cdf0e10cSrcweir		  <td class="cell20"><a href="java/Text/" title="link to the source directory of the Java Text examples">StyleInitialization</a></td>
165cdf0e10cSrcweir		  <td class="cell80">The program connects to the office server and gets the
166cdf0e10cSrcweir          <a href="../docs/common/ref/com/sun/star/lang/XMultiComponentFactory.html" title="link into the IDL reference to the interface com.sun.star.lang.XMultiComponentFactory"> multi component factory</a>. Thereafter, an empty text document will be
167cdf0e10cSrcweir		  opened and an example text will be entered. The paragraph collection will
168cdf0e10cSrcweir		  be used, in order to apply a different paragraph style on the
169cdf0e10cSrcweir		  paragraphs.</td>
170cdf0e10cSrcweir		  </tr>
171cdf0e10cSrcweir		  <tr>
172cdf0e10cSrcweir		  <td class="cell20"><a href="java/Text/" title="link to the source directory of the Java Text examples">TextDocumentStructure</a></td>
173cdf0e10cSrcweir		  <td class="cell80">The application connects to the office server and gets
174cdf0e10cSrcweir		  the <a href="../docs/common/ref/com/sun/star/lang/XMultiComponentFactory.html" title="link into the IDL reference to the interface com.sun.star.lang.XMultiComponentFactory"> multi component factory</a>. An empty text document will be opened, an
175cdf0e10cSrcweir		  enumeration of all paragraphs and an enumeration of all text portions
176cdf0e10cSrcweir		  will be created.</td>
177cdf0e10cSrcweir		  </tr>
178cdf0e10cSrcweir		  <tr>
179cdf0e10cSrcweir		  <td class="cell20"><a href="java/Text/" title="link to the source directory of the Java Text examples">TextReplace</a></td>
180cdf0e10cSrcweir		  <td class="cell80">The example connects to the office server and gets the
181cdf0e10cSrcweir          <a href="../docs/common/ref/com/sun/star/lang/XMultiComponentFactory.html" title="link into the IDL reference to the interface com.sun.star.lang.XMultiComponentFactory"> multi component factory</a>. An empty text document will be created, an
182cdf0e10cSrcweir		  example text will be inserted, and some English spelled words will be
183cdf0e10cSrcweir		  replaced with US spelled words.</td>
184cdf0e10cSrcweir		  </tr>
185cdf0e10cSrcweir		  <tr>
186cdf0e10cSrcweir		  <td class="cell20"><a href="java/Text/" title="link to the source directory of the Java Text examples">GraphicsInserter</a></td>
187cdf0e10cSrcweir		  <td class="cell80">The GraphicsInserter creates a graphics object on an
188cdf0e10cSrcweir		  empty text document by setting its position, width, height, and URL.</td>
189cdf0e10cSrcweir		  </tr>
190cdf0e10cSrcweir		  <tr>
191cdf0e10cSrcweir		  <td class="cell20"><a href="java/Text/" title="link to the source directory of the Java Text examples">WriterSelector</a></td>
192cdf0e10cSrcweir		  <td class="cell80">This class gives you information on the selected
193*ef1ef8e6SJürgen Schmidt		  objects (text range, text frame, or graphics) at an Apache OpenOffice
194cdf0e10cSrcweir		  Server.</td>
195cdf0e10cSrcweir		  </tr>
196cdf0e10cSrcweir		  <tbody>
197cdf0e10cSrcweir		  </table>
198cdf0e10cSrcweir		  </td>
199cdf0e10cSrcweir		</tr>
200cdf0e10cSrcweir		<tr>
201cdf0e10cSrcweir		  <td>
202cdf0e10cSrcweir		  <table class="table4">
203cdf0e10cSrcweir		  <tbody>
204cdf0e10cSrcweir		  <tr class="thead">
205cdf0e10cSrcweir		  <td class="cell20">Spreadsheet Document Examples</td>
206cdf0e10cSrcweir		  <td class="cell80">Description</td>
207cdf0e10cSrcweir		  </tr>
208cdf0e10cSrcweir		  <tr>
209cdf0e10cSrcweir		  <td class="cell20"><a href="java/Spreadsheet/" title="link to the source directory of the Java Spreadsheet examples">CalcAddins</a></td>
210cdf0e10cSrcweir		  <td class="cell80">This component adds new functions to the spreadsheet
211cdf0e10cSrcweir		  application. After registering the component, the inserted functions can
212cdf0e10cSrcweir		  be found with help of the functions autopilot. The new functions are
213cdf0e10cSrcweir		  assigned to the category <i>Add-in</i>.</td>
214cdf0e10cSrcweir		  </tr>
215cdf0e10cSrcweir		  <tr>
216cdf0e10cSrcweir		  <td class="cell20"><a href="java/Spreadsheet/" title="link to the source directory of the Java Spreadsheet examples">ChartTypeChange</a></td>
217*ef1ef8e6SJürgen Schmidt		  <td class="cell80">This class loads an Apache OpenOffice %PRODUCT_RELEASE% Calc document and
218cdf0e10cSrcweir		  changes the type of the embedded chart.</td>
219cdf0e10cSrcweir		  </tr>
220cdf0e10cSrcweir		  <tr>
221cdf0e10cSrcweir		  <td class="cell20"><a href="java/Spreadsheet/" title="link to the source directory of the Java Spreadsheet examples">EuroAdaption</a></td>
222cdf0e10cSrcweir		  <td class="cell80">The application connects to the office server and gets
223cdf0e10cSrcweir		  the <a href="../docs/common/ref/com/sun/star/lang/XMultiComponentFactory.html" title="link into the IDL reference to the interface com.sun.star.lang.XMultiComponentFactory"> multi component factory</a>, opens an empty Calc document, enters an
224cdf0e10cSrcweir		  example text, sets the number format to DM, changes the number format to
225cdf0e10cSrcweir		  EUR (Euro), and uses the DM/EUR factor on each cell with content.</td>
226cdf0e10cSrcweir		  </tr>
227cdf0e10cSrcweir		  <tr>
228cdf0e10cSrcweir		  <td class="cell20"><a href="java/Spreadsheet/" title="link to the source directory of the Java Spreadsheet examples">SCalc</a></td>
229cdf0e10cSrcweir		  <td class="cell80">The program connects to the office server and gets the
230cdf0e10cSrcweir          <a href="../docs/common/ref/com/sun/star/lang/XMultiComponentFactory.html" title="link into the IDL reference to the interface com.sun.star.lang.XMultiComponentFactory"> multi component factory</a>. Then an empty calc document will be opened,
231cdf0e10cSrcweir		  cell styles will be created, some data will be inserted into the sheets,
232cdf0e10cSrcweir		  and the created cell styles will be applied. Finally, a 3D chart will be
233cdf0e10cSrcweir		  inserted.</td>
234cdf0e10cSrcweir		  </tr>
235cdf0e10cSrcweir		  <tbody>
236cdf0e10cSrcweir		  </table>
237cdf0e10cSrcweir		  </td>
238cdf0e10cSrcweir		</tr>
239cdf0e10cSrcweir		<tr>
240cdf0e10cSrcweir		  <td>
241cdf0e10cSrcweir		  <table class="table4">
242cdf0e10cSrcweir		  <tbody>
243cdf0e10cSrcweir		  <tr class="thead">
244cdf0e10cSrcweir		  <td class="cell20">Drawing Document Examples</td>
245cdf0e10cSrcweir		  <td class="cell80">Description</td>
246cdf0e10cSrcweir		  </tr>
247cdf0e10cSrcweir		  <tr>
248cdf0e10cSrcweir		  <td class="cell20"><a href="java/Drawing/" title="link to the source directory of the Java Drawing examples">SDraw</a></td>
249cdf0e10cSrcweir		  <td class="cell80">This program connects to the office server and gets
250cdf0e10cSrcweir		  the <a href="../docs/common/ref/com/sun/star/lang/XMultiComponentFactory.html" title="link into the IDL reference to the interface com.sun.star.lang.XMultiComponentFactory"> multi component factory</a>. Afterwards, an empty text document will
251cdf0e10cSrcweir		  be created and some shapes will be inserted on the draw page.</td>
252cdf0e10cSrcweir		  </tr>
253cdf0e10cSrcweir		  <tbody>
254cdf0e10cSrcweir		  </table>
255cdf0e10cSrcweir		  </td>
256cdf0e10cSrcweir		</tr>
257cdf0e10cSrcweir		<tr>
258cdf0e10cSrcweir		  <td>
259cdf0e10cSrcweir		  <table class="table4">
260cdf0e10cSrcweir		  <tbody>
261cdf0e10cSrcweir		  <tr class="thead">
262cdf0e10cSrcweir		  <td class="cell20">Document Handling Examples</td>
263cdf0e10cSrcweir		  <td class="cell80">Description</td>
264cdf0e10cSrcweir		  </tr>
265cdf0e10cSrcweir		  <tr>
266cdf0e10cSrcweir		  <td class="cell20"><a href="java/DocumentHandling/" title="link to the source directory of the Java DocumentHandling examples">DocumentConverter</a></td>
267cdf0e10cSrcweir		  <td class="cell80">The program offers a service that converts arbitrary
268cdf0e10cSrcweir		  documents to a favored document type.</td>
269cdf0e10cSrcweir		  </tr>
270cdf0e10cSrcweir		  <tr>
271cdf0e10cSrcweir		  <td class="cell20"><a href="java/DocumentHandling/" title="link to the source directory of the Java DocumentHandling examples">DocumentLoader</a></td>
272cdf0e10cSrcweir		  <td class="cell80">The <i>DocumentLoader</i> can open a new or an
273cdf0e10cSrcweir		  existing document.</td>
274cdf0e10cSrcweir		  </tr>
275cdf0e10cSrcweir		  <tr>
276cdf0e10cSrcweir		  <td class="cell20"><a href="java/DocumentHandling/"title="link to the source directory of the Java DocumentHandling examples">DocumentPrinter</a></td>
277cdf0e10cSrcweir		  <td class="cell80">The <i>DocumentPrinter</i> allows you to print the
278cdf0e10cSrcweir		  favored pages of a specified document on your favored printer.</td>
279cdf0e10cSrcweir		  </tr>
280cdf0e10cSrcweir		  <tr>
281cdf0e10cSrcweir		  <td class="cell20"><a href="java/DocumentHandling/" title="link to the source directory of the Java DocumentHandling examples">DocumentSaver</a></td>
282cdf0e10cSrcweir		  <td class="cell80">The DocumentSaver shows how to save a document and
283cdf0e10cSrcweir		  how you can change the type of your document.</td>
284cdf0e10cSrcweir		  </tr>
285cdf0e10cSrcweir		  <tbody>
286cdf0e10cSrcweir		  </table>
287cdf0e10cSrcweir		  </td>
288cdf0e10cSrcweir		</tr>
289cdf0e10cSrcweir		<tr>
290cdf0e10cSrcweir		  <td>
291cdf0e10cSrcweir		  <table class="table4">
292cdf0e10cSrcweir		  <tbody>
293cdf0e10cSrcweir		  <tr class="thead">
294cdf0e10cSrcweir		  <td class="cell20">UNO Component Examples</td>
295cdf0e10cSrcweir		  <td class="cell80">Description</td>
296cdf0e10cSrcweir		  </tr>
297cdf0e10cSrcweir		  <tr>
298cdf0e10cSrcweir		  <td class="cell20"><a href="http://wiki.services.openoffice.org/wiki/Object_Inspector" title="link to the Object Inspector project page in the wiki">Object Inspector</a></td>
299cdf0e10cSrcweir		  <td class="cell80">The Object Inspector is primarily an auxiliary tool
300cdf0e10cSrcweir		  for the developer, which can present information about an object of the
301*ef1ef8e6SJürgen Schmidt		  Apache OpenOffice %PRODUCT_RELEASE% API at run-time. Depending on the object to be inspected,
302cdf0e10cSrcweir		  appropriate methods, interfaces, services, and attributes can be displayed
303cdf0e10cSrcweir		  to the developer. The methods, interfaces, services and attributes are
304cdf0e10cSrcweir		  represented in a predictable tree. If the attributes contained in an
305cdf0e10cSrcweir		  object are to be examined, the appropriate nodes in the tree can be
306cdf0e10cSrcweir		  expanded with the help of the mouse. For each non primitive object, five
307cdf0e10cSrcweir		  categories are offered to the user, as long as those are available with
308cdf0e10cSrcweir		  that object. The Object Inspector is currently available as a NetBeans project
309cdf0e10cSrcweir		  only because of major code changes. Please see the <a href="http://wiki.services.openoffice.org/wiki/Object_Inspector" title="link to the Object Inspector project page in the wiki">project page</a> for further details.</td>
310cdf0e10cSrcweir		  </tr>
311cdf0e10cSrcweir		  <tr>
312cdf0e10cSrcweir		  <td class="cell20"><a href="java/MinimalComponent/" title="link to the source directory of the Java MinimalComponent example">MinimalComponent</a></td>
313cdf0e10cSrcweir		  <td class="cell80">This class provides a minimal UNO component. You can
314cdf0e10cSrcweir		  take this class as a base for your own components. By extensions of this
315cdf0e10cSrcweir		  class it is possible to also extend the function range of the Office.</td>
316cdf0e10cSrcweir		  </tr>
317cdf0e10cSrcweir		  <tr>
318cdf0e10cSrcweir		  <td class="cell20"><a href="java/PropertySet/" title="link to the source directory of the Java PropertySet example">PropTest</a></td>
319cdf0e10cSrcweir		  <td class="cell80">Contains a component that provides property set
320cdf0e10cSrcweir		  interfaces by means of inheriting <a href="../docs/java/ref/com/sun/star/lib/uno/helper/PropertySet.html" title="link into the Java UNO reference to the PropertySet helper class">com.sun.star.lib.uno.helper.ProperterSet</a>.</td>
321cdf0e10cSrcweir		  </tr>
322cdf0e10cSrcweir		  <tr>
323cdf0e10cSrcweir		  <td class="cell20"><a href="java/ToDo/" title="link to the source directory of the Java ToDo example">ToDo</a></td>
324cdf0e10cSrcweir		  <td class="cell80">For every to-do listed in a spreadsheet document, this
325cdf0e10cSrcweir		  component calculates the start date, day of week of the start date, the
326cdf0e10cSrcweir		  end date, and the day of week of the end date. All calculations are
327cdf0e10cSrcweir		  dependent upon the values of &quot;Needed Days&quot;, &quot;Due Date&quot;
328cdf0e10cSrcweir          and &quot;Status&quot;. The columns &quot;Needed Days&quot; and
329cdf0e10cSrcweir		  &quot;Status&quot; are mandatory. The first to-do should be placed in
330cdf0e10cSrcweir		  row nine. The date to start the calculation should be placed in cell C6.
331cdf0e10cSrcweir		  The private holidays should be placed in cell K4/K5 and below.<br>
332cdf0e10cSrcweir          All rows will be calculated up to the first empty cell in the first
333cdf0e10cSrcweir		  column. If a cell in the column &quot;Due Date&quot; is colored red,
334cdf0e10cSrcweir		  you should take a look at your entries.</td>
335cdf0e10cSrcweir		  </tr>
336cdf0e10cSrcweir		  <tr>
337cdf0e10cSrcweir		  <td class="cell20"><a href="java/EmbedDocument/EmbeddedObject" title="link to the source directory of the Java EmbeddedObject example">EmbeddedObject</a></td>
338cdf0e10cSrcweir		  <td class="cell80">Contains a component that provides an example of embedded object implementation.</td>
339cdf0e10cSrcweir		  </tr>
340cdf0e10cSrcweir		  <tbody>
341cdf0e10cSrcweir		  </table>
342cdf0e10cSrcweir		  </td>
343cdf0e10cSrcweir		</tr>
344cdf0e10cSrcweir        <tr>
345cdf0e10cSrcweir          <td>
346cdf0e10cSrcweir          <table class="table3">
347cdf0e10cSrcweir		  <tr>
348cdf0e10cSrcweir		  <td  colspan="3">
349cdf0e10cSrcweir		  <p>Additional information:</p>
350cdf0e10cSrcweir		  <p>
351cdf0e10cSrcweir		  <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Simple_Component_in_Java" title="link to the &quot;Simple component in Java&quot; chapter in the Developer's Guide">How to write a UNO component in Java</a><br>
352cdf0e10cSrcweir		  <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Java_Language_Binding" title="link to the &quot;Java UNO Language Bnding&quot; chapter in the Developer's Guide">Java UNO Language Binding</a><br>
353cdf0e10cSrcweir		  <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Debugging" title="link to the &quot;Debugging Java components&quot; chapter in the Developer's Guide">Debugging Java components</a><br>
354cdf0e10cSrcweir		  </p>
355cdf0e10cSrcweir		  </td>
356cdf0e10cSrcweir		  </tr>
357cdf0e10cSrcweir		  </table>
358cdf0e10cSrcweir          </td>
359cdf0e10cSrcweir        </tr>
360cdf0e10cSrcweir      </table>
361cdf0e10cSrcweir    </td>
362cdf0e10cSrcweir    <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td>
363cdf0e10cSrcweir  </tr>
364cdf0e10cSrcweir  <tr>
365cdf0e10cSrcweir    <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"></td>
366cdf0e10cSrcweir  </tr>
367cdf0e10cSrcweir  <tr>
368cdf0e10cSrcweir    <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td>
369cdf0e10cSrcweir    <td>
370cdf0e10cSrcweir      <table class="table2">
371cdf0e10cSrcweir        <tr>
372cdf0e10cSrcweir          <td>
373cdf0e10cSrcweir          <table class="table3">
374cdf0e10cSrcweir		  <tr>
375cdf0e10cSrcweir			<td colspan="2" class="head1"><a name="Cpp_examples">C++ examples</td>
376cdf0e10cSrcweir			<td align="right">
377cdf0e10cSrcweir		      <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"></a>
378cdf0e10cSrcweir		      <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"></a>
379cdf0e10cSrcweir		  </td>
380cdf0e10cSrcweir		  </tr>
381cdf0e10cSrcweir		  <tr>
382cdf0e10cSrcweir		  <td  colspan="3">
383cdf0e10cSrcweir		  The DocumentLoader example needs a running office server, before
384cdf0e10cSrcweir		  running this program you should invoke the office with the following
385cdf0e10cSrcweir		  command:
386cdf0e10cSrcweir		  <blockquote>
387cdf0e10cSrcweir		  <code>soffice &quot;-accept=socket,host=localhost,port=2083;urp;StarOffice.ServiceManager&quot;</code>
388cdf0e10cSrcweir		  </blockquote>
389cdf0e10cSrcweir		  You can also customize the mentioned host and port to your needs.
390cdf0e10cSrcweir		  </td>
391cdf0e10cSrcweir		  </tr>
392cdf0e10cSrcweir		  </table>
393cdf0e10cSrcweir          </td>
394cdf0e10cSrcweir        </tr>
395cdf0e10cSrcweir		<tr>
396cdf0e10cSrcweir		  <td>
397cdf0e10cSrcweir		  <table class="table4">
398cdf0e10cSrcweir		  <tbody>
399cdf0e10cSrcweir		  <tr class="thead">
400cdf0e10cSrcweir		  <td class="cell20">Example</td>
401cdf0e10cSrcweir		  <td class="cell80">Description</td>
402cdf0e10cSrcweir		  </tr>
403cdf0e10cSrcweir		  <tr>
404cdf0e10cSrcweir		  <td class="cell20"><a href="cpp/DocumentLoader/"title="link to the source directory of the C++ DocumentLoader example">DocumentLoader</a></td>
405cdf0e10cSrcweir		  <td class="cell80">This component works the same as the appropriate Java
406cdf0e10cSrcweir		  example, but is implemented in C++.</td>
407cdf0e10cSrcweir		  </tr>
408cdf0e10cSrcweir		  <tr>
409cdf0e10cSrcweir		  <td class="cell20"><a href="cpp/counter/" title="link to the source directory of the C++ counter example">Counter</a></td>
410cdf0e10cSrcweir		  <td class="cell80">This demo shows how to implement a very simple UNO
411cdf0e10cSrcweir		  component and how to access the UNO component from an executable.</td>
412cdf0e10cSrcweir		  </tr>
413cdf0e10cSrcweir		  <tr>
414cdf0e10cSrcweir		  <td class="cell20"><a href="cpp/remoteclient/" title="link to the source directory of the C++ remoteclient example">Remote client</a></td>
415cdf0e10cSrcweir		  <td class="cell80">The 'uno' program is used to export an arbitrary
416cdf0e10cSrcweir		  service to other processes. In this example the com.sun.star.uno.Pipe
417cdf0e10cSrcweir		  service (which is built in io-module) is exported. The client component
418cdf0e10cSrcweir		  implements the <a href="../docs/common/ref/com/sun/star/lang/XMain.html" title="link into the IDL reference to the interface com.sun.star.lang.XMain">
419cdf0e10cSrcweir		  com.sun.star.lang.XMain</a> interface. In the run method, it connects to
420cdf0e10cSrcweir		  the servers process and retrieves an instance and does some calls on the
421cdf0e10cSrcweir		  instance.</td>
422cdf0e10cSrcweir		  </tr>
423cdf0e10cSrcweir		  <tr>
424cdf0e10cSrcweir		  <td class="cell20"><a href="cpp/complextoolbarcontrols/" title="link to the source directory of the C++ complextoolbarcontrols example">complextoolbarcontrols</a></td>
425cdf0e10cSrcweir		  <td class="cell80">This example shows how to create a toolbar add-on with complex toolbar controls.
426cdf0e10cSrcweir		  It shows how to use an Image Button, a Combo Box, a Spin Field, an Edit Field, a Dropdown Box, a Toggle Dropdown Button and a normal Dropdown Button</td>
427cdf0e10cSrcweir		  </tr>
428cdf0e10cSrcweir		  <tbody>
429cdf0e10cSrcweir		  </table>
430cdf0e10cSrcweir		  </td>
431cdf0e10cSrcweir		</tr>
432cdf0e10cSrcweir        <tr>
433cdf0e10cSrcweir          <td>
434cdf0e10cSrcweir          <table class="table3">
435cdf0e10cSrcweir		  <tr>
436cdf0e10cSrcweir		  <td  colspan="3">
437cdf0e10cSrcweir		  <p>Additional information:</p>
438cdf0e10cSrcweir		  <p>
439cdf0e10cSrcweir		  <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/C%2B%2B/C%2B%2B_Component" title="link to the &quot;How to write a UNO component in C++&quot; chapter in the Developer's Guide">How to write a UNO component in C++</a><br>
440cdf0e10cSrcweir		  <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/C%2B%2B/C%2B%2B_Language_Binding" title="link to the &quot;C++ UNO Language Binding&quot; chapter in the Developer's Guide">C++ UNO Language Binding</a><br>
441cdf0e10cSrcweir		  <a href="../docs/cpp/ref/index.html" title="link to the C++ API reference">C++ reference</a>
442cdf0e10cSrcweir		  </p>
443cdf0e10cSrcweir		  </td>
444cdf0e10cSrcweir		  </tr>
445cdf0e10cSrcweir		  </table>
446cdf0e10cSrcweir          </td>
447cdf0e10cSrcweir        </tr>
448cdf0e10cSrcweir      </table>
449cdf0e10cSrcweir    </td>
450cdf0e10cSrcweir    <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td>
451cdf0e10cSrcweir  </tr>
452cdf0e10cSrcweir  <tr>
453cdf0e10cSrcweir    <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"></td>
454cdf0e10cSrcweir  </tr>
455cdf0e10cSrcweir  <tr>
456cdf0e10cSrcweir    <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td>
457cdf0e10cSrcweir    <td>
458cdf0e10cSrcweir      <table class="table2">
459cdf0e10cSrcweir        <tr>
460cdf0e10cSrcweir          <td>
461cdf0e10cSrcweir          <table class="table3">
462cdf0e10cSrcweir		  <tr>
463*ef1ef8e6SJürgen Schmidt			<td colspan="2" class="head1"><a name="Basic_examples">Apache OpenOffice %PRODUCT_RELEASE% Basic examples</td>
464cdf0e10cSrcweir			<td align="right">
465cdf0e10cSrcweir		      <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"></a>
466cdf0e10cSrcweir		      <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"></a>
467cdf0e10cSrcweir		  </td>
468cdf0e10cSrcweir		  </tr>
469cdf0e10cSrcweir		  <tr>
470cdf0e10cSrcweir		  <td  colspan="3">
471*ef1ef8e6SJürgen Schmidt		  <p>The example programs are embedded in Apache OpenOffice %PRODUCT_RELEASE% documents in the
472*ef1ef8e6SJürgen Schmidt		  samples directory. To view or edit the Apache OpenOffice %PRODUCT_RELEASE% Basic source,
473cdf0e10cSrcweir		  select the appropriate document and then select Tools-&gt;Macro.</p>
474cdf0e10cSrcweir		  <p>Most of the examples are stand-alone, but two of them (Creating an
475cdf0e10cSrcweir		  Index and Import/Export of ASCII Files) have an associated data file
476cdf0e10cSrcweir		  identified by a .txt file name suffix).</p>
477cdf0e10cSrcweir		  <p>Some of the examples are also available in Java, you can find them in
478cdf0e10cSrcweir		  the <a href="#Java_examples" title="link to the Java examples section">
479cdf0e10cSrcweir		  Java section</a>.</p>
480cdf0e10cSrcweir		  </td>
481cdf0e10cSrcweir		  </tr>
482cdf0e10cSrcweir		  </table>
483cdf0e10cSrcweir          </td>
484cdf0e10cSrcweir        </tr>
485cdf0e10cSrcweir		<tr>
486cdf0e10cSrcweir		  <td>
487cdf0e10cSrcweir		  <table class="table4">
488cdf0e10cSrcweir		  <tbody>
489cdf0e10cSrcweir		  <tr class="thead">
490cdf0e10cSrcweir		  <td class="cell20">Example</td>
491cdf0e10cSrcweir		  <td class="cell80">Description</td>
492cdf0e10cSrcweir		  </tr>
493cdf0e10cSrcweir		  <tr>
494*ef1ef8e6SJürgen Schmidt		  <td class="cell20"><a href="basic/text/modifying_text_automatically/" title="link to the source directory of the Apache OpenOffice %PRODUCT_RELEASE% Basic text/modifying_text_automatically examples">Changing Appearance</a></td>
495cdf0e10cSrcweir		  <td class="cell80"> To change the style used for certain words, you can
496cdf0e10cSrcweir		  start with the following example. This code searches for the regular
497cdf0e10cSrcweir		  expression <code>the[a-z]</code>, which stands for the text portion the
498cdf0e10cSrcweir		  followed by exactly one lowercase letter. All occurrences of these four
499cdf0e10cSrcweir		  letters are then changed to bold characters. The same happens in the next
500cdf0e10cSrcweir		  part of the program, this time changing the appearance of
501cdf0e10cSrcweir		  <code>all[a-z]</code> to italic. In order for this example to work, you
502cdf0e10cSrcweir		  must execute it from an open text document.</td>
503cdf0e10cSrcweir		  </tr>
504cdf0e10cSrcweir		  <tr>
505*ef1ef8e6SJürgen Schmidt		  <td class="cell20"><a href="basic/text/modifying_text_automatically/" title="link to the source directory of the Apache OpenOffice %PRODUCT_RELEASE% Basic text/modifying_text_automatically examples">Replacing Text</a></td>
506cdf0e10cSrcweir		  <td class="cell80">If you regularly receive documents from other people
507cdf0e10cSrcweir		  for editing, you might want to make sure that certain words are always
508cdf0e10cSrcweir		  written the same. The next example illustrates this by forcing certain
509cdf0e10cSrcweir		  words to be spelled in American English.<br>
510cdf0e10cSrcweir          In order for this example to work, you must execute it from an open text
511cdf0e10cSrcweir		  document. For a real world application, it is a good idea to read the
512cdf0e10cSrcweir		  words from an external file.</td>
513cdf0e10cSrcweir		  </tr>
514cdf0e10cSrcweir		  <tr>
515*ef1ef8e6SJürgen Schmidt		  <td class="cell20"><a href="basic/text/modifying_text_automatically/" title="link to the source directory of the Apache OpenOffice %PRODUCT_RELEASE% Basic text/modifying_text_automatically examples">Using Regular Expressions</a></td>
516cdf0e10cSrcweir		  <td class="cell80">Another application of automatic text modification is
517cdf0e10cSrcweir		  related to stylistic questions. Suppose your company&#146;s policy is to
518cdf0e10cSrcweir		  avoid the use of certain words. You want to replace these words, but you
519cdf0e10cSrcweir		  cannot do that automatically because you have to find the appropriate
520cdf0e10cSrcweir		  replacement, which depends on the context. So instead of deleting or
521cdf0e10cSrcweir		  replacing the offending words automatically, you change their color to
522cdf0e10cSrcweir		  make them stand out during a subsequent manual review process.<br>
523cdf0e10cSrcweir		  The following example handles two kinds of unwanted wordings: those
524cdf0e10cSrcweir		  which are absolutely forbidden and must be replaced by something else,
525cdf0e10cSrcweir		  and those which are considered bad style. A subroutine is responsible
526cdf0e10cSrcweir		  for the changes. It can be used to make all words in a list appear in a
527cdf0e10cSrcweir		  certain color in the text document. To keep the lists short, we use
528cdf0e10cSrcweir		  regular expressions which provide for the variants of the words
529cdf0e10cSrcweir		  (plural, adjective etc.).</td>
530cdf0e10cSrcweir		  </tr>
531cdf0e10cSrcweir		  <tr>
532*ef1ef8e6SJürgen Schmidt		  <td class="cell20"><a href="basic/text/modifying_text_automatically/" title="link to the source directory of the Apache OpenOffice %PRODUCT_RELEASE% Basic text/modifying_text_automatically examples">Inserting Bookmarks</a></td>
533cdf0e10cSrcweir		  <td class="cell80">
534cdf0e10cSrcweir		  <p>The next example does something very similar. This time, however, we
535cdf0e10cSrcweir		  do not change the color of the words but insert a bookmark at each of
536cdf0e10cSrcweir		  them. You can thus use the StarOffice navigator to jump directly from
537cdf0e10cSrcweir		  word to word. Bookmarks must first be created using
538cdf0e10cSrcweir		  <code>createInstance()</code>. They are then inserted with
539cdf0e10cSrcweir		  <code>insertTextContent()</code> at the current text range.</p>
540cdf0e10cSrcweir		  <p>The main difference to the preceding example is the For loop in
541cdf0e10cSrcweir		  <code>markList()</code>. Instead of changing the color of the current
542cdf0e10cSrcweir		  word, it creates a new bookmark, oBookmark, whose name is the current
543cdf0e10cSrcweir		  word with an integer appended. It then inserts this bookmark at the
544cdf0e10cSrcweir		  word.</td>
545cdf0e10cSrcweir		  </tr>
546cdf0e10cSrcweir		  <tr>
547*ef1ef8e6SJürgen Schmidt		  <td class="cell20"><a href="basic/text/creating_an_index/" title="link to the source directory of the Apache OpenOffice %PRODUCT_RELEASE% Basic text/create_index example">Creating an Index</a></td>
548cdf0e10cSrcweir		  <td class="cell80">Indices for text documents can be created manually in
549*ef1ef8e6SJürgen Schmidt		  Apache OpenOffice %PRODUCT_RELEASE% Writer by clicking on the words that should appear in the
550cdf0e10cSrcweir		  index. If the document is large, or if you have to generate indices for
551cdf0e10cSrcweir		  several documents, this task should be automated.</td>
552cdf0e10cSrcweir		  </tr>
553cdf0e10cSrcweir		  <tr>
554*ef1ef8e6SJürgen Schmidt		  <td class="cell20"><a href="basic/sheet/" title="link to the source directory of the Apache OpenOffice %PRODUCT_RELEASE% Basic sheet example">Adapting to Euroland</a></td>
555cdf0e10cSrcweir		  <td class="cell80">Most of the members of the European Union will abandon
556cdf0e10cSrcweir		  their old currency in favor of the new Euro in 2001. This requires
557cdf0e10cSrcweir		  modifications to all programs using the old currencies. Since the exchange
558cdf0e10cSrcweir		  rates for the old currencies have been fixed at the end of 1999, one can
559cdf0e10cSrcweir		  already convert old data. The following program does this for all values
560cdf0e10cSrcweir		  in a table that are formatted with the currency string DM.</td>
561cdf0e10cSrcweir		  </tr>
562cdf0e10cSrcweir		  <tr>
563*ef1ef8e6SJürgen Schmidt		  <td class="cell20"><a href="basic/drawing/" title="link to the source directory of the Apache OpenOffice %PRODUCT_RELEASE% Basic drawing example">Import/Export of ASCII Files</a></td>
564cdf0e10cSrcweir		  <td class="cell80">You can use the drawing facilities of StarOffice API
565cdf0e10cSrcweir		  to generate a picture from ASCII input. One application would be a
566cdf0e10cSrcweir		  hierarchical representation of a directory listing, based on textual
567cdf0e10cSrcweir		  data.</td>
568cdf0e10cSrcweir		  </tr>
569cdf0e10cSrcweir		  <tr>
570*ef1ef8e6SJürgen Schmidt		  <td class="cell20"><a href="basic/stock_quotes_updater/" title="link to the source directory of the Apache OpenOffice %PRODUCT_RELEASE% Basic stock_quotes_updater example">Stock Quotes Updater</a></td>
571cdf0e10cSrcweir		  <td class="cell80">If you want to display stock charts for certain
572cdf0e10cSrcweir		  companies, you can open up your browser every day, go to a search engine,
573cdf0e10cSrcweir		  look up the quote and copy it by hand into a table. Or you can use a
574cdf0e10cSrcweir		  program that does all this automatically. The following example relies on
575cdf0e10cSrcweir		  the sheet module. It uses URLs to obtain the current stock quotes. The
576cdf0e10cSrcweir		  quotes are displayed in sheets, one for each company. We show a line
577cdf0e10cSrcweir		  diagram and the numerical values for this company on every sheet. The
578cdf0e10cSrcweir		  functionality is hidden in the three subroutines <code>GetValue()</code>,
579cdf0e10cSrcweir		  <code>UpdateValue()</code>, and <code>UpdateChart()</code>.</td>
580cdf0e10cSrcweir		  </tr>
581cdf0e10cSrcweir		  <tr>
582*ef1ef8e6SJürgen Schmidt		  <td class="cell20"><a href="basic/forms_and_controls/" title="link to the source directory of the Apache OpenOffice %PRODUCT_RELEASE% Basic forms_and_controls example">Forms and Controls</a></td>
583cdf0e10cSrcweir		  <td class="cell80">The example document Burger Factory offers some forms
584cdf0e10cSrcweir		  and controls, which you can use to order your desired burger type,
585cdf0e10cSrcweir		  beverage, topping, and sauce. By hitting the button
586cdf0e10cSrcweir		  &quot;Order now!&quot;, your order will be placed.</td>
587cdf0e10cSrcweir		  </tr>
588cdf0e10cSrcweir		  <tbody>
589cdf0e10cSrcweir		  </table>
590cdf0e10cSrcweir		  </td>
591cdf0e10cSrcweir		</tr>
592cdf0e10cSrcweir        <tr>
593cdf0e10cSrcweir          <td>
594cdf0e10cSrcweir          <table class="table3">
595cdf0e10cSrcweir		  <tr>
596cdf0e10cSrcweir		  <td  colspan="3">
597cdf0e10cSrcweir		  Additional information: <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Basic/OpenOffice.org_Basic" title="link to the &quot;OpenOffice.org %PRODUCT_RELEASE% Basic language binding&quot; chapter in the Developer's Guide">OpenOffice.org %PRODUCT_RELEASE% Basic language binding</a>
598cdf0e10cSrcweir		  </td>
599cdf0e10cSrcweir		  </tr>
600cdf0e10cSrcweir		  </table>
601cdf0e10cSrcweir          </td>
602cdf0e10cSrcweir        </tr>
603cdf0e10cSrcweir		</table>
604cdf0e10cSrcweir    </td>
605cdf0e10cSrcweir    <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td>
606cdf0e10cSrcweir  </tr>
607cdf0e10cSrcweir  <tr>
608cdf0e10cSrcweir    <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"></td>
609cdf0e10cSrcweir  </tr>
610cdf0e10cSrcweir  <tr>
611cdf0e10cSrcweir    <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td>
612cdf0e10cSrcweir    <td>
613cdf0e10cSrcweir      <table class="table2">
614cdf0e10cSrcweir        <tr>
615cdf0e10cSrcweir          <td>
616cdf0e10cSrcweir          <table class="table3">
617cdf0e10cSrcweir		  <tr>
618cdf0e10cSrcweir			<td colspan="2" class="head1"><a name="OLE_examples">Object Linking and Embedding (OLE) examples</td>
619cdf0e10cSrcweir			<td align="right">
620cdf0e10cSrcweir		      <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"></a>
621cdf0e10cSrcweir		      <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"></a>
622cdf0e10cSrcweir		  </td>
623cdf0e10cSrcweir		  </tr>
624cdf0e10cSrcweir		  </table>
625cdf0e10cSrcweir          </td>
626cdf0e10cSrcweir        </tr>
627cdf0e10cSrcweir		<tr>
628cdf0e10cSrcweir		  <td>
629cdf0e10cSrcweir		  <table class="table4">
630cdf0e10cSrcweir		  <tbody>
631cdf0e10cSrcweir		  <tr class="thead">
632cdf0e10cSrcweir		  <td class="cell20">Example</td>
633cdf0e10cSrcweir		  <td class="cell80">Description</td>
634cdf0e10cSrcweir		  </tr>
635cdf0e10cSrcweir		  <tr>
636cdf0e10cSrcweir		  <td class="cell20"><a href="OLE/activex/" title="link to the source directory of the activex plugin example using the OLE bridge">ActiveX Control</a></td>
637cdf0e10cSrcweir		  <td class="cell80">The ActiveX control shows an example of access to UNO
638cdf0e10cSrcweir		  through COM technology. It requires a properly installed StarOffice
639cdf0e10cSrcweir		  version 6.0 or OpenOffice 1.0 or newer. This is a Lite ActiveX control
640cdf0e10cSrcweir		  so it can be used only in containers that allow the use of such controls.
641cdf0e10cSrcweir		  It can be activated with an &lt;OBJECT&gt; tag from a html-page to embed
642cdf0e10cSrcweir		  a document. Without any parameters a new writer document will be opened
643cdf0e10cSrcweir		  for editing. For more details please see the <a href="OLE/activex/README.txt" title="link to the README file of the activex example">README</a>.<br>
644cdf0e10cSrcweir		  Note: This example works only under windows and if you don't use the MS
645cdf0e10cSrcweir		  .Net C++ compiler please check the makefile and take notice of the
646cdf0e10cSrcweir		  comments.</td>
647cdf0e10cSrcweir		  </tr>
648cdf0e10cSrcweir		  <tr>
649cdf0e10cSrcweir		  <td class="cell20"><a href="OLE/vbscript/" title="link to the source directory of the VBScript example using the OLE bridge">WriterDemo</a></td>
650cdf0e10cSrcweir		  <td class="cell80">This Visual Basic Script creates an empty text
651cdf0e10cSrcweir		  document and inserts text, a table, and a text frame.</td>
652cdf0e10cSrcweir		  </tr>
653cdf0e10cSrcweir		  <tbody>
654cdf0e10cSrcweir		  </table>
655cdf0e10cSrcweir		  </td>
656cdf0e10cSrcweir		</tr>
657cdf0e10cSrcweir        <tr>
658cdf0e10cSrcweir          <td>
659cdf0e10cSrcweir          <table class="table3">
660cdf0e10cSrcweir		  <tr>
661cdf0e10cSrcweir		  <td  colspan="3">
662cdf0e10cSrcweir		  Additional information: <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Bridge/Automation_Bridge" title="link to the &quot;Automation Language Binding&quot; chapter in the Developer's Guide">Automation Language Binding</a>
663cdf0e10cSrcweir		  </td>
664cdf0e10cSrcweir		  </tr>
665cdf0e10cSrcweir		  </table>
666cdf0e10cSrcweir          </td>
667cdf0e10cSrcweir        </tr>
668cdf0e10cSrcweir      </table>
669cdf0e10cSrcweir    </td>
670cdf0e10cSrcweir    <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td>
671cdf0e10cSrcweir  </tr>
672cdf0e10cSrcweir  <tr>
673cdf0e10cSrcweir    <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"></td>
674cdf0e10cSrcweir  </tr>
675cdf0e10cSrcweir  <tr>
676cdf0e10cSrcweir    <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td>
677cdf0e10cSrcweir    <td>
678cdf0e10cSrcweir      <table class="table2">
679cdf0e10cSrcweir        <tr>
680cdf0e10cSrcweir          <td>
681cdf0e10cSrcweir          <table class="table3">
682cdf0e10cSrcweir		  <tr>
683cdf0e10cSrcweir			<td colspan="2" class="head1"><a name="CLI_examples">Common Language Infrastructure (CLI)  examples</td>
684cdf0e10cSrcweir			<td align="right">
685cdf0e10cSrcweir		      <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"></a>
686cdf0e10cSrcweir		      <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"></a>
687cdf0e10cSrcweir		  </td>
688cdf0e10cSrcweir		  </tr>
689cdf0e10cSrcweir		  </table>
690cdf0e10cSrcweir          </td>
691cdf0e10cSrcweir        </tr>
692cdf0e10cSrcweir		<tr>
693cdf0e10cSrcweir		  <td>
694cdf0e10cSrcweir		  <table class="table4">
695cdf0e10cSrcweir		  <tbody>
696cdf0e10cSrcweir		  <tr class="thead">
697cdf0e10cSrcweir		  <td class="cell20">Example</td>
698cdf0e10cSrcweir		  <td class="cell80">Description</td>
699cdf0e10cSrcweir		  </tr>
700cdf0e10cSrcweir		  <tr>
701cdf0e10cSrcweir		  <td class="cell20"><a href="CLI/CSharp/Spreadsheet/" title="link to the source directory of the Spreadsheet example using the CLI-UNO bridge">Spreadsheet Example</a></td>
702cdf0e10cSrcweir		  <td class="cell80">This example is written in C# and shows how Spreadsheet
703cdf0e10cSrcweir		  documents are created and filled with content. This example actually
704cdf0e10cSrcweir		  consists of three separate executables, SpreadsheetSample.exe,
705cdf0e10cSrcweir		  GeneralTableSample.exe, ViewSample.exe.</td>
706cdf0e10cSrcweir		  </tr>
707cdf0e10cSrcweir		  <tr>
708cdf0e10cSrcweir		  <td class="cell20"><a href="CLI/VB.NET/WriterDemo/" title="link to the source directory of the WriterDeom example using the CLI-UNO bridge">WriterDemo</a></td>
709cdf0e10cSrcweir		  <td class="cell80">This example is written in VB.NET. It creates a text
710cdf0e10cSrcweir		  document and inserts text, a table, and a text frame.</td>
711cdf0e10cSrcweir		  </tr>
712cdf0e10cSrcweir		  <tbody>
713cdf0e10cSrcweir		  </table>
714cdf0e10cSrcweir		  </td>
715cdf0e10cSrcweir		</tr>
716cdf0e10cSrcweir        <tr>
717cdf0e10cSrcweir          <td>
718cdf0e10cSrcweir          <table class="table3">
719cdf0e10cSrcweir		  <tr>
720cdf0e10cSrcweir		  <td  colspan="3">
721cdf0e10cSrcweir		  Additional information: <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/CLI/CLI_Language_Binding" title="link to the &quot;CLI-UNO Language Binding&quot; chapter in the Developer's Guide">CLI-UNO Language Binding</a>
722cdf0e10cSrcweir		  </td>
723cdf0e10cSrcweir		  </tr>
724cdf0e10cSrcweir		  </table>
725cdf0e10cSrcweir          </td>
726cdf0e10cSrcweir        </tr>
727cdf0e10cSrcweir      </table>
728cdf0e10cSrcweir    </td>
729cdf0e10cSrcweir    <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td>
730cdf0e10cSrcweir  </tr>
731cdf0e10cSrcweir  <tr>
732cdf0e10cSrcweir    <td colspan="3"><img class="nothing30" src="../docs/images/nada.gif"></td>
733cdf0e10cSrcweir  </tr>
734cdf0e10cSrcweir  <tr>
735cdf0e10cSrcweir    <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"></td>
736cdf0e10cSrcweir  </tr>
737cdf0e10cSrcweir  <tr>
738cdf0e10cSrcweir    <td colspan="3">
739cdf0e10cSrcweir      <div class="centertext">
740*ef1ef8e6SJürgen Schmidt	<p><img class="apachelogo" src="../docs/images/odk-footer-logo.gif" title="Apache Feather" alt="Apache Feather" />
741*ef1ef8e6SJürgen Schmidt            Copyright &copy; 2011 The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOfifce.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.<p>
742cdf0e10cSrcweir      </div>
743cdf0e10cSrcweir    </td>
744cdf0e10cSrcweir  </tr>
745cdf0e10cSrcweir</table>
746cdf0e10cSrcweir<map name="Map">
747*ef1ef8e6SJürgen Schmidt  <area shape="rect" coords="10,68,400,105" href="http://www.openoffice.org">
748cdf0e10cSrcweir</map>
749cdf0e10cSrcweir</body>
750cdf0e10cSrcweir</html>
751