1122c3632SJürgen Schmidt<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2122c3632SJürgen Schmidt<!--
3122c3632SJürgen Schmidt#**************************************************************
4122c3632SJürgen Schmidt#
5122c3632SJürgen Schmidt#  Licensed to the Apache Software Foundation (ASF) under one
6122c3632SJürgen Schmidt#  or more contributor license agreements.  See the NOTICE file
7122c3632SJürgen Schmidt#  distributed with this work for additional information
8122c3632SJürgen Schmidt#  regarding copyright ownership.  The ASF licenses this file
9122c3632SJürgen Schmidt#  to you under the Apache License, Version 2.0 (the
10122c3632SJürgen Schmidt#  "License"); you may not use this file except in compliance
11122c3632SJürgen Schmidt#  with the License.  You may obtain a copy of the License at
12122c3632SJürgen Schmidt#
13122c3632SJürgen Schmidt#    http://www.apache.org/licenses/LICENSE-2.0
14122c3632SJürgen Schmidt#
15122c3632SJürgen Schmidt#  Unless required by applicable law or agreed to in writing,
16122c3632SJürgen Schmidt#  software distributed under the License is distributed on an
17122c3632SJürgen Schmidt#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18122c3632SJürgen Schmidt#  KIND, either express or implied.  See the License for the
19122c3632SJürgen Schmidt#  specific language governing permissions and limitations
20122c3632SJürgen Schmidt#  under the License.
21122c3632SJürgen Schmidt#
22122c3632SJürgen Schmidt#**************************************************************
23122c3632SJürgen Schmidt -->
24cdf0e10cSrcweir<html>
25cdf0e10cSrcweir<head>
260f3543aaSMatthias Seidel  <title>Apache OpenOffice %PRODUCT_RELEASE% SDK - Developer's Guide Examples</title>
27cdf0e10cSrcweir  <link rel="stylesheet" type="text/css"
28cdf0e10cSrcweir href="../../docs/sdk_styles.css">
29cdf0e10cSrcweir  <meta http-equiv="Content-Type"
30*99eb6ac2SMatthias Seidel content="text/html; charset=UTF-8">
31cdf0e10cSrcweir  <meta name="author" content="J&uuml;rgen Schmidt">
32cdf0e10cSrcweir  <meta name="created" content="2004-12-14">
33cdf0e10cSrcweir</head>
34cdf0e10cSrcweir<body class="sdkbody">
35cdf0e10cSrcweir<a name="examples"></a>
36cdf0e10cSrcweir<table class="table1" cellpadding="0">
37cdf0e10cSrcweir  <tbody>
380f3543aaSMatthias Seidel   <tr style="background-image:url(../../docs/images/sdk_head-2.png); background-position: bottom; ">
39cdf0e10cSrcweir    <td class="background" colspan="3" align="left"><img src="../../docs/images/sdk_head-1.png" width="800" height="120" usemap="#Map" border="0"></td>
40cdf0e10cSrcweir  </tr>
41cdf0e10cSrcweir    <tr>
42cdf0e10cSrcweir      <td colspan="3"><img class="nothing10"
43cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
44cdf0e10cSrcweir    </tr>
45cdf0e10cSrcweir    <tr>
46cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
47cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
48cdf0e10cSrcweir      <td>
49cdf0e10cSrcweir      <table class="table2">
50cdf0e10cSrcweir        <tbody>
51cdf0e10cSrcweir          <tr>
52cdf0e10cSrcweir            <td colspan="3"><img class="nothing1"
53cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
54cdf0e10cSrcweir          </tr>
55cdf0e10cSrcweir          <tr>
56cdf0e10cSrcweir            <td>
57cdf0e10cSrcweir            <table class="table3">
58cdf0e10cSrcweir              <tbody>
59cdf0e10cSrcweir                <tr>
60cdf0e10cSrcweir                  <td colspan="2" class="head1">Developer's Guide
61cdf0e10cSrcweirExamples</td>
62cdf0e10cSrcweir                  <td align="right"> <a href="../examples.html"
63cdf0e10cSrcweir title="link to the examples overview"><img class="navigate"
64cdf0e10cSrcweir src="../../docs/images/nav_left.png"></a> <a href="../../index.html"
65cdf0e10cSrcweir title="link to the SDK start page"><img class="navigate"
66cdf0e10cSrcweir src="../../docs/images/nav_home.png"></a></td>
67cdf0e10cSrcweir                </tr>
68cdf0e10cSrcweir              </tbody>
69cdf0e10cSrcweir            </table>
70cdf0e10cSrcweir            </td>
71cdf0e10cSrcweir          </tr>
72cdf0e10cSrcweir          <tr>
73cdf0e10cSrcweir            <td>
74cdf0e10cSrcweir            <table class="table3">
75cdf0e10cSrcweir              <tbody>
76cdf0e10cSrcweir                <tr>
77cdf0e10cSrcweir                  <td colspan="3">
78cdf0e10cSrcweir                  <p>The <a
790f3543aaSMatthias Seidel href="https://wiki.openoffice.org/wiki/Documentation/DevGuide"
80cdf0e10cSrcweir title="link to the Developer's Guide in the Wiki">Developer's Guide</a>
81cdf0e10cSrcweircomes with a wide range of examples from all application areas which
82cdf0e10cSrcweirshows the use of the API in the context of the different functional
83cdf0e10cSrcweirareas. Furthermore the examples can be used as a first starting point
84cdf0e10cSrcweirto modify an existing example to their own needs.</p>
85cdf0e10cSrcweir                  <p>Some fo the examples need a running office
86cdf0e10cSrcweirinstance listening on a port. If this is necessary you will get further
87cdf0e10cSrcweirinformation in the makefiles.</p>
88cdf0e10cSrcweir                  <p>All examples marked with a <img
8980295734SMatthias Seidel src="../../docs/images/blueball.png"> are executable and be started
90cdf0e10cSrcweirusing a run target in the makefile. The name of the binary (C++) can
91cdf0e10cSrcweirdiffer compared to the source file, please see the run target in the
92cdf0e10cSrcweirappropriate makefile. Some of the examples which create a component
93cdf0e10cSrcweirhave no run target. In these cases a document is provided which
94cdf0e10cSrcweirinstantiates and runs the component (see the makefile output). Also the
95cdf0e10cSrcweirBasic examples provide documents which use and shows the implemented
96cdf0e10cSrcweirfunctionality. The database and forms examples need a running database,
97cdf0e10cSrcweirplease see the description below. But note that is not described in
98cdf0e10cSrcweirdetail how to create a working data source (see the office help).</p>
99cdf0e10cSrcweir                  </td>
100cdf0e10cSrcweir                </tr>
101cdf0e10cSrcweir                <tr>
102cdf0e10cSrcweir                  <td><img class="line"
103cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
104cdf0e10cSrcweir                </tr>
105cdf0e10cSrcweir              </tbody>
106cdf0e10cSrcweir            </table>
107cdf0e10cSrcweir            </td>
108cdf0e10cSrcweir          </tr>
109cdf0e10cSrcweir          <tr>
110cdf0e10cSrcweir            <td>
111cdf0e10cSrcweir            <table class="table3">
112cdf0e10cSrcweir              <tbody>
113cdf0e10cSrcweir                <tr valign="top">
114cdf0e10cSrcweir                  <td class="content3"><img
115cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
116cdf0e10cSrcweir                  <td><a href="#FirstSteps"
117cdf0e10cSrcweir title="link to the First Steps examples">First Steps</a></td>
118cdf0e10cSrcweir                  <td class="content4"></td>
119cdf0e10cSrcweir                  <td class="content3"><img
120cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
121cdf0e10cSrcweir                  <td><a href="#ProfessionalUNO"
122cdf0e10cSrcweir title="link to the Professional UNO examples">Professional UNO</a></td>
123cdf0e10cSrcweir                  <td class="content10"></td>
124cdf0e10cSrcweir                  <td class="content3"><img
125cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
126cdf0e10cSrcweir                  <td><a href="#Components"
127cdf0e10cSrcweir title="link to the Components examples">Writing UNO components</a></td>
128cdf0e10cSrcweir                </tr>
129cdf0e10cSrcweir                <tr valign="top">
130cdf0e10cSrcweir                  <td class="content3"><img
131cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
132cdf0e10cSrcweir                  <td><a href="#OfficeDevelopment"
133cdf0e10cSrcweir title="link to the Office Development examples">Office Development</a></td>
134cdf0e10cSrcweir                  <td class="content4"></td>
135cdf0e10cSrcweir                  <td class="content3"><img
136cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
137cdf0e10cSrcweir                  <td><a href="#Text" title="link to the Text examples">Text
138cdf0e10cSrcweirDocuments</a></td>
139cdf0e10cSrcweir                  <td class="content10"></td>
140cdf0e10cSrcweir                  <td class="content3"><img
141cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
142cdf0e10cSrcweir                  <td><a href="#Spreadsheet"
143cdf0e10cSrcweir title="link to the Spreadsheet examples">Spreadsheet Documents</a></td>
144cdf0e10cSrcweir                </tr>
145cdf0e10cSrcweir                <tr valign="top">
146cdf0e10cSrcweir                  <td class="content3"><img
147cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
148cdf0e10cSrcweir                  <td><a href="#Drawing"
149cdf0e10cSrcweir title="link to the Drawing And Presentation examples">Drawing and
150cdf0e10cSrcweirPresentation Documents</a></td>
151cdf0e10cSrcweir                  <td class="content4"></td>
152cdf0e10cSrcweir                  <td class="content3"><img
153cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
154cdf0e10cSrcweir                  <td><a href="#Charts"
155cdf0e10cSrcweir title="link to the Charts examples">Charts</a></td>
156cdf0e10cSrcweir                  <td class="content10"></td>
157cdf0e10cSrcweir                  <td class="content3"><img
158cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
159cdf0e10cSrcweir                  <td><a href="#BasicandDialogs"
160cdf0e10cSrcweir title="link to the Basic And Dialogs examples">OpenOffice.org %PRODUCT_RELEASE% Basic and
161cdf0e10cSrcweirDialogs</a></td>
162cdf0e10cSrcweir                </tr>
163cdf0e10cSrcweir                <tr valign="top">
164cdf0e10cSrcweir                  <td class="content3"><img
165cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
166cdf0e10cSrcweir                  <td><a href="#Database"
167cdf0e10cSrcweir title="link to the Database examples">Database Access</a></td>
168cdf0e10cSrcweir                  <td class="content4"></td>
169cdf0e10cSrcweir                  <td class="content3"><img
170cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
171cdf0e10cSrcweir                  <td><a href="#Forms"
172cdf0e10cSrcweir title="link to the Forms examples">Forms</a></td>
173cdf0e10cSrcweir                  <td class="content10"></td>
174cdf0e10cSrcweir                  <td class="content3"><img
175cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
176cdf0e10cSrcweir                  <td><a href="#UniversalContentBroker%28UCB%29"
177cdf0e10cSrcweir title="link to the Universal Content Broker examples">Universal
178cdf0e10cSrcweirContent Broker (UCB)</a></td>
179cdf0e10cSrcweir                </tr>
180cdf0e10cSrcweir                <tr valign="top">
181cdf0e10cSrcweir                  <td class="content3"><img
182cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
183cdf0e10cSrcweir                  <td><a href="#Configuration"
184cdf0e10cSrcweir title="link to the Configuration examples">Configuration Management</a></td>
185cdf0e10cSrcweir                  <td class="content4"></td>
186cdf0e10cSrcweir                  <td class="content3"><img
187cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
188cdf0e10cSrcweir                  <td><a href="#OfficeBean"
189cdf0e10cSrcweir title="link to the OOoBean examples">Office Bean</a></td>
190cdf0e10cSrcweir                  <td class="content10"></td>
191cdf0e10cSrcweir                  <td class="content3"><img
192cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
193cdf0e10cSrcweir                  <td><a href="#Accessibility"
194cdf0e10cSrcweir title="link to the Accessibility examples">Accessibility</a></td>
195cdf0e10cSrcweir                </tr>
196cdf0e10cSrcweir                  <td class="content3"><img
197cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
198cdf0e10cSrcweir                  <td><a href="#ScriptingFramework" title="link to the Scripting Framework examples">Scripting Framework</a></td>
199cdf0e10cSrcweir                  <td class="content4"></td>
200cdf0e10cSrcweir                  <td class="content3"><img
201cdf0e10cSrcweir src="../../docs/images/arrow-1.gif"></td>
202cdf0e10cSrcweir                  <td><a href="#GraphicalUserInterfaces" title="link to the Graphical UserInterfaces examples">Graphical User Interfaces</a></td>
203cdf0e10cSrcweir                  <td class="content10"></td>
204cdf0e10cSrcweir                  <td class="content3"></td>
205cdf0e10cSrcweir                  <td></td>
206cdf0e10cSrcweir		<tr>
207cdf0e10cSrcweir		</tr>
208cdf0e10cSrcweir              </tbody>
209cdf0e10cSrcweir            </table>
210cdf0e10cSrcweir            </td>
211cdf0e10cSrcweir          </tr>
212cdf0e10cSrcweir        </tbody>
213cdf0e10cSrcweir      </table>
214cdf0e10cSrcweir      </td>
215cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
216cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
217cdf0e10cSrcweir    </tr>
218cdf0e10cSrcweir    <tr>
219cdf0e10cSrcweir      <td colspan="3"><img class="line"
220cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
221cdf0e10cSrcweir    </tr>
222cdf0e10cSrcweir    <tr>
223cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
224cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
225cdf0e10cSrcweir      <td>
226cdf0e10cSrcweir      <table class="table2">
227cdf0e10cSrcweir        <tbody>
228cdf0e10cSrcweir          <tr>
229cdf0e10cSrcweir            <td>
230cdf0e10cSrcweir            <table class="table3">
231cdf0e10cSrcweir              <tbody>
232cdf0e10cSrcweir                <tr>
233cdf0e10cSrcweir                  <td colspan="2" class="head1"><a name="FirstSteps">FirstSteps
234cdf0e10cSrcweirexamples</a></td>
235cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
236cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
237cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
238cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
239cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
240cdf0e10cSrcweir                </tr>
241cdf0e10cSrcweir              </tbody>
242cdf0e10cSrcweir            </table>
243cdf0e10cSrcweir            </td>
244cdf0e10cSrcweir          </tr>
245cdf0e10cSrcweir          <tr>
246cdf0e10cSrcweir            <td>
247cdf0e10cSrcweir            <table class="table4">
248cdf0e10cSrcweir              <tbody>
249cdf0e10cSrcweir                <tr class="thead">
250cdf0e10cSrcweir                  <td class="cell20">Text Document Examples</td>
251cdf0e10cSrcweir                  <td class="cell80">Description</td>
252cdf0e10cSrcweir                </tr>
253cdf0e10cSrcweir                <tr>
254cdf0e10cSrcweir                  <td class="cell20"><img
25580295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
256cdf0e10cSrcweir href="./FirstSteps/FirstUnoContact.java"
257cdf0e10cSrcweir title="link to FirstSteps/FirstUnoContact.java">FirstUnoContact</a></td>
258cdf0e10cSrcweir                  <td class="cell80">Shows how to initialize UNO and
259cdf0e10cSrcweirget a remote office service manager from a running OpenOffice.org %PRODUCT_RELEASE% in a
260cdf0e10cSrcweirdifferent process space.</td>
261cdf0e10cSrcweir                </tr>
262cdf0e10cSrcweir                <tr>
263cdf0e10cSrcweir                  <td class="cell20"><img
26480295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
265cdf0e10cSrcweir href="./FirstSteps/FirstLoadComponent.java"
266cdf0e10cSrcweir title="link to FirstSteps/FirstLoadComponent.java">FirstLoadComponent</a></td>
267cdf0e10cSrcweir                  <td class="cell80">Demonstrates how to load a
268cdf0e10cSrcweircomponent into OpenOffice.org %PRODUCT_RELEASE% by a Java application.</td>
269cdf0e10cSrcweir                </tr>
270cdf0e10cSrcweir                <tr>
271cdf0e10cSrcweir                  <td class="cell20"><img
27280295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
273cdf0e10cSrcweir href="./FirstSteps/HelloTextTableShape.java"
274cdf0e10cSrcweir title="link to FirstSteps/HelloTextTableShape.java">HelloTextTableShape</a></td>
275cdf0e10cSrcweir                  <td class="cell80">Performs some generic text and
276cdf0e10cSrcweirshape operations on a text document, a spreadsheet document and a
277cdf0e10cSrcweirdrawing document.</td>
278cdf0e10cSrcweir                </tr>
279cdf0e10cSrcweir              </tbody>
280cdf0e10cSrcweir            </table>
281cdf0e10cSrcweir            </td>
282cdf0e10cSrcweir          </tr>
283cdf0e10cSrcweir        </tbody>
284cdf0e10cSrcweir      </table>
285cdf0e10cSrcweir      </td>
286cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
287cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
288cdf0e10cSrcweir    </tr>
289cdf0e10cSrcweir    <tr>
290cdf0e10cSrcweir      <td colspan="3"><img class="line"
291cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
292cdf0e10cSrcweir    </tr>
293cdf0e10cSrcweir    <tr>
294cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
295cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
296cdf0e10cSrcweir      <td>
297cdf0e10cSrcweir      <table class="table2">
298cdf0e10cSrcweir        <tbody>
299cdf0e10cSrcweir          <tr>
300cdf0e10cSrcweir            <td>
301cdf0e10cSrcweir            <table class="table3">
302cdf0e10cSrcweir              <tbody>
303cdf0e10cSrcweir                <tr>
304cdf0e10cSrcweir                  <td colspan="2" class="head1"><a
305cdf0e10cSrcweir name="ProfessionalUNO">Professional UNO examples1</a></td>
306cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
307cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
308cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
309cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
310cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
311cdf0e10cSrcweir                </tr>
312cdf0e10cSrcweir              </tbody>
313cdf0e10cSrcweir            </table>
314cdf0e10cSrcweir            </td>
315cdf0e10cSrcweir          </tr>
316cdf0e10cSrcweir          <tr>
317cdf0e10cSrcweir            <td>
318cdf0e10cSrcweir            <table class="table4">
319cdf0e10cSrcweir              <tbody>
320cdf0e10cSrcweir                <tr class="thead">
321cdf0e10cSrcweir                  <td class="cell20">Lifetime Examples</td>
322cdf0e10cSrcweir                  <td class="cell80">Description</td>
323cdf0e10cSrcweir                </tr>
324cdf0e10cSrcweir                <tr>
325cdf0e10cSrcweir                  <td class="cell20"><img
32680295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
327cdf0e10cSrcweir href="./ProfUNO/Lifetime/MyUnoObject.java"
328cdf0e10cSrcweir title="link to ProfUNO/Lifetime/MyUnoObject.java">MyUnoObject</a></td>
329cdf0e10cSrcweir                  <td class="cell80">Shows that it depends on the
330cdf0e10cSrcweirimplementation of the Java VM whether finalize() will be called or not.</td>
331cdf0e10cSrcweir                </tr>
332cdf0e10cSrcweir                <tr>
333cdf0e10cSrcweir                  <td class="cell20"><img
33480295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
335cdf0e10cSrcweir href="./ProfUNO/Lifetime/object_lifetime.cxx"
336cdf0e10cSrcweir title="link to ProfUNO/Lifetime/object_lifetime.java">object_lifetime.cxx
337cdf0e10cSrcweir(ProfUnoLifetime)</a></td>
338cdf0e10cSrcweir                  <td class="cell80">Shows the UNO reference counting
339cdf0e10cSrcweirmechanism in C++.</td>
340cdf0e10cSrcweir                </tr>
341cdf0e10cSrcweir              </tbody>
342cdf0e10cSrcweir            </table>
343cdf0e10cSrcweir            </td>
344cdf0e10cSrcweir          </tr>
345cdf0e10cSrcweir          <tr>
346cdf0e10cSrcweir            <td>
347cdf0e10cSrcweir            <table class="table4">
348cdf0e10cSrcweir              <tbody>
349cdf0e10cSrcweir                <tr class="thead">
350cdf0e10cSrcweir                  <td class="cell20">Interprocess Connection Example</td>
351cdf0e10cSrcweir                  <td class="cell80">Description</td>
352cdf0e10cSrcweir                </tr>
353cdf0e10cSrcweir                <tr>
354cdf0e10cSrcweir                  <td class="cell20"><img
35580295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
356cdf0e10cSrcweir href="./ProfUNO/InterprocessConn/ConnectionAwareClient.java"
357cdf0e10cSrcweir title="link to ProfUNO/InterprocessConn/ConnectionAwareClient/.java">ConnectionAwareClient</a></td>
358cdf0e10cSrcweir                  <td class="cell80">Implements a client which is aware
359cdf0e10cSrcweirof losing connection to OpenOffice.org %PRODUCT_RELEASE%.</td>
360cdf0e10cSrcweir                </tr>
361cdf0e10cSrcweir                <tr>
362cdf0e10cSrcweir                  <td class="cell20"><img
36380295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
364cdf0e10cSrcweir href="./ProfUNO/InterprocessConn/UrlResolver.java"
365cdf0e10cSrcweir title="link to ProfUNO/InterProcessConn/UrlResolver.java">UrlResolver</a></td>
366cdf0e10cSrcweir                  <td class="cell80">Builds a connection to
367cdf0e10cSrcweirOpenOffice.org %PRODUCT_RELEASE% using the URL given on the command line. This example
368cdf0e10cSrcweirshows the usage of <a
369cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/bridge/XUnoUrlResolver.html"
370cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.bridge.XUnoResolver"><code>XUnoUrlResolver</code></a>.</td>
371cdf0e10cSrcweir                </tr>
372cdf0e10cSrcweir              </tbody>
373cdf0e10cSrcweir            </table>
374cdf0e10cSrcweir            </td>
375cdf0e10cSrcweir          </tr>
376cdf0e10cSrcweir          <tr>
377cdf0e10cSrcweir            <td>
378cdf0e10cSrcweir            <table class="table4">
379cdf0e10cSrcweir              <tbody>
380cdf0e10cSrcweir                <tr class="thead">
381cdf0e10cSrcweir                  <td class="cell20">C++ Binding Examples</td>
382cdf0e10cSrcweir                  <td class="cell80">Description</td>
383cdf0e10cSrcweir                </tr>
384cdf0e10cSrcweir                <tr>
385cdf0e10cSrcweir                  <td class="cell20"><img
38680295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
387cdf0e10cSrcweir href="./ProfUNO/CppBinding/office_connect.cxx"
388cdf0e10cSrcweir title="link to ProfUNO/CppBinding/office_connect.java">office_connect.cxx</a></td>
389cdf0e10cSrcweir                  <td class="cell80">Builds a connection to
390cdf0e10cSrcweirOpenOffice.org %PRODUCT_RELEASE% using C++.</td>
391cdf0e10cSrcweir                </tr>
392cdf0e10cSrcweir                <tr>
393cdf0e10cSrcweir                  <td class="cell20"><img
39480295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
395cdf0e10cSrcweir href="./ProfUNO/CppBinding/string_samples.cxx"
396cdf0e10cSrcweir title="link to ProfUNO/Cppbinding/string_samples.java">string_samples.cxx</a></td>
397cdf0e10cSrcweir                  <td class="cell80">Demonstrates usage of RTL string
398cdf0e10cSrcweirclasses <a href="../../docs/cpp/ref/names/rtl/c-OString.html"
399cdf0e10cSrcweir title="link to the reference documentation of rtl::OString"><code>OString</code></a>,
400cdf0e10cSrcweir                  <a href="../../docs/cpp/ref/names/rtl/c-OUString.html"
401cdf0e10cSrcweir title="link to the reference documentation of rtl::OUString"><code>OUString</code></a>
402cdf0e10cSrcweirand <a href="../../docs/cpp/ref/names/rtl/c-OUStringBuffer.html"
403cdf0e10cSrcweir title="link to the reference documentation of rtl::OUStringBuffer"><code>OUStringBuffer</code></a>.</td>
404cdf0e10cSrcweir                </tr>
405cdf0e10cSrcweir              </tbody>
406cdf0e10cSrcweir            </table>
407cdf0e10cSrcweir            </td>
408cdf0e10cSrcweir          </tr>
409cdf0e10cSrcweir          <tr>
410cdf0e10cSrcweir            <td>
411cdf0e10cSrcweir            <table class="table4">
412cdf0e10cSrcweir              <tbody>
413cdf0e10cSrcweir                <tr class="thead">
414cdf0e10cSrcweir                  <td class="cell20">SimpleBootstrap Java Example</td>
415cdf0e10cSrcweir                  <td class="cell80">Description</td>
416cdf0e10cSrcweir                </tr>
417cdf0e10cSrcweir                <tr>
418cdf0e10cSrcweir                  <td class="cell20"><img
41980295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
420cdf0e10cSrcweir href="./ProfUNO/SimpleBootstrap_java/SimpleBootstrap_java.java"
421cdf0e10cSrcweir title="link to ProfUNO/SimpleBootstrap_java/SimpleBootstrap_java.java">SimpleBootstrap_java.java</a></td>
422cdf0e10cSrcweir                  <td class="cell80">Shows the transparent use of
423cdf0e10cSrcweiroffice UNO components from Java. The remote office component context is
424cdf0e10cSrcweirobtained by using the <code>com.sun.star.comp.helper.Bootstrap.bootstrap()</code>
425cdf0e10cSrcweirmethod, which bootstraps the component context from a UNO installation.</td>
426cdf0e10cSrcweir                </tr>
427cdf0e10cSrcweir                <tr>
428cdf0e10cSrcweir                  <td class="cell20"><a
429cdf0e10cSrcweir href="./ProfUNO/SimpleBootstrap_java/manifest.mf"
430cdf0e10cSrcweir title="link to ProfUNO/SimpleBootstrap_java/manifest.mf"> manifest.mf</a></td>
431cdf0e10cSrcweir                  <td class="cell80">Contains the additional manifest
432cdf0e10cSrcweirfile entries.</td>
433cdf0e10cSrcweir                </tr>
434cdf0e10cSrcweir              </tbody>
435cdf0e10cSrcweir            </table>
436cdf0e10cSrcweir            </td>
437cdf0e10cSrcweir          </tr>
438cdf0e10cSrcweir
439cdf0e10cSrcweir          <tr>
440cdf0e10cSrcweir            <td>
441cdf0e10cSrcweir            <table class="table4">
442cdf0e10cSrcweir              <tbody>
443cdf0e10cSrcweir                <tr class="thead">
444cdf0e10cSrcweir                  <td class="cell20">SimpleBootstrap C++ Example</td>
445cdf0e10cSrcweir                  <td class="cell80">Description</td>
446cdf0e10cSrcweir                </tr>
447cdf0e10cSrcweir                <tr>
448cdf0e10cSrcweir                  <td class="cell20"><img
44980295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
450cdf0e10cSrcweir href="./ProfUNO/SimpleBootstrap_cpp/SimpleBootstrap_cpp.cxx"
451cdf0e10cSrcweir title="link to ProfUNO/SimpleBootstrap_cpp/SimpleBootstrap_cpp.cxx">SimpleBootstrap_cpp.cxx</a></td>
452cdf0e10cSrcweir                  <td class="cell80">Shows the transparent use of
453cdf0e10cSrcweiroffice UNO components from C++. The remote office component context is
454cdf0e10cSrcweirobtained by using the <code>::cppu::bootstrap()</code> function, which
455cdf0e10cSrcweirbootstraps the component context from a UNO installation.</td>
456cdf0e10cSrcweir                </tr>
457cdf0e10cSrcweir              </tbody>
458cdf0e10cSrcweir            </table>
459cdf0e10cSrcweir            </td>
460cdf0e10cSrcweir          </tr>
461cdf0e10cSrcweir          <tr>
462cdf0e10cSrcweir            <td>
463cdf0e10cSrcweir            <table class="table4">
464cdf0e10cSrcweir              <tbody>
465cdf0e10cSrcweir                <tr class="thead">
466cdf0e10cSrcweir                  <td class="cell20">Deployment Features</td>
467cdf0e10cSrcweir                  <td class="cell80">Description</td>
468cdf0e10cSrcweir                </tr>
469cdf0e10cSrcweir                <tr>
470cdf0e10cSrcweir                  <td class="cell20"> <a
471cdf0e10cSrcweir href="./Components/SimpleLicense/description.xml"
472cdf0e10cSrcweir title="link to Components/SimpleLicense/description.xml">description.xml</a></td>
473cdf0e10cSrcweir                  <td class="cell80">Demonstrates how license files can be embedded, so that they are shown to the user during installation.</td>
474cdf0e10cSrcweir                </tr>
475cdf0e10cSrcweir              </tbody>
476cdf0e10cSrcweir            </table>
477cdf0e10cSrcweir            </td>
478cdf0e10cSrcweir          </tr>
479cdf0e10cSrcweir
480cdf0e10cSrcweir
481cdf0e10cSrcweir        </tbody>
482cdf0e10cSrcweir      </table>
483cdf0e10cSrcweir      </td>
484cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
485cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
486cdf0e10cSrcweir    </tr>
487cdf0e10cSrcweir    <tr>
488cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
489cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
490cdf0e10cSrcweir      <td>
491cdf0e10cSrcweir      <table class="table2">
492cdf0e10cSrcweir        <tbody>
493cdf0e10cSrcweir          <tr>
494cdf0e10cSrcweir            <td>
495cdf0e10cSrcweir            <table class="table3">
496cdf0e10cSrcweir              <tbody>
497cdf0e10cSrcweir                <tr>
498cdf0e10cSrcweir                  <td colspan="2" class="head1"><a name="Components">Writing
499cdf0e10cSrcweirUNO components examples</a></td>
500cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
501cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
502cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
503cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
504cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
505cdf0e10cSrcweir                </tr>
506cdf0e10cSrcweir              </tbody>
507cdf0e10cSrcweir            </table>
508cdf0e10cSrcweir            </td>
509cdf0e10cSrcweir          </tr>
510cdf0e10cSrcweir          <tr>
511cdf0e10cSrcweir            <td>
512cdf0e10cSrcweir            <table class="table4">
513cdf0e10cSrcweir              <tbody>
514cdf0e10cSrcweir                <tr class="thead">
515cdf0e10cSrcweir                  <td class="cell20">Jobs Addon Example</td>
516cdf0e10cSrcweir                  <td class="cell80">Description</td>
517cdf0e10cSrcweir                </tr>
518cdf0e10cSrcweir                <tr>
519cdf0e10cSrcweir                  <td class="cell20"><a
520cdf0e10cSrcweir href="./Components/Addons/JobsAddon/AsyncJob.java"
521cdf0e10cSrcweir title="link to Components/Addons/JobsAddon/AsyncJob.java">AsyncJob</a></td>
522cdf0e10cSrcweir                  <td class="cell80">An java example showing how a job
523cdf0e10cSrcweircan analyze the given arguments and how the environment can be
524cdf0e10cSrcweirdetected, in which the job is executed.</td>
525cdf0e10cSrcweir                </tr>
526cdf0e10cSrcweir                <tr>
527cdf0e10cSrcweir                  <td class="cell20"><a
528cdf0e10cSrcweir href="./Components/Addons/JobsAddon/Jobs.xcu"
529cdf0e10cSrcweir title="link to Components/Addons/JobsAddon/Jobs.xcu">Jobs.xcu</a></td>
530cdf0e10cSrcweir                  <td class="cell80">Contains the example job
531cdf0e10cSrcweirconfiguration.</td>
532cdf0e10cSrcweir                </tr>
533cdf0e10cSrcweir                <tr>
534cdf0e10cSrcweir                  <td class="cell20"><a
535cdf0e10cSrcweir href="./Components/Addons/JobsAddon/Addons.xcu"
536cdf0e10cSrcweir title="link to Components/Addons/JobsAddon/Addons.xcu">Addons.xcu</a></td>
537cdf0e10cSrcweir                  <td class="cell80">Contains the configuration entries
538cdf0e10cSrcweirfor the Jobs addon where different entries are configured.</td>
539cdf0e10cSrcweir                </tr>
540cdf0e10cSrcweir              </tbody>
541cdf0e10cSrcweir            </table>
542cdf0e10cSrcweir            </td>
543cdf0e10cSrcweir          </tr>
544cdf0e10cSrcweir          <tr>
545cdf0e10cSrcweir            <td>
546cdf0e10cSrcweir            <table class="table4">
547cdf0e10cSrcweir              <tbody>
548cdf0e10cSrcweir                <tr class="thead">
549cdf0e10cSrcweir                  <td class="cell20">ProtocolHandler Addon Java</td>
550cdf0e10cSrcweir                  <td class="cell80">Description</td>
551cdf0e10cSrcweir                </tr>
552cdf0e10cSrcweir                <tr>
553cdf0e10cSrcweir                  <td class="cell20"><a
554cdf0e10cSrcweir href="./Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java"
555cdf0e10cSrcweir title="link to Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java">ProtocolHandlerAddon</a></td>
556cdf0e10cSrcweir                  <td class="cell80">Implements a ProtocolHandler addon
557cdf0e10cSrcweircomponent in Java.</td>
558cdf0e10cSrcweir                </tr>
559cdf0e10cSrcweir                <tr>
560cdf0e10cSrcweir                  <td class="cell20"><a
561cdf0e10cSrcweir href="./Components/Addons/ProtocolHandlerAddon_cpp/ProtocolHandler.xcu"
562cdf0e10cSrcweir title="link to Components/Addons/ProtocolHandlerAddon_cpp/ProtocolHandler.xcu">ProtocolHandler.xcu</a></td>
563cdf0e10cSrcweir                  <td class="cell80">Contains the ProtocolHandler
564cdf0e10cSrcweirconfiguration.</td>
565cdf0e10cSrcweir                </tr>
566cdf0e10cSrcweir                <tr>
567cdf0e10cSrcweir                  <td class="cell20"><a
568cdf0e10cSrcweir href="./Components/Addons/ProtocolHandlerAddon_cpp/Addons.xcu"
569cdf0e10cSrcweir title="link to Components/Addons/ProtocolHandlerAddon_cpp/Addons.xcu">Addons.xcu</a></td>
570cdf0e10cSrcweir                  <td class="cell80">Contains the configuration entries
571cdf0e10cSrcweirfor the ProtocolHandler addon where different entries are configured.</td>
572cdf0e10cSrcweir                </tr>
573cdf0e10cSrcweir              </tbody>
574cdf0e10cSrcweir            </table>
575cdf0e10cSrcweir            </td>
576cdf0e10cSrcweir          </tr>
577cdf0e10cSrcweir          <tr>
578cdf0e10cSrcweir            <td>
579cdf0e10cSrcweir            <table class="table4">
580cdf0e10cSrcweir              <tbody>
581cdf0e10cSrcweir                <tr class="thead">
582cdf0e10cSrcweir                  <td class="cell20">ProtocolHandler Addon C++</td>
583cdf0e10cSrcweir                  <td class="cell80">Description</td>
584cdf0e10cSrcweir                </tr>
585cdf0e10cSrcweir                <tr>
586cdf0e10cSrcweir                  <td class="cell20"><a
587cdf0e10cSrcweir href="./Components/Addons/ProtocolHandlerAddon_cpp/addon.cxx"
588cdf0e10cSrcweir title="link to Components/Addons/ProtocolHandlerAddon_cpp/addon.cxx">addon.cxx</a></td>
589cdf0e10cSrcweir                  <td class="cell80">Implements a ProtocolHandler addon
590cdf0e10cSrcweircomponent in C++.</td>
591cdf0e10cSrcweir                </tr>
592cdf0e10cSrcweir                <tr>
593cdf0e10cSrcweir                  <td class="cell20"><a
594cdf0e10cSrcweir href="./Components/Addons/ProtocolHandlerAddon_cpp/addon.hxx"
595cdf0e10cSrcweir title="link to Components/Addons/ProtocolHandlerAddon_cpp/addon.hxx">addon.hxx</a></td>
596cdf0e10cSrcweir                  <td class="cell80">Contains the class definition of
597cdf0e10cSrcweirthe c++ ProtocolHandler example.</td>
598cdf0e10cSrcweir                </tr>
599cdf0e10cSrcweir                <tr>
600cdf0e10cSrcweir                  <td class="cell20"><a
601cdf0e10cSrcweir href="./Components/Addons/ProtocolHandlerAddon_cpp/component.cxx"
602cdf0e10cSrcweir title="link to Components/Addons/ProtocolHandlerAddon_cpp/component.cxx">component.cxx</a></td>
603cdf0e10cSrcweir                  <td class="cell80">Implements the administrative
604cdf0e10cSrcweircomponent functions (component_writeInfo, component_getFactory).</td>
605cdf0e10cSrcweir                </tr>
606cdf0e10cSrcweir                <tr>
607cdf0e10cSrcweir                  <td class="cell20"><a
608cdf0e10cSrcweir href="./Components/Addons/ProtocolHandlerAddon_cpp/ProtocolHandler.xcu"
609cdf0e10cSrcweir title="link to Components/Addons/ProtocolHandlerAddon_cpp/ProtocolHandler.xcu">ProtocolHandler.xcu</a></td>
610cdf0e10cSrcweir                  <td class="cell80">Contains the ProtocolHandler
611cdf0e10cSrcweirconfiguration.</td>
612cdf0e10cSrcweir                </tr>
613cdf0e10cSrcweir                <tr>
614cdf0e10cSrcweir                  <td class="cell20"><a
615cdf0e10cSrcweir href="./Components/Addons/ProtocolHandlerAddon_cpp/Addons.xcu"
616cdf0e10cSrcweir title="link to Components/Addons/ProtocolHandlerAddon_cpp/Addons.xcu">Addons.xcu</a></td>
617cdf0e10cSrcweir                  <td class="cell80">Contains the configuration entries
618cdf0e10cSrcweirfor the ProtocolHandler addon where different entries are configured.</td>
619cdf0e10cSrcweir                </tr>
620cdf0e10cSrcweir              </tbody>
621cdf0e10cSrcweir            </table>
622cdf0e10cSrcweir            </td>
623cdf0e10cSrcweir          </tr>
624cdf0e10cSrcweir          <tr>
625cdf0e10cSrcweir            <td>
626cdf0e10cSrcweir            <table class="table4">
627cdf0e10cSrcweir              <tbody>
628cdf0e10cSrcweir                <tr class="thead">
629cdf0e10cSrcweir                  <td class="cell20">Java Component Example</td>
630cdf0e10cSrcweir                  <td class="cell80">Description</td>
631cdf0e10cSrcweir                </tr>
632cdf0e10cSrcweir                <tr>
63380295734SMatthias Seidel                  <td class="cell20"><img src="../../docs/images/blueball.png"> <a
634cdf0e10cSrcweir href="./Components/JavaComponent/TestJavaComponent.java"
635cdf0e10cSrcweir title="link to Components/JavaComponent/TestJavaComponent.java">TestJavaComponent</a></td>
636cdf0e10cSrcweir                  <td class="cell80">Demonstrates how to extend the
637cdf0e10cSrcweirservice provider with a new factory and instantiates the example
638cdf0e10cSrcweircomponents.</td>
639cdf0e10cSrcweir                </tr>
640cdf0e10cSrcweir                <tr>
641cdf0e10cSrcweir                  <td class="cell20"><a
642cdf0e10cSrcweir href="./Components/JavaComponent/TestComponentA.java"
643cdf0e10cSrcweir title="link to Components/JavaComponent/TestComponentA.java">TestComponentA</a></td>
644cdf0e10cSrcweir                  <td class="cell80">Shows a simple demo component
645cdf0e10cSrcweirwhich implements <a
646cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/lang/XTypeProvider.html"
647cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.lang.XTypeProvider"><code>XTypeProvider</code></a>,
648cdf0e10cSrcweir                  <a
649cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/lang/XServiceInfo.html"
650cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.lang.XServicedInfo">
651cdf0e10cSrcweir                  <code>XServiceInfo</code></a> and an own interface <code>XSomethingA</code>.</td>
652cdf0e10cSrcweir                </tr>
653cdf0e10cSrcweir                <tr>
654cdf0e10cSrcweir                  <td class="cell20"><a
655cdf0e10cSrcweir href="./Components/JavaComponent/TestComponentB.java"
656cdf0e10cSrcweir title="link to Components/JavaComponent/TestComponentB.java">TestComponentB</a></td>
657cdf0e10cSrcweir                  <td class="cell80">Shows a simple demo component
658cdf0e10cSrcweirwhich implements <a
659cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/lang/XTypeProvider.html"
660cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.lang.XTypeProvider">
661cdf0e10cSrcweir                  <code>XTypeProvider</code></a>, <a
662cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/lang/XServiceInfo.html"
663cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.lang.XServiceInfo"><code>XServiceInfo</code></a>
664cdf0e10cSrcweirand an own interface <code>XSomethingB</code>.</td>
665cdf0e10cSrcweir                </tr>
666cdf0e10cSrcweir                <tr>
667cdf0e10cSrcweir                  <td class="cell20"><a
668cdf0e10cSrcweir href="./Components/JavaComponent/TestServiceProvider.java"
669cdf0e10cSrcweir title="link to Components/JavaComponent/TestServiceProvider.java">TestServiceProvider</a></td>
670cdf0e10cSrcweir                  <td class="cell80">Implements a factory (service
671cdf0e10cSrcweirprovider) which can create the two test components.</td>
672cdf0e10cSrcweir                </tr>
673cdf0e10cSrcweir              </tbody>
674cdf0e10cSrcweir            </table>
675cdf0e10cSrcweir            </td>
676cdf0e10cSrcweir          </tr>
677cdf0e10cSrcweir          <tr>
678cdf0e10cSrcweir            <td>
679cdf0e10cSrcweir            <table class="table4">
680cdf0e10cSrcweir              <tbody>
681cdf0e10cSrcweir                <tr class="thead">
682cdf0e10cSrcweir                  <td class="cell20">C++ Component Example</td>
683cdf0e10cSrcweir                  <td class="cell80">Description</td>
684cdf0e10cSrcweir                </tr>
685cdf0e10cSrcweir                <tr>
68680295734SMatthias Seidel                  <td class="cell20"><img src="../../docs/images/blueball.png"> <a
687cdf0e10cSrcweir href="./Components/CppComponent/TestCppComponent.cxx"
688cdf0e10cSrcweir title="link to Components/CppComponent/TestCppComponent.cxx">TestCppComponent.cxx</a></td>
689cdf0e10cSrcweir                  <td class="cell80">Shows how to create new instances
690cdf0e10cSrcweirof the demo services and calls some methods of the demo interface.</td>
691cdf0e10cSrcweir                </tr>
692cdf0e10cSrcweir                <tr>
693cdf0e10cSrcweir                  <td class="cell20"><a
694cdf0e10cSrcweir href="./Components/CppComponent/service1_impl.cxx"
695cdf0e10cSrcweir title="link to Components/CppComponent/service1_impl.cxx">service1_impl.cxx</a></td>
696cdf0e10cSrcweir                  <td class="cell80">Implements a simple UNO service
697cdf0e10cSrcweirwith an own interface in C++.</td>
698cdf0e10cSrcweir                </tr>
699cdf0e10cSrcweir                <tr>
700cdf0e10cSrcweir                  <td class="cell20"><a
701cdf0e10cSrcweir href="./Components/CppComponent/service2_impl.cxx"
702cdf0e10cSrcweir title="link to Components/CppComponent/service2_impl.cxx">service2_impl.cxx</a></td>
703cdf0e10cSrcweir                  <td class="cell80">Implements another simple UNO
704cdf0e10cSrcweirservice in C++.</td>
705cdf0e10cSrcweir                </tr>
706cdf0e10cSrcweir              </tbody>
707cdf0e10cSrcweir            </table>
708cdf0e10cSrcweir            </td>
709cdf0e10cSrcweir          </tr>
710cdf0e10cSrcweir          <tr>
711cdf0e10cSrcweir            <td>
712cdf0e10cSrcweir            <table class="table4">
713cdf0e10cSrcweir              <tbody>
714cdf0e10cSrcweir                <tr class="thead">
715cdf0e10cSrcweir                  <td class="cell20">Thumbs Example</td>
716cdf0e10cSrcweir                  <td class="cell80">Description</td>
717cdf0e10cSrcweir                </tr>
718cdf0e10cSrcweir                <tr>
719cdf0e10cSrcweir                  <td class="cell20"><a
720cdf0e10cSrcweir href="./Components/Thumbs/org/openoffice/comp/test/ImageShrink.java"
721cdf0e10cSrcweir title="link to Components/Thumbs/org/openoffice/comp/test/ImageShrink.java">ImageShrink</a></td>
722cdf0e10cSrcweir                  <td class="cell80">Contains a framework for a
723cdf0e10cSrcweircomponent which scales images in a directory and stores them to another
724cdf0e10cSrcweirdirectory. This code does not really do anything, it just contains the
725cdf0e10cSrcweirframework.</td>
726cdf0e10cSrcweir                </tr>
727cdf0e10cSrcweir                <tr>
728cdf0e10cSrcweir                  <td class="cell20"><a
729cdf0e10cSrcweir href="./Components/Thumbs/org/openoffice/comp/test/Thumbs.java"
730cdf0e10cSrcweir title="link to Components/Thumbs/org/openoffice/comp/test/Thumbs.java">Thumbs</a></td>
731cdf0e10cSrcweir                  <td class="cell80">This example registers a factory
732cdf0e10cSrcweirfor the image shrink component and instantiates it.</td>
733cdf0e10cSrcweir                </tr>
734cdf0e10cSrcweir              </tbody>
735cdf0e10cSrcweir            </table>
736cdf0e10cSrcweir            </td>
737cdf0e10cSrcweir          </tr>
738cdf0e10cSrcweir          <tr>
739cdf0e10cSrcweir            <td>
740cdf0e10cSrcweir            <table class="table4">
741cdf0e10cSrcweir              <tbody>
742cdf0e10cSrcweir                <tr class="thead">
743cdf0e10cSrcweir                  <td class="cell20">Dialog Component Example</td>
744cdf0e10cSrcweir                  <td class="cell80">Description</td>
745cdf0e10cSrcweir                </tr>
746cdf0e10cSrcweir                <tr>
74780295734SMatthias Seidel                  <td class="cell20"><img src="../../docs/images/blueball.png"> <a
748cdf0e10cSrcweir href="./Components/DialogComponent/DialogComponent.java"
749cdf0e10cSrcweir title="link to Components/DialogComponent/DialogComponent.java">DialogComponent.java</a></td>
750cdf0e10cSrcweir                  <td class="cell80">Implements a component accessing a dialog created
751cdf0e10cSrcweir                  with the OpenOffice.org %PRODUCT_RELEASE% Basic IDE. The component provides methods that
752cdf0e10cSrcweir                  can be bound to dialog respectively control events	.</td>
753cdf0e10cSrcweir                </tr>
754cdf0e10cSrcweir                <tr>
755cdf0e10cSrcweir                  <td class="cell20"><a
756cdf0e10cSrcweir href="./Components/DialogComponent/XTestDialogHandler.idl"
757cdf0e10cSrcweir title="link to Components/DialogComponent/XTestDialogHandler.idl">XTestDialogHandler.idl</a></td>
758cdf0e10cSrcweir                  <td class="cell80">Interface implementing a createDialog method showing the
759cdf0e10cSrcweir                  dialog and some methods to be used as event handler for the dialog.
760cdf0e10cSrcweir                  </td>
761cdf0e10cSrcweir                </tr>
762cdf0e10cSrcweir                <tr>
763cdf0e10cSrcweir                  <td class="cell20"><a
764cdf0e10cSrcweir href="./Components/DialogComponent/TestDialogHandler.idl"
765cdf0e10cSrcweir title="link to Components/DialogComponent/TestDialogHandler.idl">TestDialogHandler.idl</a></td>
766cdf0e10cSrcweir                  <td class="cell80">
767cdf0e10cSrcweir                  Service definition for the component implementing
768cdf0e10cSrcweir                  its own interface <code>XTestDialogHandler</code>.
769cdf0e10cSrcweir                  </td>
770cdf0e10cSrcweir                </tr>
771cdf0e10cSrcweir                <tr>
772cdf0e10cSrcweir                  <td class="cell20"><a
773cdf0e10cSrcweir href="./Components/DialogComponent/DialogComponent.odt"
774cdf0e10cSrcweir title="link to Components/DialogComponent/DialogComponent.odt">DialogComponent.odt</a></td>
775cdf0e10cSrcweir                  <td class="cell80">Document containing Basic code to
776cdf0e10cSrcweir                  instantiate the Dialog Components and a Dialog containing
777cdf0e10cSrcweir                  controls with events bound to methods supported by the
778cdf0e10cSrcweir                  Dialog Component.</td>
779cdf0e10cSrcweir                </tr>
780cdf0e10cSrcweir              </tbody>
781cdf0e10cSrcweir            </table>
782cdf0e10cSrcweir            </td>
783cdf0e10cSrcweir          </tr>
784cdf0e10cSrcweir        </tbody>
785cdf0e10cSrcweir      </table>
786cdf0e10cSrcweir      </td>
787cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
788cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
789cdf0e10cSrcweir    </tr>
790cdf0e10cSrcweir    <tr>
791cdf0e10cSrcweir      <td colspan="3"><img class="line"
792cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
793cdf0e10cSrcweir    </tr>
794cdf0e10cSrcweir    <tr>
795cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
796cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
797cdf0e10cSrcweir      <td>
798cdf0e10cSrcweir      <table class="table2">
799cdf0e10cSrcweir        <tbody>
800cdf0e10cSrcweir          <tr>
801cdf0e10cSrcweir            <td>
802cdf0e10cSrcweir            <table class="table3">
803cdf0e10cSrcweir              <tbody>
804cdf0e10cSrcweir                <tr>
805cdf0e10cSrcweir                  <td colspan="2" class="head1"><a
806cdf0e10cSrcweir name="OfficeDevelopment">Office Development examples</a></td>
807cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
808cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
809cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
810cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
811cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
812cdf0e10cSrcweir                </tr>
813cdf0e10cSrcweir              </tbody>
814cdf0e10cSrcweir            </table>
815cdf0e10cSrcweir            </td>
816cdf0e10cSrcweir          </tr>
817cdf0e10cSrcweir          <tr>
818cdf0e10cSrcweir            <td>
819cdf0e10cSrcweir            <table class="table4">
820cdf0e10cSrcweir              <tbody>
821cdf0e10cSrcweir                <tr class="thead">
822cdf0e10cSrcweir                  <td class="cell20">Ascii Filter Example</td>
823cdf0e10cSrcweir                  <td class="cell80">Description</td>
824cdf0e10cSrcweir                </tr>
825cdf0e10cSrcweir                <tr>
826cdf0e10cSrcweir                  <td class="cell20"><a
827cdf0e10cSrcweir href="./OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java"
828cdf0e10cSrcweir title="link to OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java">AsciiReplaceFilter</a></td>
829cdf0e10cSrcweir                  <td class="cell80">Implements an example for an
830cdf0e10cSrcweirimport/export filter service.</td>
831cdf0e10cSrcweir                </tr>
832cdf0e10cSrcweir                <tr>
833cdf0e10cSrcweir                  <td class="cell20"><a
834cdf0e10cSrcweir href="./OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java"
835cdf0e10cSrcweir title="link to OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java">FilterOptions</a></td>
836cdf0e10cSrcweir                  <td class="cell80">Offers some helper methods to
837cdf0e10cSrcweiranalyze and prepare the arguments of the filter method.</td>
838cdf0e10cSrcweir                </tr>
839cdf0e10cSrcweir                <tr>
840cdf0e10cSrcweir                  <td class="cell20"><a
841cdf0e10cSrcweir href="./OfficeDev/FilterDevelopment/AsciiFilter/TypeDetection.xcu"
842cdf0e10cSrcweir title="link to OfficeDev/FilterDevelopment/AsciiFilter/TypeDetection.xcu">TypeDetection.xcu</a></td>
843cdf0e10cSrcweir                  <td class="cell80">Contains the necessary
844cdf0e10cSrcweirconfiguration items for the AsciiReplaceFilter.</td>
845cdf0e10cSrcweir                </tr>
846cdf0e10cSrcweir              </tbody>
847cdf0e10cSrcweir            </table>
848cdf0e10cSrcweir            </td>
849cdf0e10cSrcweir          </tr>
850cdf0e10cSrcweir          <tr>
851cdf0e10cSrcweir            <td>
852cdf0e10cSrcweir            <table class="table4">
853cdf0e10cSrcweir              <tbody>
854cdf0e10cSrcweir                <tr class="thead">
855cdf0e10cSrcweir                  <td class="cell20">FlatXmlFilter C++ Example</td>
856cdf0e10cSrcweir                  <td class="cell80">Description</td>
857cdf0e10cSrcweir                </tr>
858cdf0e10cSrcweir                <tr>
859cdf0e10cSrcweir                  <td class="cell20"><a
860cdf0e10cSrcweir href="./OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx"
861cdf0e10cSrcweir title="link to OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx">FlatXml.cxx</a></td>
862cdf0e10cSrcweir                  <td class="cell80">Implements an import/export filter
863cdf0e10cSrcweirstoring the data in one xml stream instead of the normal three streams
864cdf0e10cSrcweirin for example an .odt file. The example is implemented in C++.</td>
865cdf0e10cSrcweir                </tr>
866cdf0e10cSrcweir                <tr>
867cdf0e10cSrcweir                  <td class="cell20"><a
868cdf0e10cSrcweir href="./OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXmlFilter_cpp.xcu"
869cdf0e10cSrcweir title="link to OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXmlFilter_cpp.xcu">FlatXmlFilter_cpp.xcu</a></td>
870cdf0e10cSrcweir                  <td class="cell80">Contains the necessary
871cdf0e10cSrcweirconfiguration items for the C++ flat xml filter.</td>
872cdf0e10cSrcweir                </tr>
873cdf0e10cSrcweir              </tbody>
874cdf0e10cSrcweir            </table>
875cdf0e10cSrcweir            </td>
876cdf0e10cSrcweir          </tr>
877cdf0e10cSrcweir          <tr>
878cdf0e10cSrcweir            <td>
879cdf0e10cSrcweir            <table class="table4">
880cdf0e10cSrcweir              <tbody>
881cdf0e10cSrcweir                <tr class="thead">
882cdf0e10cSrcweir                  <td class="cell20">FlatXmlFilter Java Example</td>
883cdf0e10cSrcweir                  <td class="cell80">Description</td>
884cdf0e10cSrcweir                </tr>
885cdf0e10cSrcweir                <tr>
886cdf0e10cSrcweir                  <td class="cell20"><a
887cdf0e10cSrcweir href="./OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java"
888cdf0e10cSrcweir title="link to OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java">FlatXml</a></td>
889cdf0e10cSrcweir                  <td class="cell80">Implements an import/export filter
890cdf0e10cSrcweirstoring the data in one xml stream instead of the normal three streams
891cdf0e10cSrcweirin for example an .odt file. The example is implemented in Java.</td>
892cdf0e10cSrcweir                </tr>
893cdf0e10cSrcweir                <tr>
894cdf0e10cSrcweir                  <td class="cell20"><a
895cdf0e10cSrcweir href="./OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXmlFilter_java.xcu"
896cdf0e10cSrcweir title="link to OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXmlFilter_java.xcu">FlatXmlFilter_java.xcu</a></td>
897cdf0e10cSrcweir                  <td class="cell80">Contains the necessary
898cdf0e10cSrcweirconfiguration items for the Java flat xml filter.</td>
899cdf0e10cSrcweir                </tr>
900cdf0e10cSrcweir              </tbody>
901cdf0e10cSrcweir            </table>
902cdf0e10cSrcweir            </td>
903cdf0e10cSrcweir          </tr>
904cdf0e10cSrcweir          <tr>
905cdf0e10cSrcweir            <td>
906cdf0e10cSrcweir            <table class="table4">
907cdf0e10cSrcweir              <tbody>
908cdf0e10cSrcweir                <tr class="thead">
909cdf0e10cSrcweir                  <td class="cell20">FlatXml FilterDetection Example</td>
910cdf0e10cSrcweir                  <td class="cell80">Description</td>
911cdf0e10cSrcweir                </tr>
912cdf0e10cSrcweir                <tr>
913cdf0e10cSrcweir                  <td class="cell20"><a
914cdf0e10cSrcweir href="./OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx"
915cdf0e10cSrcweir title="link to OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx">filterdetect.cxx</a></td>
916cdf0e10cSrcweir                  <td class="cell80">Implements an example filter
917cdf0e10cSrcweirdetection for the flat xml filter. The example is implemented in C++.</td>
918cdf0e10cSrcweir                </tr>
919cdf0e10cSrcweir                <tr>
920cdf0e10cSrcweir                  <td class="cell20"><a
921cdf0e10cSrcweir href="./OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.hxx"
922cdf0e10cSrcweir title="link to OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.hxx">filterdetect.hxx</a></td>
923cdf0e10cSrcweir                  <td class="cell80">Contains the class definition of
924cdf0e10cSrcweirthe filter detection example.</td>
925cdf0e10cSrcweir                </tr>
926cdf0e10cSrcweir                <tr>
927cdf0e10cSrcweir                  <td class="cell20"><a
928cdf0e10cSrcweir href="./OfficeDev/FilterDevelopment/FlatXmlFilterDetection/fdcomp.cxx"
929cdf0e10cSrcweir title="link to OfficeDev/FilterDevelopment/FlatXmlFilterDetection/fdcomp.cxx">fdcomp.cxx</a></td>
930cdf0e10cSrcweir                  <td class="cell80">Implements the administrative
931cdf0e10cSrcweircomponent functions (component_writeInfo, component_getFactory).</td>
932cdf0e10cSrcweir                </tr>
933cdf0e10cSrcweir                <tr>
934cdf0e10cSrcweir                  <td class="cell20"><a
935cdf0e10cSrcweir href="./OfficeDev/FilterDevelopment/FlatXmlFilterDetection/FlatXmlTypeDetection.xcu"
936cdf0e10cSrcweir title="link to OfficeDev/FilterDevelopment/FlatXmlFilterDetection/FlatXmlTypeDetection.xcu">FlatXmlTypeDetection.xcu</a></td>
937cdf0e10cSrcweir                  <td class="cell80">Contains the necessary
938cdf0e10cSrcweirconfiguration items for the C++ flat xml type detection.</td>
939cdf0e10cSrcweir                </tr>
940cdf0e10cSrcweir              </tbody>
941cdf0e10cSrcweir            </table>
942cdf0e10cSrcweir            </td>
943cdf0e10cSrcweir          </tr>
944cdf0e10cSrcweir          <tr>
945cdf0e10cSrcweir            <td>
946cdf0e10cSrcweir            <table class="table4">
947cdf0e10cSrcweir              <tbody>
948cdf0e10cSrcweir                <tr class="thead">
949cdf0e10cSrcweir                  <td class="cell20">Desktop Environment Example</td>
950cdf0e10cSrcweir                  <td class="cell80">Description</td>
951cdf0e10cSrcweir                </tr>
952cdf0e10cSrcweir                <tr>
953cdf0e10cSrcweir                  <td class="cell20"><a
954cdf0e10cSrcweir href="./OfficeDev/DesktopEnvironment/CustomizeView.java"
955cdf0e10cSrcweir title="link to OfficeDev/DesktopEnvironment/CustomizeView.java">CustomizeView</a></td>
956cdf0e10cSrcweir                  <td class="cell80">Offers a view which allows hiding
957cdf0e10cSrcweirand showing of the menubar, toolbar and objectbar of the related
958cdf0e10cSrcweirdocument component.</td>
959cdf0e10cSrcweir                </tr>
960cdf0e10cSrcweir                <tr>
961cdf0e10cSrcweir                  <td class="cell20"><img
96280295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
963cdf0e10cSrcweir href="./OfficeDev/DesktopEnvironment/Desk.java"
964cdf0e10cSrcweir title="link to OfficeDev/DesktopEnvironment/Desk.java">Desk</a></td>
965cdf0e10cSrcweir                  <td class="cell80">This is the main part of a demo
966cdf0e10cSrcweirapplication based on the framework APIs. It mainly shows the mechanisms
967cdf0e10cSrcweirto load, store and convert documents, as well as dispatch and dispatch
968cdf0e10cSrcweirinterception. It integrates windows from OpenOffice.org %PRODUCT_RELEASE% via system
969cdf0e10cSrcweirwindow handle. This is the same mechanism as used by the OOoBean, but
970cdf0e10cSrcweirthe OOoBean itself is not used here, just the JNI window handle access.</td>
971cdf0e10cSrcweir                </tr>
972cdf0e10cSrcweir                <tr>
973cdf0e10cSrcweir                  <td class="cell20"><a
974cdf0e10cSrcweir href="./OfficeDev/DesktopEnvironment/DocumentView.java"
975cdf0e10cSrcweir title="link to OfficeDev/DesktopEnvironment/DocumentView.java">DocumentView</a></td>
976cdf0e10cSrcweir                  <td class="cell80">Deals with the application window
977cdf0e10cSrcweirand it's actions.</td>
978cdf0e10cSrcweir                </tr>
979cdf0e10cSrcweir                <tr>
980cdf0e10cSrcweir                  <td class="cell20"><a
981cdf0e10cSrcweir href="./OfficeDev/DesktopEnvironment/FunctionHelper.java"
982cdf0e10cSrcweir title="link to OfficeDev/DesktopEnvironment/FunctionHelper.java">FunctionHelper</a></td>
983cdf0e10cSrcweir                  <td class="cell80">This helper comprises all
984cdf0e10cSrcweirOpenOffice.org %PRODUCT_RELEASE% API calls. Thus it is possible to learn about these
985cdf0e10cSrcweiraspects separately from the rest of the application example.</td>
986cdf0e10cSrcweir                </tr>
987cdf0e10cSrcweir                <tr>
988cdf0e10cSrcweir                  <td class="cell20"><a
989cdf0e10cSrcweir href="./OfficeDev/DesktopEnvironment/IOnewayLink.java"
990cdf0e10cSrcweir title="link to OfficeDev/DesktopEnvironment/IOnewayLink.java">IOnewayLink</a></td>
991cdf0e10cSrcweir                  <td class="cell80">This is an interface to receive
992cdf0e10cSrcweirasynchronous events from UNO oneway calls.</td>
993cdf0e10cSrcweir                </tr>
994cdf0e10cSrcweir                <tr>
995cdf0e10cSrcweir                  <td class="cell20"><a
996cdf0e10cSrcweir href="./OfficeDev/DesktopEnvironment/IShutdownListener.java"
997cdf0e10cSrcweir title="link to OfficeDev/DesktopEnvironment/IShutdownListener.java">IShutdownListener</a></td>
998cdf0e10cSrcweir                  <td class="cell80">This is a listener interface to
999cdf0e10cSrcweirclean up on shutdown of OpenOffice.org %PRODUCT_RELEASE%.</td>
1000cdf0e10cSrcweir                </tr>
1001cdf0e10cSrcweir                <tr>
1002cdf0e10cSrcweir                  <td class="cell20"><a
1003cdf0e10cSrcweir href="./OfficeDev/DesktopEnvironment/Interceptor.java"
1004cdf0e10cSrcweir title="link to OfficeDev/DesktopEnvironment/Interceptor.java">Interceptor</a></td>
1005cdf0e10cSrcweir                  <td class="cell80">This implements a dispatch
1006cdf0e10cSrcweirinterceptor for a specific URL.</td>
1007cdf0e10cSrcweir                </tr>
1008cdf0e10cSrcweir                <tr>
1009cdf0e10cSrcweir                  <td class="cell20"><a
1010cdf0e10cSrcweir href="./OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java"
1011cdf0e10cSrcweir title="link to OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java">JavaWindowPeerFake</a></td>
1012cdf0e10cSrcweir                  <td class="cell80">Fakes an <a
1013cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/awt/XWindowPeer.html"
1014cdf0e10cSrcweir title=" link to the reference documentation of com.sun.star.awt.XWindowPeer"><code>XWindowPeer</code></a>
1015cdf0e10cSrcweirfor the Java native window handle to create a child window for the
1016cdf0e10cSrcweiroffice frame.</td>
1017cdf0e10cSrcweir                </tr>
1018cdf0e10cSrcweir                <tr>
1019cdf0e10cSrcweir                  <td class="cell20"><a
1020cdf0e10cSrcweir href="./OfficeDev/DesktopEnvironment/NativeView.java"
1021cdf0e10cSrcweir title="link to OfficeDev/DesktopEnvironment/NativeView.java">NativeView</a></td>
1022cdf0e10cSrcweir                  <td class="cell80">Implements native JNI methods to
1023cdf0e10cSrcweirget the window handle of the Java window.</td>
1024cdf0e10cSrcweir                </tr>
1025cdf0e10cSrcweir                <tr>
1026cdf0e10cSrcweir                  <td class="cell20"><a
1027cdf0e10cSrcweir href="./OfficeDev/DesktopEnvironment/OfficeConnect.java"
1028cdf0e10cSrcweir title=" link to OfficeDev/DesktopEnvironment/OfficeConnect.java">OfficeConnect</a></td>
1029cdf0e10cSrcweir                  <td class="cell80">Builds the remote bridge to
1030cdf0e10cSrcweirOpenOffice.org %PRODUCT_RELEASE% and exports its UNO service manager for the Java side of
1031cdf0e10cSrcweirthe application.</td>
1032cdf0e10cSrcweir                </tr>
1033cdf0e10cSrcweir                <tr>
1034cdf0e10cSrcweir                  <td class="cell20"><a
1035cdf0e10cSrcweir href="./OfficeDev/DesktopEnvironment/OnewayExecutor.java"
1036cdf0e10cSrcweir title="link to OfficeDev/DesktopEnvironment/OnewayExecutor.java">OnewayExecutor</a></td>
1037cdf0e10cSrcweir                  <td class="cell80">Implements <code>IOnewayLink</code>
1038cdf0e10cSrcweirto decouple asynchronous oneway calls in the Java process.</td>
1039cdf0e10cSrcweir                </tr>
1040cdf0e10cSrcweir                <tr>
1041cdf0e10cSrcweir                  <td class="cell20"><a
1042cdf0e10cSrcweir href="./OfficeDev/DesktopEnvironment/StatusListener.java"
1043cdf0e10cSrcweir title="link to OfficeDev/DesktopEnvironment/StatusListener.java">StatusListener</a></td>
1044cdf0e10cSrcweir                  <td class="cell80">Implements a listener for a <a
1045cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/frame/FeatureStateEvent.html"
1046cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.frame.FeatureStateEvent">
1047cdf0e10cSrcweir                  <code>FeatureStateEvent</code></a>.</td>
1048cdf0e10cSrcweir                </tr>
1049cdf0e10cSrcweir                <tr>
1050cdf0e10cSrcweir                  <td class="cell20"><a
1051cdf0e10cSrcweir href="./OfficeDev/DesktopEnvironment/StatusView.java"
1052cdf0e10cSrcweir title="link to OfficeDev/DesktopEnvironment/StatusView.java">StatusView</a></td>
1053cdf0e10cSrcweir                  <td class="cell80">Shows the current status for which
1054cdf0e10cSrcweirthe application is registered as an event listener.</td>
1055cdf0e10cSrcweir                </tr>
1056cdf0e10cSrcweir                <tr>
1057cdf0e10cSrcweir                  <td class="cell20"><a
1058cdf0e10cSrcweir href="./OfficeDev/DesktopEnvironment/ViewContainer.java"
1059cdf0e10cSrcweir title="link to OfficeDev/DesktopEnvironment/ViewContainer.java">ViewContainer</a></td>
1060cdf0e10cSrcweir                  <td class="cell80">Performs a clean up on the Java
1061cdf0e10cSrcweirside on OpenOffice.org %PRODUCT_RELEASE% shutdown.</td>
1062cdf0e10cSrcweir                </tr>
1063cdf0e10cSrcweir              </tbody>
1064cdf0e10cSrcweir            </table>
1065cdf0e10cSrcweir            </td>
1066cdf0e10cSrcweir          </tr>
1067cdf0e10cSrcweir          <tr>
1068cdf0e10cSrcweir            <td>
1069cdf0e10cSrcweir            <table class="table4">
1070cdf0e10cSrcweir              <tbody>
1071cdf0e10cSrcweir                <tr class="thead">
1072cdf0e10cSrcweir                  <td class="cell20">Office Development Examples</td>
1073cdf0e10cSrcweir                  <td class="cell80">Description</td>
1074cdf0e10cSrcweir                </tr>
1075cdf0e10cSrcweir                <tr>
1076cdf0e10cSrcweir                  <td class="cell20"><a
1077cdf0e10cSrcweir href="./OfficeDev/OfficeConnect.java"
1078cdf0e10cSrcweir title="link to OfficeDev/OfficeConnect.java">OfficeConnect</a></td>
1079cdf0e10cSrcweir                  <td class="cell80">Builds the remote bridge to
1080cdf0e10cSrcweirOpenOffice.org %PRODUCT_RELEASE% and exports its UNO service manager to the Java side.</td>
1081cdf0e10cSrcweir                </tr>
1082cdf0e10cSrcweir                <tr>
1083cdf0e10cSrcweir                  <td class="cell20"><img
108480295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1085cdf0e10cSrcweir href="./OfficeDev/ContextMenuInterceptor.java"
1086cdf0e10cSrcweir title="link to OfficeDev/ContextMenuInterceptor.java">ContextMenuInterceptor</a></td>
1087cdf0e10cSrcweir                  <td class="cell80">This example shows a context menu
1088cdf0e10cSrcweirinterceptor that creates a new menu entry that has a sub menu. This sub
1089cdf0e10cSrcweirmenu is in inserted into the context menu on the topmost position. It
1090cdf0e10cSrcweirprovides some helper functions to the user that are reachable through
1091cdf0e10cSrcweirthe menu Help.</td>
1092cdf0e10cSrcweir                </tr>
1093cdf0e10cSrcweir                <tr>
1094cdf0e10cSrcweir                  <td class="cell20"><a
1095cdf0e10cSrcweir href="./OfficeDev/MenuElement.java"
1096cdf0e10cSrcweir title="link to OfficeDev/MenuElement.java">MenuElement</a></td>
1097cdf0e10cSrcweir                  <td class="cell80">A helper class for the context
1098cdf0e10cSrcweirmenu interceptor example. It determines the menu element type.</td>
1099cdf0e10cSrcweir                </tr>
1100cdf0e10cSrcweir                <tr>
1101cdf0e10cSrcweir                  <td class="cell20"><img
110280295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1103cdf0e10cSrcweir href="./OfficeDev/Number_Formats.java"
1104cdf0e10cSrcweir title="link to OfficeDev/Number_Formats.java">Number_Formats</a></td>
1105cdf0e10cSrcweir                  <td class="cell80">Demonstrates the use of number
1106cdf0e10cSrcweirformats in a spreadsheet document.</td>
1107cdf0e10cSrcweir                </tr>
1108cdf0e10cSrcweir              </tbody>
1109cdf0e10cSrcweir            </table>
1110cdf0e10cSrcweir            </td>
1111cdf0e10cSrcweir          </tr>
1112cdf0e10cSrcweir          <tr>
1113cdf0e10cSrcweir            <td>
1114cdf0e10cSrcweir            <table class="table4">
1115cdf0e10cSrcweir              <tbody>
1116cdf0e10cSrcweir                <tr class="thead">
1117cdf0e10cSrcweir                  <td class="cell20">Termination Test Example</td>
1118cdf0e10cSrcweir                  <td class="cell80">Description</td>
1119cdf0e10cSrcweir                </tr>
1120cdf0e10cSrcweir                <tr>
1121cdf0e10cSrcweir                  <td class="cell20"><img
112280295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1123cdf0e10cSrcweir href="./OfficeDev/TerminationTest/TerminationTest.java"
1124cdf0e10cSrcweir title="link to OfficeDev/TerminationTest/TerminationTest.java">TerminationTest</a></td>
1125cdf0e10cSrcweir                  <td class="cell80">This example uses the
1126cdf0e10cSrcweirTerminateListener and shows the use of them in a running program.</td>
1127cdf0e10cSrcweir                </tr>
1128cdf0e10cSrcweir                <tr>
1129cdf0e10cSrcweir                  <td class="cell20"><a
1130cdf0e10cSrcweir href="./OfficeDev/TerminationTest/TerminateListener.java"
1131cdf0e10cSrcweir title="link to OfficeDev/TerminationTest/TerminateListener.java">TerminateListener</a></td>
1132cdf0e10cSrcweir                  <td class="cell80">An example implementation of <a
1133cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/frame/XTerminateListener.html"
1134cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.frame.XTerminationListener">
1135cdf0e10cSrcweir                  <code>XTerminateListener</code></a>. It is called
1136cdf0e10cSrcweirwhen OpenOffice.org %PRODUCT_RELEASE% terminates.</td>
1137cdf0e10cSrcweir                </tr>
1138cdf0e10cSrcweir              </tbody>
1139cdf0e10cSrcweir            </table>
1140cdf0e10cSrcweir            </td>
1141cdf0e10cSrcweir          </tr>
1142cdf0e10cSrcweir          <tr>
1143cdf0e10cSrcweir            <td>
1144cdf0e10cSrcweir            <table class="table4">
1145cdf0e10cSrcweir              <tbody>
1146cdf0e10cSrcweir                <tr class="thead">
1147cdf0e10cSrcweir                  <td class="cell20">Clipboard Example</td>
1148cdf0e10cSrcweir                  <td class="cell80">Description</td>
1149cdf0e10cSrcweir                </tr>
1150cdf0e10cSrcweir                <tr>
1151cdf0e10cSrcweir                  <td class="cell20"><img
115280295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1153cdf0e10cSrcweir href="./OfficeDev/Clipboard/Clipboard.java"
1154cdf0e10cSrcweir title="link to OfficeDev/Clipboard/Clipboard.java">Clipboard</a></td>
1155cdf0e10cSrcweir                  <td class="cell80">Demonstrates the usage of the
1156cdf0e10cSrcweirclipboard service by registering a clipboard listener, getting a list
1157cdf0e10cSrcweirof formats from the current clipboard content and copying some data to
1158cdf0e10cSrcweirthe clipboard.</td>
1159cdf0e10cSrcweir                </tr>
1160cdf0e10cSrcweir                <tr>
1161cdf0e10cSrcweir                  <td class="cell20"><a
1162cdf0e10cSrcweir href="./OfficeDev/Clipboard/ClipboardListener.java"
1163cdf0e10cSrcweir title="link to OfficeDev/Clipboard/ClipboardListener.java">ClipboardListener</a></td>
1164cdf0e10cSrcweir                  <td class="cell80">Implements a clipboard listener
1165cdf0e10cSrcweirfor the Clipboard example. In such a class, actions can be implemented
1166cdf0e10cSrcweirwhich happen whenever the clipboard content changes.</td>
1167cdf0e10cSrcweir                </tr>
1168cdf0e10cSrcweir                <tr>
1169cdf0e10cSrcweir                  <td class="cell20"><a
1170cdf0e10cSrcweir href="./OfficeDev/Clipboard/ClipboardOwner.java"
1171cdf0e10cSrcweir title="link to OfficeDev/Clipboard/ClipboardOwner.java">ClipboardOwner</a></td>
1172cdf0e10cSrcweir                  <td class="cell80">Implements a clipboard owner for
1173cdf0e10cSrcweirthe Clipboard example. This class is notified when it loses ownership
1174cdf0e10cSrcweirof the clipboard.</td>
1175cdf0e10cSrcweir                </tr>
1176cdf0e10cSrcweir                <tr>
1177cdf0e10cSrcweir                  <td class="cell20"><a
1178cdf0e10cSrcweir href="./OfficeDev/Clipboard/TextTransferable.java"
1179cdf0e10cSrcweir title="link to OfficeDev/Clipboard/TextTransferable.java">TextTransferable</a></td>
1180cdf0e10cSrcweir                  <td class="cell80">Implements a data object for the
1181cdf0e10cSrcweirClipboard example. Such classes supply clients with data in a variety
1182cdf0e10cSrcweirof formats.</td>
1183cdf0e10cSrcweir                </tr>
1184cdf0e10cSrcweir              </tbody>
1185cdf0e10cSrcweir            </table>
1186cdf0e10cSrcweir            </td>
1187cdf0e10cSrcweir          </tr>
1188cdf0e10cSrcweir          <tr>
1189cdf0e10cSrcweir            <td>
1190cdf0e10cSrcweir            <table class="table4">
1191cdf0e10cSrcweir              <tbody>
1192cdf0e10cSrcweir                <tr class="thead">
1193cdf0e10cSrcweir                  <td class="cell20">Linguistic Example</td>
1194cdf0e10cSrcweir                  <td class="cell80">Description</td>
1195cdf0e10cSrcweir                </tr>
1196cdf0e10cSrcweir                <tr>
1197cdf0e10cSrcweir                  <td class="cell20"><img
119880295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1199cdf0e10cSrcweir href="./OfficeDev/Linguistic/LinguisticExamples.java"
1200cdf0e10cSrcweir title="link to OfficeDev/Linguistic/LinguisticExamples.java">LinguisticExamples</a></td>
1201cdf0e10cSrcweir                  <td class="cell80">A short example that uses most of
1202cdf0e10cSrcweirthe functionality from the OpenOffice.org %PRODUCT_RELEASE% linguistic API.</td>
1203cdf0e10cSrcweir                </tr>
1204cdf0e10cSrcweir                <tr>
1205cdf0e10cSrcweir                  <td class="cell20"><a
1206cdf0e10cSrcweir href="./OfficeDev/Linguistic/OneInstanceFactory.java"
1207cdf0e10cSrcweir title="link to OfficeDev/Linguistic/OneInstanceFactory.java">OneInstanceFactory</a></td>
1208cdf0e10cSrcweir                  <td class="cell80">This class is used to provide a
1209cdf0e10cSrcweirservice factory for the linguistic services. It enforces that the
1210cdf0e10cSrcweiractual implementations are only instantiated once.</td>
1211cdf0e10cSrcweir                </tr>
1212cdf0e10cSrcweir                <tr>
1213cdf0e10cSrcweir                  <td class="cell20"><a
1214cdf0e10cSrcweir href="./OfficeDev/Linguistic/PropChgHelper.java"
1215cdf0e10cSrcweir title="link to OfficeDev/Linguistic/PropChgHelper.java">PropChgHelper</a></td>
1216cdf0e10cSrcweir                  <td class="cell80">The base class for several
1217cdf0e10cSrcweirproperty change helpers which are used to keep track of the changes of
1218cdf0e10cSrcweirthe service relevant linguistic properties. It is also used by the
1219cdf0e10cSrcweirthesaurus directly.</td>
1220cdf0e10cSrcweir                </tr>
1221cdf0e10cSrcweir                <tr>
1222cdf0e10cSrcweir                  <td class="cell20"><a
1223cdf0e10cSrcweir href="./OfficeDev/Linguistic/PropChgHelper_Hyph.java"
1224cdf0e10cSrcweir title="link to OfficeDev/Linguistic/PropChgHelper_Hyph.java">PropChgHelper_Hyph</a></td>
1225cdf0e10cSrcweir                  <td class="cell80">The property change helper that is
1226cdf0e10cSrcweirtracking the hyphenation relevant properties.</td>
1227cdf0e10cSrcweir                </tr>
1228cdf0e10cSrcweir                <tr>
1229cdf0e10cSrcweir                </tr>
1230cdf0e10cSrcweir                <tr>
1231cdf0e10cSrcweir                  <td class="cell20"><a
1232cdf0e10cSrcweir href="./OfficeDev/Linguistic/PropChgHelper_Spell.java"
1233cdf0e10cSrcweir title="link to OfficeDev/Linguistic/PropChgHelper_Spell.java">PropChgHelper_Spell</a></td>
1234cdf0e10cSrcweir                  <td class="cell80">The property change helper that is
1235cdf0e10cSrcweirtracking the spell checking relevant properties.</td>
1236cdf0e10cSrcweir                </tr>
1237cdf0e10cSrcweir                <tr>
1238cdf0e10cSrcweir                </tr>
1239cdf0e10cSrcweir                <tr>
1240cdf0e10cSrcweir                  <td class="cell20"><a
1241cdf0e10cSrcweir href="./OfficeDev/Linguistic/SampleHyphenator.java"
1242cdf0e10cSrcweir title="link to OfficeDev/Linguistic/SampleHyphenator.java">SampleHyphenator</a></td>
1243cdf0e10cSrcweir                  <td class="cell80">A simple implementation for a <a
1244cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/linguistic2/Hyphenator.html"
1245cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.linguistic2.Hypenator"><code>Hyphenator</code></a>
1246cdf0e10cSrcweirservice.</td>
1247cdf0e10cSrcweir                </tr>
1248cdf0e10cSrcweir                <tr>
1249cdf0e10cSrcweir                </tr>
1250cdf0e10cSrcweir                <tr>
1251cdf0e10cSrcweir                  <td class="cell20"><a
1252cdf0e10cSrcweir href="./OfficeDev/Linguistic/SampleSpellChecker.java"
1253cdf0e10cSrcweir title="link to OfficeDev/Linguistic/SampleSpellChecker.java">SampleSpellChecker</a></td>
1254cdf0e10cSrcweir                  <td class="cell80">A simple implementation for a <a
1255cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/linguistic2/SpellChecker.html"
1256cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.linguistic2.SpellChecker"><code>SpellChecker</code></a>
1257cdf0e10cSrcweirservice.</td>
1258cdf0e10cSrcweir                </tr>
1259cdf0e10cSrcweir                <tr>
1260cdf0e10cSrcweir                </tr>
1261cdf0e10cSrcweir                <tr>
1262cdf0e10cSrcweir                  <td class="cell20"><a
1263cdf0e10cSrcweir href="./OfficeDev/Linguistic/SampleThesaurus.java"
1264cdf0e10cSrcweir title="link to OfficeDev/Linguistic/SampleThesaurus.java">SampleThesaurus</a></td>
1265cdf0e10cSrcweir                  <td class="cell80">A simple implementation for a <a
1266cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/linguistic2/Thesaurus.html"
1267cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.linguistic2.Thesaurus"><code>Thesaurus</code></a>
1268cdf0e10cSrcweirservice.</td>
1269cdf0e10cSrcweir                </tr>
1270cdf0e10cSrcweir                <tr>
1271cdf0e10cSrcweir                </tr>
1272cdf0e10cSrcweir                <tr>
1273cdf0e10cSrcweir                  <td class="cell20"><a
1274cdf0e10cSrcweir href="./OfficeDev/Linguistic/XHyphenatedWord_impl.java"
1275cdf0e10cSrcweir title="link to OfficeDev/Linguistic/XHyphenatedWord_impl.java">XHyphenatedWord_impl</a></td>
1276cdf0e10cSrcweir                  <td class="cell80">An object implementing the <a
1277cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/linguistic2/XHyphenatedWord.html"
1278cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.linguistic2/XHyphenatedWord"><code>XHyphenatedWord</code></a>
1279cdf0e10cSrcweirinterface. An instance of this type may be returned by the hyphenator.</td>
1280cdf0e10cSrcweir                </tr>
1281cdf0e10cSrcweir                <tr>
1282cdf0e10cSrcweir                </tr>
1283cdf0e10cSrcweir                <tr>
1284cdf0e10cSrcweir                  <td class="cell20"><a
1285cdf0e10cSrcweir href="./OfficeDev/Linguistic/XMeaning_impl.java"
1286cdf0e10cSrcweir title="link to OfficeDev/Linguistic/XMeaning_impl.java">XMeaning_impl</a></td>
1287cdf0e10cSrcweir                  <td class="cell80">An object implementing the <a
1288cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/linguistic2/XMeaning.html"
1289cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.linguistic2.XMeaning"><code>XMeaning</code></a>
1290cdf0e10cSrcweirinterface. An instance of this type may be returned by the thesaurus.</td>
1291cdf0e10cSrcweir                </tr>
1292cdf0e10cSrcweir                <tr>
1293cdf0e10cSrcweir                </tr>
1294cdf0e10cSrcweir                <tr>
1295cdf0e10cSrcweir                  <td class="cell20"><a
1296cdf0e10cSrcweir href="./OfficeDev/Linguistic/XPossibleHyphens_impl.java"
1297cdf0e10cSrcweir title="link to OfficeDev/Linguistic/XPossibleHyphens_impl.java">XPossibleHyphens_impl</a></td>
1298cdf0e10cSrcweir                  <td class="cell80">An object implementing the <a
1299cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/linguistic2/XPossibleHyphens.html"
1300cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.linguistic2.XPossibleHyphens">
1301cdf0e10cSrcweir                  <code>XPossibleHyphens</code></a> interface. An
1302cdf0e10cSrcweirinstance of this type may be returned by the hyphenator.</td>
1303cdf0e10cSrcweir                </tr>
1304cdf0e10cSrcweir                <tr>
1305cdf0e10cSrcweir                </tr>
1306cdf0e10cSrcweir                <tr>
1307cdf0e10cSrcweir                  <td class="cell20"><a
1308cdf0e10cSrcweir href="./OfficeDev/Linguistic/XSpellAlternatives_impl.java"
1309cdf0e10cSrcweir title="link to OfficeDev/Linguistic/XSpellAlternatives_impl.java">XSpellAlternatives_impl</a></td>
1310cdf0e10cSrcweir                  <td class="cell80">An object implementing the <a
1311cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/linguistic2/XSpellAlternatives.html"
1312cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.linguistic2.XSpellAlternatives">
1313cdf0e10cSrcweir                  <code>XSpellAlternatives</code></a> interface. An
1314cdf0e10cSrcweirinstance of this type may be returned by the spell checker.</td>
1315cdf0e10cSrcweir                </tr>
1316cdf0e10cSrcweir                <tr>
1317cdf0e10cSrcweir                </tr>
1318cdf0e10cSrcweir              </tbody>
1319cdf0e10cSrcweir            </table>
1320cdf0e10cSrcweir            </td>
1321cdf0e10cSrcweir          </tr>
1322cdf0e10cSrcweir          <tr>
1323cdf0e10cSrcweir            <td>
1324cdf0e10cSrcweir            <table class="table4">
1325cdf0e10cSrcweir              <tbody>
1326cdf0e10cSrcweir                <tr class="thead">
1327cdf0e10cSrcweir                  <td class="cell20">Path Settings Example</td>
1328cdf0e10cSrcweir                  <td class="cell80">Description</td>
1329cdf0e10cSrcweir                </tr>
1330cdf0e10cSrcweir                <tr>
1331cdf0e10cSrcweir                  <td class="cell20"><a
1332cdf0e10cSrcweir href="./OfficeDev/PathSettings/PathSettingsTest.java"
1333cdf0e10cSrcweir title="link to OfficeDev/PathSettings/PathSettingsTest.java">PathsettingsTest</a></td>
1334cdf0e10cSrcweir                  <td class="cell80">This code example creates the
1335cdf0e10cSrcweirservice <a
1336cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/util/PathSettings.html"
1337cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.util.PathSettingst">
1338cdf0e10cSrcweir                  <code>com.sun.star.util.PathSettings</code></a> and
1339cdf0e10cSrcweirretrieves all path properties from it. It shows how a developer can
1340cdf0e10cSrcweirchange the path properties using the <a
1341cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/beans/XPropertySet.html"
1342cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.beans.XPropertySet"><code>XPropertySet</code></a>
1343cdf0e10cSrcweirinterface.</td>
1344cdf0e10cSrcweir                </tr>
1345cdf0e10cSrcweir              </tbody>
1346cdf0e10cSrcweir            </table>
1347cdf0e10cSrcweir            </td>
1348cdf0e10cSrcweir          </tr>
1349cdf0e10cSrcweir          <tr>
1350cdf0e10cSrcweir            <td>
1351cdf0e10cSrcweir            <table class="table4">
1352cdf0e10cSrcweir              <tbody>
1353cdf0e10cSrcweir                <tr class="thead">
1354cdf0e10cSrcweir                  <td class="cell20">Path Substitution Example</td>
1355cdf0e10cSrcweir                  <td class="cell80">Description</td>
1356cdf0e10cSrcweir                </tr>
1357cdf0e10cSrcweir                <tr>
1358cdf0e10cSrcweir                  <td class="cell20"><a
1359cdf0e10cSrcweir href="./OfficeDev/PathSubstitution/PathSubstitutionTest.java"
1360cdf0e10cSrcweir title="link to OfficeDev/PathSubstitution/PathSubstitutionTest.java">PathSubstitutionTest</a></td>
1361cdf0e10cSrcweir                  <td class="cell80">This code example creates the path
1362cdf0e10cSrcweirsubstitution service <a
1363cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/util/PathSubstitution.html"
1364cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.util.PathSubstitution">
1365cdf0e10cSrcweir                  <code>com.sun.star.util.PathSubstitution</code></a>
1366cdf0e10cSrcweirand retrieves the pre-defined Office path variables. It shows the
1367cdf0e10cSrcweirvariable values on the screen. The reSubstiuteVariables function is
1368cdf0e10cSrcweirused to show how the service exchanges parts of a path with a path
1369cdf0e10cSrcweirvariable supporting platform independent path usage.</td>
1370cdf0e10cSrcweir                </tr>
1371cdf0e10cSrcweir              </tbody>
1372cdf0e10cSrcweir            </table>
1373cdf0e10cSrcweir            </td>
1374cdf0e10cSrcweir          </tr>
1375cdf0e10cSrcweir          <tr>
1376cdf0e10cSrcweir            <td>
1377cdf0e10cSrcweir            <table class="table4">
1378cdf0e10cSrcweir              <tbody>
1379cdf0e10cSrcweir                <tr class="thead">
1380cdf0e10cSrcweir                  <td class="cell20">Disable Commands Example</td>
1381cdf0e10cSrcweir                  <td class="cell80">Description</td>
1382cdf0e10cSrcweir                </tr>
1383cdf0e10cSrcweir                <tr>
1384cdf0e10cSrcweir                  <td class="cell20"><a
1385cdf0e10cSrcweir href="./OfficeDev/DisableCommands/DisableCommandsTest.java"
1386cdf0e10cSrcweir title="link to OfficeDev/DisableCommands/DisableCommandsTest.java">DisableCommandsTest</a></td>
1387cdf0e10cSrcweir                  <td class="cell80">Implements an example showing how
1388cdf0e10cSrcweira developer can use the configuration API to disable/enable commands at
1389cdf0e10cSrcweirruntime.</td>
1390cdf0e10cSrcweir                </tr>
1391cdf0e10cSrcweir              </tbody>
1392cdf0e10cSrcweir            </table>
1393cdf0e10cSrcweir            </td>
1394cdf0e10cSrcweir          </tr>
1395cdf0e10cSrcweir        </tbody>
1396cdf0e10cSrcweir      </table>
1397cdf0e10cSrcweir      </td>
1398cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
1399cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
1400cdf0e10cSrcweir    </tr>
1401cdf0e10cSrcweir    <tr>
1402cdf0e10cSrcweir      <td colspan="3"><img class="line"
1403cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
1404cdf0e10cSrcweir    </tr>
1405cdf0e10cSrcweir    <tr>
1406cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
1407cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
1408cdf0e10cSrcweir      <td>
1409cdf0e10cSrcweir      <table class="table2">
1410cdf0e10cSrcweir        <tbody>
1411cdf0e10cSrcweir          <tr>
1412cdf0e10cSrcweir            <td>
1413cdf0e10cSrcweir            <table class="table3">
1414cdf0e10cSrcweir              <tbody>
1415cdf0e10cSrcweir                <tr>
1416cdf0e10cSrcweir                  <td colspan="2" class="head1"><a name="Text">Text
1417cdf0e10cSrcweirDocuments examples</a></td>
1418cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
1419cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
1420cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
1421cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
1422cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
1423cdf0e10cSrcweir                </tr>
1424cdf0e10cSrcweir              </tbody>
1425cdf0e10cSrcweir            </table>
1426cdf0e10cSrcweir            </td>
1427cdf0e10cSrcweir          </tr>
1428cdf0e10cSrcweir          <tr>
1429cdf0e10cSrcweir            <td>
1430cdf0e10cSrcweir            <table class="table4">
1431cdf0e10cSrcweir              <tbody>
1432cdf0e10cSrcweir                <tr class="thead">
1433cdf0e10cSrcweir                  <td class="cell20"> Example</td>
1434cdf0e10cSrcweir                  <td class="cell80">Description</td>
1435cdf0e10cSrcweir                </tr>
1436cdf0e10cSrcweir                <tr>
1437cdf0e10cSrcweir                  <td class="cell20"><img
143880295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1439cdf0e10cSrcweir href="./Text/TextDocuments.java"
1440cdf0e10cSrcweir title="link to Text/TextDocuments.java">TextDocuments</a></td>
1441cdf0e10cSrcweir                  <td class="cell80">
1442cdf0e10cSrcweir                  <p>Demonstrates a wide variety of API functions in
1443cdf0e10cSrcweirtext documents and text document views.</p>
1444cdf0e10cSrcweir                  <ul>
1445cdf0e10cSrcweir                    <li>use of templates</li>
1446cdf0e10cSrcweir                    <li>using the view cursor, including visible text
1447cdf0e10cSrcweirselections</li>
1448cdf0e10cSrcweir                    <li>changing the paragraph style</li>
1449cdf0e10cSrcweir                    <li>using various editing facilities like text
1450cdf0e10cSrcweirinsertion</li>
1451cdf0e10cSrcweir                    <li>using various cursor interfaces</li>
1452cdf0e10cSrcweir                    <li>creating text contents, like tables, sections
1453cdf0e10cSrcweirand frames, well as text fields and columns</li>
1454cdf0e10cSrcweir                    <li>using stylesheets</li>
1455cdf0e10cSrcweir                    <li>applying numbering styles</li>
1456cdf0e10cSrcweir                    <li>using references, indexes, footnotes and
1457cdf0e10cSrcweirautotext</li>
1458cdf0e10cSrcweir                    <li>loading, storing and printing a text document</li>
1459cdf0e10cSrcweir                  </ul>
1460cdf0e10cSrcweir                  <p>Adjust the strings at the beginning of the class
1461cdf0e10cSrcweirdefinition to match your installation!</p>
1462cdf0e10cSrcweir                  </td>
1463cdf0e10cSrcweir                </tr>
1464cdf0e10cSrcweir                </tbody>
1465cdf0e10cSrcweir            </table>
1466cdf0e10cSrcweir            </td>
1467cdf0e10cSrcweir          </tr>
1468cdf0e10cSrcweir        </tbody>
1469cdf0e10cSrcweir      </table>
1470cdf0e10cSrcweir      </td>
1471cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
1472cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
1473cdf0e10cSrcweir    </tr>
1474cdf0e10cSrcweir    <tr>
1475cdf0e10cSrcweir      <td colspan="3"><img class="line"
1476cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
1477cdf0e10cSrcweir    </tr>
1478cdf0e10cSrcweir    <tr>
1479cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
1480cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
1481cdf0e10cSrcweir      <td>
1482cdf0e10cSrcweir      <table class="table2">
1483cdf0e10cSrcweir        <tbody>
1484cdf0e10cSrcweir          <tr>
1485cdf0e10cSrcweir            <td>
1486cdf0e10cSrcweir            <table class="table3">
1487cdf0e10cSrcweir              <tbody>
1488cdf0e10cSrcweir                <tr>
1489cdf0e10cSrcweir                  <td colspan="2" class="head1"><a name="Spreadsheet">Spreadsheet
1490cdf0e10cSrcweirDocuments examples</a></td>
1491cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
1492cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
1493cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
1494cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
1495cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
1496cdf0e10cSrcweir                </tr>
1497cdf0e10cSrcweir              </tbody>
1498cdf0e10cSrcweir            </table>
1499cdf0e10cSrcweir            </td>
1500cdf0e10cSrcweir          </tr>
1501cdf0e10cSrcweir          <tr>
1502cdf0e10cSrcweir            <td>
1503cdf0e10cSrcweir            <table class="table4">
1504cdf0e10cSrcweir              <tbody>
1505cdf0e10cSrcweir                <tr class="thead">
1506cdf0e10cSrcweir                  <td class="cell20"> Example</td>
1507cdf0e10cSrcweir                  <td class="cell80">Description</td>
1508cdf0e10cSrcweir                </tr>
1509cdf0e10cSrcweir                <tr>
1510cdf0e10cSrcweir                  <td class="cell20"><a
1511cdf0e10cSrcweir href="./Spreadsheet/ExampleAddIn.java"
1512cdf0e10cSrcweir title="link to Spreadsheet/ExampleAddIn.java">ExampleAddIn</a></td>
1513cdf0e10cSrcweir                  <td class="cell80">Implements a simple add-in
1514cdf0e10cSrcweircomponent for spreadsheet documents. This component needs to be
1515cdf0e10cSrcweirdeployed before it can be used.</td>
1516cdf0e10cSrcweir                </tr>
1517cdf0e10cSrcweir                <tr>
1518cdf0e10cSrcweir                  <td class="cell20"><a
1519cdf0e10cSrcweir href="./Spreadsheet/ExampleDataPilotSource.java"
1520cdf0e10cSrcweir title="link to Spreadsheet/ExampleDataPilotSource.java">ExampleDataPilotSource</a></td>
1521cdf0e10cSrcweir                  <td class="cell80">Shows usage of a wide variety of
1522cdf0e10cSrcweirspreadsheet interfaces like <a
1523cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/sheet/XCellRangeData.html"
1524cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.sheet.XCellRangeData">
1525cdf0e10cSrcweir                  <code>XCellRangeData</code></a>, <a
1526cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/sheet/XCellSeries.html"
1527cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.sheet.XCellSeries"><code>XCellSeries</code></a>,
1528cdf0e10cSrcweir                  <a
1529cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/sheet/XArrayFormulaRange.html"
1530cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.sheet.XArrayFormularRange"><code>XArrayFormulaRange</code></a>
1531cdf0e10cSrcweirand <a
1532cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/sheet/XMultipleOperation.html"
1533cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.sheet.XMultipleOperation"><code>XMultipleOperations</code></a>
1534cdf0e10cSrcweiras well as named ranges, label ranges and data pilot.</td>
1535cdf0e10cSrcweir                </tr>
1536cdf0e10cSrcweir                <tr>
1537cdf0e10cSrcweir                  <td class="cell20"><img
153880295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1539cdf0e10cSrcweir href="./Spreadsheet/GeneralTableSample.java"
1540cdf0e10cSrcweir title="link to Spreadsheet/GeneralTableSample.java">GeneralTableSample</a></td>
1541cdf0e10cSrcweir                  <td class="cell80">Executes some examples working on
1542cdf0e10cSrcweirgeneric tables.</td>
1543cdf0e10cSrcweir                </tr>
1544cdf0e10cSrcweir                <tr>
1545cdf0e10cSrcweir                  <td class="cell20"><a
1546cdf0e10cSrcweir href="./Spreadsheet/SpreadsheetDocHelper.java"
1547cdf0e10cSrcweir title="link to Spreadsheet/SpreadsheetDocHelper.java">SpreadsheetDocHelper</a></td>
1548cdf0e10cSrcweir                  <td class="cell80">Defines a helper class for the
1549cdf0e10cSrcweirother examples to access spreadsheet documents, sheets and cells.</td>
1550cdf0e10cSrcweir                </tr>
1551cdf0e10cSrcweir                <tr>
1552cdf0e10cSrcweir                  <td class="cell20"><img
155380295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1554cdf0e10cSrcweir href="./Spreadsheet/SpreadsheetSample.java"
1555cdf0e10cSrcweir title="link to Spreadsheet/SpreadsheetSample.java">SpreadsheetSample</a></td>
1556cdf0e10cSrcweir                  <td class="cell80">Executes some examples working on
1557cdf0e10cSrcweira spreadsheet document.</td>
1558cdf0e10cSrcweir                </tr>
1559cdf0e10cSrcweir                <tr>
1560cdf0e10cSrcweir                  <td class="cell20"><img
156180295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1562cdf0e10cSrcweir href="./Spreadsheet/ViewSample.java"
1563cdf0e10cSrcweir title="link to Spreadsheet/ViewSample.java">ViewSample</a></td>
1564cdf0e10cSrcweir                  <td class="cell80">Shows how to manipulate view
1565cdf0e10cSrcweirsettings like splitting sheeting sheets and selecting cells.</td>
1566cdf0e10cSrcweir                </tr>
1567cdf0e10cSrcweir                </tbody>
1568cdf0e10cSrcweir            </table>
1569cdf0e10cSrcweir            </td>
1570cdf0e10cSrcweir          </tr>
1571cdf0e10cSrcweir        </tbody>
1572cdf0e10cSrcweir      </table>
1573cdf0e10cSrcweir      </td>
1574cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
1575cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
1576cdf0e10cSrcweir    </tr>
1577cdf0e10cSrcweir    <tr>
1578cdf0e10cSrcweir      <td colspan="3"><img class="line"
1579cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
1580cdf0e10cSrcweir    </tr>
1581cdf0e10cSrcweir    <tr>
1582cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
1583cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
1584cdf0e10cSrcweir      <td>
1585cdf0e10cSrcweir      <table class="table2">
1586cdf0e10cSrcweir        <tbody>
1587cdf0e10cSrcweir          <tr>
1588cdf0e10cSrcweir            <td>
1589cdf0e10cSrcweir            <table class="table3">
1590cdf0e10cSrcweir              <tbody>
1591cdf0e10cSrcweir                <tr>
1592cdf0e10cSrcweir                  <td colspan="2" class="head1"><a name="Drawing">Drawing
1593cdf0e10cSrcweirand Presentation Documents examples</a></td>
1594cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
1595cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
1596cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
1597cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
1598cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
1599cdf0e10cSrcweir                </tr>
1600cdf0e10cSrcweir              </tbody>
1601cdf0e10cSrcweir            </table>
1602cdf0e10cSrcweir            </td>
1603cdf0e10cSrcweir          </tr>
1604cdf0e10cSrcweir          <tr>
1605cdf0e10cSrcweir            <td>
1606cdf0e10cSrcweir            <table class="table4">
1607cdf0e10cSrcweir              <tbody>
1608cdf0e10cSrcweir                <tr class="thead">
1609cdf0e10cSrcweir                  <td class="cell20"> Example</td>
1610cdf0e10cSrcweir                  <td class="cell80">Description</td>
1611cdf0e10cSrcweir                </tr>
1612cdf0e10cSrcweir                <tr>
1613cdf0e10cSrcweir                  <td class="cell20"><img
161480295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1615cdf0e10cSrcweir href="./Drawing/ChangeOrderDemo.java"
1616cdf0e10cSrcweir title="link to Drawing/ChangeOrderDemo.java">ChangeOrderDemo</a></td>
1617cdf0e10cSrcweir                  <td class="cell80">Shows how to change the painting
1618cdf0e10cSrcweirorder of shapes.</td>
1619cdf0e10cSrcweir                </tr>
1620cdf0e10cSrcweir                <tr>
1621cdf0e10cSrcweir                  <td class="cell20"><img
162280295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1623cdf0e10cSrcweir href="./Drawing/ControlAndSelectDemo.java"
1624cdf0e10cSrcweir title="link to Drawing/ControlAndSelectDemo.java">ControlAndSelectDemo</a></td>
1625cdf0e10cSrcweir                  <td class="cell80">Demonstrates the creation of a
1626cdf0e10cSrcweircontrol shape and selects it in the current view.</td>
1627cdf0e10cSrcweir                </tr>
1628cdf0e10cSrcweir                <tr>
1629cdf0e10cSrcweir                  <td class="cell20"><img
163080295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1631cdf0e10cSrcweir href="./Drawing/CustomShowDemo.java"
1632cdf0e10cSrcweir title="link to Drawing/CustomShowDemo.java">CustomShowDemo</a></td>
1633cdf0e10cSrcweir                  <td class="cell80">Creates two custom shows and
1634cdf0e10cSrcweirselects one of these.</td>
1635cdf0e10cSrcweir                </tr>
1636cdf0e10cSrcweir                <tr>
1637cdf0e10cSrcweir                  <td class="cell20"><img
163880295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1639cdf0e10cSrcweir href="./Drawing/DrawViewDemo.java"
1640cdf0e10cSrcweir title="link to Drawing/DrawViewDemo.java">DrawViewDemo</a></td>
1641cdf0e10cSrcweir                  <td class="cell80">Prints the view data properties
1642cdf0e10cSrcweirand the controller properties of a drawing view and shows an example of
1643cdf0e10cSrcweirsetting such a property.</td>
1644cdf0e10cSrcweir                </tr>
1645cdf0e10cSrcweir                <tr>
1646cdf0e10cSrcweir                  <td class="cell20"><img
164780295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1648cdf0e10cSrcweir href="./Drawing/DrawingDemo.java"
1649cdf0e10cSrcweir title="link to Drawing/DrawingDemo.java">DrawingDemo</a></td>
1650cdf0e10cSrcweir                  <td class="cell80">Creates several shapes on several
1651cdf0e10cSrcweirslides. Nice pattern included!</td>
1652cdf0e10cSrcweir                </tr>
1653cdf0e10cSrcweir                <tr>
1654cdf0e10cSrcweir                  <td class="cell20"><img
165580295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1656cdf0e10cSrcweir href="./Drawing/FillAndLineStyleDemo.java"
1657cdf0e10cSrcweir title="link to Drawing/FillAndLineStyleDemo.java">FillAndLineStyleDemo</a></td>
1658cdf0e10cSrcweir                  <td class="cell80">Demonstrates usage of area fill
1659cdf0e10cSrcweirand line style properties.</td>
1660cdf0e10cSrcweir                </tr>
1661cdf0e10cSrcweir                <tr>
1662cdf0e10cSrcweir                  <td class="cell20"><img
166380295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1664cdf0e10cSrcweir href="./Drawing/GluePointDemo.java"
1665cdf0e10cSrcweir title="link to Drawing/GluePointDemo.java">GluePointDemo</a></td>
1666cdf0e10cSrcweir                  <td class="cell80">Creates two shapes with glue
1667cdf0e10cSrcweirpoints and connects them with two connectors.</td>
1668cdf0e10cSrcweir                </tr>
1669cdf0e10cSrcweir                <tr>
1670cdf0e10cSrcweir                  <td class="cell20"><img
167180295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1672cdf0e10cSrcweir href="./Drawing/GraphicExportDemo.java"
1673cdf0e10cSrcweir title="link to Drawing/GraphicExportDemo.java">GraphicExportDemo</a></td>
1674cdf0e10cSrcweir                  <td class="cell80">Loads a drawing document and
1675cdf0e10cSrcweirexports it to a GIF file. Run this program with source URL, target URL
1676cdf0e10cSrcweirand page index on the command line, where the URLs are fully qualified
1677cdf0e10cSrcweirURLs.</td>
1678cdf0e10cSrcweir                </tr>
1679cdf0e10cSrcweir                <tr>
1680cdf0e10cSrcweir                  <td class="cell20"><a href="./Drawing/Helper.java"
1681cdf0e10cSrcweir title="link to Drawing/Helper.java">Helper</a></td>
1682cdf0e10cSrcweir                  <td class="cell80">Contains a helper class for the
1683cdf0e10cSrcweirother examples to connect to OpenOffice.org %PRODUCT_RELEASE% and open or create a drawing
1684cdf0e10cSrcweirdocument.</td>
1685cdf0e10cSrcweir                </tr>
1686cdf0e10cSrcweir                <tr>
1687cdf0e10cSrcweir                  <td class="cell20"><img
168880295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1689cdf0e10cSrcweir href="./Drawing/LayerDemo.java" title="link to Drawing/LayerDemo.java">LayerDemo</a></td>
1690cdf0e10cSrcweir                  <td class="cell80">Creates shapes in different layers
1691cdf0e10cSrcweirto show how to protect shapes from modifications.</td>
1692cdf0e10cSrcweir                </tr>
1693cdf0e10cSrcweir                <tr>
1694cdf0e10cSrcweir                  <td class="cell20"><img
169580295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1696cdf0e10cSrcweir href="./Drawing/ObjectTransformationDemo.java"
1697cdf0e10cSrcweir title="link to Drawing/ObjectTransformationDemo.java">ObjectTransformationDemo</a></td>
1698cdf0e10cSrcweir                  <td class="cell80">Shows geometric transformations on
1699cdf0e10cSrcweira shape using a homogenous matrix.</td>
1700cdf0e10cSrcweir                </tr>
1701cdf0e10cSrcweir                <tr>
1702cdf0e10cSrcweir                  <td class="cell20"><img
170380295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1704cdf0e10cSrcweir href="./Drawing/Organigram.java"
1705cdf0e10cSrcweir title="link to Drawing/Organigram.java">Organigram</a></td>
1706cdf0e10cSrcweir                  <td class="cell80">Demonstrates the creation of an
1707cdf0e10cSrcweirorganigram consisting of shapes and connectors.</td>
1708cdf0e10cSrcweir                </tr>
1709cdf0e10cSrcweir                <tr>
1710cdf0e10cSrcweir                  <td class="cell20"><a href="./Drawing/PageHelper.java"
1711cdf0e10cSrcweir title="link to Drawing/PageHelper.java">PageHelper</a></td>
1712cdf0e10cSrcweir                  <td class="cell80">Contains a helper class for
1713cdf0e10cSrcweiraccessing several kinds of draw pages in a presentation or drawing
1714cdf0e10cSrcweirdocument.</td>
1715cdf0e10cSrcweir                </tr>
1716cdf0e10cSrcweir                <tr>
1717cdf0e10cSrcweir                  <td class="cell20"><img
171880295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1719cdf0e10cSrcweir href="./Drawing/PresentationDemo.java"
1720cdf0e10cSrcweir title="link to Drawing/PresentationDemo.java">PresentationDemo</a></td>
1721cdf0e10cSrcweir                  <td class="cell80">Creates a presentation and runs it
1722cdf0e10cSrcweirwith some user interaction.</td>
1723cdf0e10cSrcweir                </tr>
1724cdf0e10cSrcweir                <tr>
1725cdf0e10cSrcweir                  <td class="cell20"><a
1726cdf0e10cSrcweir href="./Drawing/ShapeHelper.java"
1727cdf0e10cSrcweir title="link to Drawing/ShapeHelper.java">ShapeHelper</a></td>
1728cdf0e10cSrcweir                  <td class="cell80">Contains a helper class for
1729cdf0e10cSrcweiraccessing and creating shapes for the other examples.</td>
1730cdf0e10cSrcweir                </tr>
1731cdf0e10cSrcweir                <tr>
1732cdf0e10cSrcweir                  <td class="cell20"><img
173380295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1734cdf0e10cSrcweir href="./Drawing/StyleDemo.java" title="link to Drawing/StyleDemo.java">StyleDemo</a></td>
1735cdf0e10cSrcweir                  <td class="cell80">Creates a shape and applies a
1736cdf0e10cSrcweirpredefined shape stylesheet.</td>
1737cdf0e10cSrcweir                </tr>
1738cdf0e10cSrcweir                <tr>
1739cdf0e10cSrcweir                  <td class="cell20"><img
174080295734SMatthias Seidel src="../../docs/images/blueball.png"> <a href="./Drawing/TextDemo.java"
1741cdf0e10cSrcweir title="link to Drawing/TextDemo.java">TextDemo</a></td>
1742cdf0e10cSrcweir                  <td class="cell80">Demonstrates usage of text and
1743cdf0e10cSrcweirtext styles in shapes.</td>
1744cdf0e10cSrcweir                </tr>
1745cdf0e10cSrcweir                </tbody>
1746cdf0e10cSrcweir            </table>
1747cdf0e10cSrcweir            </td>
1748cdf0e10cSrcweir          </tr>
1749cdf0e10cSrcweir        </tbody>
1750cdf0e10cSrcweir      </table>
1751cdf0e10cSrcweir      </td>
1752cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
1753cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
1754cdf0e10cSrcweir    </tr>
1755cdf0e10cSrcweir    <tr>
1756cdf0e10cSrcweir      <td colspan="3"><img class="line"
1757cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
1758cdf0e10cSrcweir    </tr>
1759cdf0e10cSrcweir    <tr>
1760cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
1761cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
1762cdf0e10cSrcweir      <td>
1763cdf0e10cSrcweir      <table class="table2">
1764cdf0e10cSrcweir        <tbody>
1765cdf0e10cSrcweir          <tr>
1766cdf0e10cSrcweir            <td>
1767cdf0e10cSrcweir            <table class="table3">
1768cdf0e10cSrcweir              <tbody>
1769cdf0e10cSrcweir                <tr>
1770cdf0e10cSrcweir                  <td colspan="2" class="head1"><a name="Charts">Charts
1771cdf0e10cSrcweirexamples</a></td>
1772cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
1773cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
1774cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
1775cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
1776cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
1777cdf0e10cSrcweir                </tr>
1778cdf0e10cSrcweir              </tbody>
1779cdf0e10cSrcweir            </table>
1780cdf0e10cSrcweir            </td>
1781cdf0e10cSrcweir          </tr>
1782cdf0e10cSrcweir          <tr>
1783cdf0e10cSrcweir            <td>
1784cdf0e10cSrcweir            <table class="table4">
1785cdf0e10cSrcweir              <tbody>
1786cdf0e10cSrcweir                <tr class="thead">
1787cdf0e10cSrcweir                  <td class="cell20"> Example</td>
1788cdf0e10cSrcweir                  <td class="cell80">Description</td>
1789cdf0e10cSrcweir                </tr>
1790cdf0e10cSrcweir                <tr>
1791cdf0e10cSrcweir                  <td class="cell20"><a href="./Charts/CalcHelper.java"
1792cdf0e10cSrcweir title="link to Charts/CalcHelper.java">CalcHelper</a></td>
1793cdf0e10cSrcweir                  <td class="cell80">Contains some helper methods for
1794cdf0e10cSrcweircharts in spreadsheet documents, like accessing sheets by name,
1795cdf0e10cSrcweirinserting a chart into a sheet, filling cell ranges with random numbers
1796cdf0e10cSrcweiretc.</td>
1797cdf0e10cSrcweir                </tr>
1798cdf0e10cSrcweir                <tr>
1799cdf0e10cSrcweir                  <td class="cell20"><a href="./Charts/ChartHelper.java"
1800cdf0e10cSrcweir title="link to Charts/ChartHelper.java">ChartHelper</a></td>
1801cdf0e10cSrcweir                  <td class="cell80">Contains some helper methods for
1802cdf0e10cSrcweircharts, like creating a chart as an embedded object.</td>
1803cdf0e10cSrcweir                </tr>
1804cdf0e10cSrcweir                <tr>
1805cdf0e10cSrcweir                  <td class="cell20"><img
180680295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1807cdf0e10cSrcweir href="./Charts/ChartInCalc.java"
1808cdf0e10cSrcweir title="link to Charts/ChartInCalc.java">ChartInCalc</a></td>
1809cdf0e10cSrcweir                  <td class="cell80">Demonstrates how to create an
1810cdf0e10cSrcweirembedded chart object with a random scatter chart within a spreadsheet.</td>
1811cdf0e10cSrcweir                </tr>
1812cdf0e10cSrcweir                <tr>
1813cdf0e10cSrcweir                  <td class="cell20"><img
181480295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1815cdf0e10cSrcweir href="./Charts/ChartInDraw.java"
1816cdf0e10cSrcweir title="link to Charts/ChartInDraw.java">ChartInDraw</a></td>
1817cdf0e10cSrcweir                  <td class="cell80">Inserts a 3D-bar chart into a
1818cdf0e10cSrcweirdrawing document.</td>
1819cdf0e10cSrcweir                </tr>
1820cdf0e10cSrcweir                <tr>
1821cdf0e10cSrcweir                  <td class="cell20"><img
182280295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1823cdf0e10cSrcweir href="./Charts/ChartInWriter.java"
1824cdf0e10cSrcweir title="link to Charts/ChartInWriter.java">ChartInWriter</a></td>
1825cdf0e10cSrcweir                  <td class="cell80">Inserts an embedded chart object
1826cdf0e10cSrcweirwith a random bar chart in a text document. This example does not
1827cdf0e10cSrcweirreally work, because the API for embedding objects into text documents
1828cdf0e10cSrcweiris not implemented. To be more precise.</td>
1829cdf0e10cSrcweir                </tr>
1830cdf0e10cSrcweir                <tr>
1831cdf0e10cSrcweir                  <td class="cell20"><a href="./Charts/Helper.java"
1832cdf0e10cSrcweir title="link to Charts/Helper.java">Helper</a></td>
1833cdf0e10cSrcweir                  <td class="cell80">Shows how to connect to
1834cdf0e10cSrcweirOpenOffice.org %PRODUCT_RELEASE% and create text, drawing or spreadsheet document. This
1835cdf0e10cSrcweirclass is used as a helper class for the other examples.</td>
1836cdf0e10cSrcweir                </tr>
1837cdf0e10cSrcweir                <tr>
1838cdf0e10cSrcweir                  <td class="cell20"><a
1839cdf0e10cSrcweir href="./Charts/JavaSampleChartAddIn.java"
1840cdf0e10cSrcweir title="link to Charts/JavaSampleChartAddIn.java">JavaSampleChartAddIn</a></td>
1841cdf0e10cSrcweir                  <td class="cell80">Gives an example of how to
1842cdf0e10cSrcweirimplement chart add-ins to create new or specialized diagram types. The
1843cdf0e10cSrcweirresulting component has to be deployed before it can be used.</td>
1844cdf0e10cSrcweir                </tr>
1845cdf0e10cSrcweir                <tr>
1846cdf0e10cSrcweir                  <td class="cell20"><img
184780295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1848cdf0e10cSrcweir href="./Charts/ListenAtCalcRangeInDraw.java"
1849cdf0e10cSrcweir title="link to Charts/ListenAtCalcRangeInDraw.java">ListenAtCalcRangeInDraw</a></td>
1850cdf0e10cSrcweir                  <td class="cell80">This helper class is used to build
1851cdf0e10cSrcweirconnection between an embedded chart object in a drawing document and a
1852cdf0e10cSrcweirdata range in a spreadsheet document.</td>
1853cdf0e10cSrcweir                </tr>
1854cdf0e10cSrcweir                <tr>
1855cdf0e10cSrcweir                  <td class="cell20"><img
185680295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
1857cdf0e10cSrcweir href="./Charts/SelectionChangeListener.java"
1858cdf0e10cSrcweir title="link to Charts/SelectionChangeListener.java">SelectionChangeListener</a></td>
1859cdf0e10cSrcweir                  <td class="cell80">Shows how to register a handler
1860cdf0e10cSrcweirwhich is called when the selection within an embedded chart object
1861cdf0e10cSrcweirchanges.</td>
1862cdf0e10cSrcweir                </tr>
1863cdf0e10cSrcweir                </tbody>
1864cdf0e10cSrcweir            </table>
1865cdf0e10cSrcweir            </td>
1866cdf0e10cSrcweir          </tr>
1867cdf0e10cSrcweir        </tbody>
1868cdf0e10cSrcweir      </table>
1869cdf0e10cSrcweir      </td>
1870cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
1871cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
1872cdf0e10cSrcweir    </tr>
1873cdf0e10cSrcweir    <tr>
1874cdf0e10cSrcweir      <td colspan="3"><img class="line"
1875cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
1876cdf0e10cSrcweir    </tr>
1877cdf0e10cSrcweir    <tr>
1878cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
1879cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
1880cdf0e10cSrcweir      <td>
1881cdf0e10cSrcweir      <table class="table2">
1882cdf0e10cSrcweir        <tbody>
1883cdf0e10cSrcweir          <tr>
1884cdf0e10cSrcweir            <td>
1885cdf0e10cSrcweir            <table class="table3">
1886cdf0e10cSrcweir              <tbody>
1887cdf0e10cSrcweir                <tr>
1888cdf0e10cSrcweir                  <td colspan="2" class="head1"><a
1889cdf0e10cSrcweir name="BasicandDialogs">OpenOffice.org %PRODUCT_RELEASE% Basic and Dialogs examples</a></td>
1890cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
1891cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
1892cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
1893cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
1894cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
1895cdf0e10cSrcweir                </tr>
1896cdf0e10cSrcweir              </tbody>
1897cdf0e10cSrcweir            </table>
1898cdf0e10cSrcweir            </td>
1899cdf0e10cSrcweir          </tr>
1900cdf0e10cSrcweir          <tr>
1901cdf0e10cSrcweir            <td>
1902cdf0e10cSrcweir            <table class="table4">
1903cdf0e10cSrcweir              <tbody>
1904cdf0e10cSrcweir                <tr class="thead">
1905cdf0e10cSrcweir                  <td class="cell20">Example</td>
1906cdf0e10cSrcweir                  <td class="cell80">Description</td>
1907cdf0e10cSrcweir                </tr>
1908cdf0e10cSrcweir                <tr>
1909cdf0e10cSrcweir                  <td class="cell20"><a
1910cdf0e10cSrcweir href="./BasicAndDialogs/FirstStepsBasic.odt"
1911cdf0e10cSrcweir title="link to BasicAndDialogs/FirstStepsBasic.odt">FirstStepsBasic.odt</a></td>
1912*99eb6ac2SMatthias Seidel                  <td class="cell80">This StarBasic example shows how to
1913cdf0e10cSrcweircreate an own dialog which inserts a graphics object into a text
1914cdf0e10cSrcweirdocument.</td>
1915cdf0e10cSrcweir                </tr>
1916cdf0e10cSrcweir                <tr>
1917cdf0e10cSrcweir                  <td class="cell20"><a
1918cdf0e10cSrcweir href="./BasicAndDialogs/CreatingDialogs/SampleDialog.java"
1919cdf0e10cSrcweir title="link to BasicAndDialogs/CreatingDialogs/SampleDialog.java">SampleDialog</a></td>
1920cdf0e10cSrcweir                  <td class="cell80">This example builds a Java
1921cdf0e10cSrcweircomponent which creates a simple dialog.</td>
1922cdf0e10cSrcweir                </tr>
1923cdf0e10cSrcweir                <tr>
1924cdf0e10cSrcweir                  <td class="cell20"><a
1925cdf0e10cSrcweir href="./BasicAndDialogs/CreatingDialogs/CreatingDialogs.odt"
1926cdf0e10cSrcweir title="link to BasicAndDialogs/CreatingDialogs/CreatingDialogs.odt">CreatingDialogs.odt</a></td>
1927cdf0e10cSrcweir                  <td class="cell80">This document contains a simple
1928cdf0e10cSrcweirBasic macro which loads the SampleDialog component. The macro will be
1929cdf0e10cSrcweirexecuted by pressing a Push button.</td>
1930cdf0e10cSrcweir                </tr>
1931cdf0e10cSrcweir                <tr>
1932cdf0e10cSrcweir                  <td class="cell20"><a
1933cdf0e10cSrcweir href="./BasicAndDialogs/ToolkitControls/ToolkitControls"
1934cdf0e10cSrcweir title="link to BasicAndDialogs/ToolkitControls">ToolkitControls</a></td>
1935cdf0e10cSrcweir                  <td class="cell80">In this directory you find a Basic
1936cdf0e10cSrcweirlibrary which implements several examples using toolkit controls. You
1937cdf0e10cSrcweircan easy pack this Basic library as a UNO package and can install it
1938cdf0e10cSrcweirusing the package manager (see the makefile output).<br>
1939cdf0e10cSrcweirAfter the installation you will find a new library "ToolkitControls" in
1940cdf0e10cSrcweirthe Basic IDE containing 4 modules and the necessary dialogs.<br>
1941cdf0e10cSrcweir                  <p>Select one of the following modules and press the
1942cdf0e10cSrcweirRun button: </p>
1943cdf0e10cSrcweir                  <ul>
1944cdf0e10cSrcweir                    <li>FileDialog = simple dialog which ask for a
1945cdf0e10cSrcweirfilename (nothing else) </li>
1946cdf0e10cSrcweir                    <li>MultiPage = a more complex dialog with several
1947cdf0e10cSrcweirtab pages </li>
1948cdf0e10cSrcweir                    <li>ProgressBar = a dialog which shows a progress
1949cdf0e10cSrcweirbar </li>
1950cdf0e10cSrcweir                    <li>ScrollBar = a dialog which shows a scroll bar </li>
1951cdf0e10cSrcweir                  </ul>
1952cdf0e10cSrcweir                  </td>
1953cdf0e10cSrcweir                </tr>
1954cdf0e10cSrcweir                </tbody>
1955cdf0e10cSrcweir            </table>
1956cdf0e10cSrcweir            </td>
1957cdf0e10cSrcweir          </tr>
1958cdf0e10cSrcweir        </tbody>
1959cdf0e10cSrcweir      </table>
1960cdf0e10cSrcweir      </td>
1961cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
1962cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
1963cdf0e10cSrcweir    </tr>
1964cdf0e10cSrcweir    <tr>
1965cdf0e10cSrcweir      <td colspan="3"><img class="line"
1966cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
1967cdf0e10cSrcweir    </tr>
1968cdf0e10cSrcweir    <tr>
1969cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
1970cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
1971cdf0e10cSrcweir      <td>
1972cdf0e10cSrcweir      <table class="table2">
1973cdf0e10cSrcweir        <tbody>
1974cdf0e10cSrcweir          <tr>
1975cdf0e10cSrcweir            <td>
1976cdf0e10cSrcweir            <table class="table3">
1977cdf0e10cSrcweir              <tbody>
1978cdf0e10cSrcweir                <tr>
1979cdf0e10cSrcweir                  <td colspan="2" class="head1"><a name="Database">Database
1980cdf0e10cSrcweirAccess examples</a></td>
1981cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
1982cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
1983cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
1984cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
1985cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
1986cdf0e10cSrcweir                </tr>
1987cdf0e10cSrcweir                <tr>
1988cdf0e10cSrcweir                  <td colspan="3"> The Database examples use a SQL
1989cdf0e10cSrcweirdatabase named "MYDB0" with write access. Make sure that you have a
1990cdf0e10cSrcweirdata source operating on such a database in your office before you run
1991cdf0e10cSrcweirthe example. </td>
1992cdf0e10cSrcweir                </tr>
1993cdf0e10cSrcweir              </tbody>
1994cdf0e10cSrcweir            </table>
1995cdf0e10cSrcweir            </td>
1996cdf0e10cSrcweir          </tr>
1997cdf0e10cSrcweir          <tr>
1998cdf0e10cSrcweir            <td>
1999cdf0e10cSrcweir            <table class="table4">
2000cdf0e10cSrcweir              <tbody>
2001cdf0e10cSrcweir                <tr class="thead">
2002cdf0e10cSrcweir                  <td class="cell20">Database Examples</td>
2003cdf0e10cSrcweir                  <td class="cell80">Description</td>
2004cdf0e10cSrcweir                </tr>
2005cdf0e10cSrcweir                <tr>
2006cdf0e10cSrcweir                  <td class="cell20"><img
200780295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2008cdf0e10cSrcweir href="./Database/CodeSamples.java"
2009cdf0e10cSrcweir title="link to Database/CodeSamples.java">CodeSamples</a></td>
2010cdf0e10cSrcweir                  <td class="cell80">Creates the connection to
2011cdf0e10cSrcweirOpenOffice.org %PRODUCT_RELEASE% and executes the code SalesMan samples for database API.</td>
2012cdf0e10cSrcweir                </tr>
2013cdf0e10cSrcweir                <tr>
2014cdf0e10cSrcweir                  <td class="cell20"><img
201580295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2016cdf0e10cSrcweir href="./Database/OpenQuery.java"
2017cdf0e10cSrcweir title="link to Database/OpenQuery.java">OpenQuery</a></td>
2018cdf0e10cSrcweir                  <td class="cell80">Demonstrates the use of <a
2019cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/sdbc/XResultSetUpdate.html"
2020cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.sdbc.XResultSetUpdate"><code>XResultSetUpdate</code></a>
2021cdf0e10cSrcweirand <a href="../../docs/common/ref/com/sun/star/sdbc/XRowUpdate.html"
2022cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.sdbc.XRowUpdate">
2023cdf0e10cSrcweir                  <code>XRowUpdate</code></a>.</td>
2024cdf0e10cSrcweir                </tr>
2025cdf0e10cSrcweir                <tr>
2026cdf0e10cSrcweir                  <td class="cell20"><img
202780295734SMatthias Seidel src="../../docs/images/blueball.png"> <a href="./Database/RowSet.java"
2028cdf0e10cSrcweir title="link to Database/RowSet.java">RowSet</a></td>
2029cdf0e10cSrcweir                  <td class="cell80">Demonstrates the usage of a row
2030cdf0e10cSrcweirset.</td>
2031cdf0e10cSrcweir                </tr>
2032cdf0e10cSrcweir                <tr>
2033cdf0e10cSrcweir                  <td class="cell20"><a
2034cdf0e10cSrcweir href="./Database/RowSetEventListener.java"
2035cdf0e10cSrcweir title="link to Database/RowSetEventListener.java">RowSetEventListener</a></td>
2036cdf0e10cSrcweir                  <td class="cell80">Demonstrates how to define
2037cdf0e10cSrcweirlistener for the row set example.</td>
2038cdf0e10cSrcweir                </tr>
2039cdf0e10cSrcweir                <tr>
2040cdf0e10cSrcweir                  <td class="cell20"><a href="./Database/Sales.java"
2041cdf0e10cSrcweir title="link to Database/Sales.java">Sales</a></td>
2042cdf0e10cSrcweir                  <td class="cell80">Creates a simple database table.</td>
2043cdf0e10cSrcweir                </tr>
2044cdf0e10cSrcweir                <tr>
2045cdf0e10cSrcweir                  <td class="cell20"><a href="./Database/SalesMan.java"
2046cdf0e10cSrcweir title="link to Database/SalesMan.java">SalesMan</a></td>
2047cdf0e10cSrcweir                  <td class="cell80">Creates a simple database table.</td>
2048cdf0e10cSrcweir                </tr>
2049cdf0e10cSrcweir                <tr>
2050cdf0e10cSrcweir                  <td class="cell20"><a href="./Database/sdbcx.java"
2051cdf0e10cSrcweir title="link to Database/sdbcx.java">sdbcx</a></td>
2052cdf0e10cSrcweir                  <td class="cell80">Demonstrates the usage of the
2053cdf0e10cSrcweirSDBCX layer services.</td>
2054cdf0e10cSrcweir                </tr>
2055cdf0e10cSrcweir                </tbody>
2056cdf0e10cSrcweir            </table>
2057cdf0e10cSrcweir            </td>
2058cdf0e10cSrcweir          </tr>
2059cdf0e10cSrcweir          <tr>
2060cdf0e10cSrcweir            <td>
2061cdf0e10cSrcweir            <table class="table4">
2062cdf0e10cSrcweir              <tbody>
2063cdf0e10cSrcweir                <tr class="thead">
2064cdf0e10cSrcweir                  <td class="cell20">Driver Skeleton Example</td>
2065cdf0e10cSrcweir                  <td class="cell80">Description</td>
2066cdf0e10cSrcweir                </tr>
2067cdf0e10cSrcweir                <tr>
2068cdf0e10cSrcweir                  <td class="cell20"><a
2069cdf0e10cSrcweir href="./Database/DriverSkeleton/OSubComponent.hxx"
2070cdf0e10cSrcweir title="link to Database/DriverSkeleton/OSubComponent.hxx">OSubComponent.hxx</a></td>
2071cdf0e10cSrcweir                  <td class="cell80">Helper class to delegate special
2072cdf0e10cSrcweirdispose handling.</td>
2073cdf0e10cSrcweir                </tr>
2074cdf0e10cSrcweir                <tr>
2075cdf0e10cSrcweir                  <td class="cell20"><a
2076cdf0e10cSrcweir href="./Database/DriverSkeleton/OTypeInfo.hxx"
2077cdf0e10cSrcweir title="link to Database/DriverSkeleton/OTypeInfo.hxx">OTypeInfo.hxx</a></td>
2078cdf0e10cSrcweir                  <td class="cell80">Contains the database types from
2079cdf0e10cSrcweirthe DatabaseMetaData getTypes call.</td>
2080cdf0e10cSrcweir                </tr>
2081cdf0e10cSrcweir                <tr>
2082cdf0e10cSrcweir                  <td class="cell20"><a
2083cdf0e10cSrcweir href="./Database/DriverSkeleton/SConnection.hxx"
2084cdf0e10cSrcweir title="link to Database/DriverSkeleton/SConnection.hxx">SConnection.hxx</a></td>
2085cdf0e10cSrcweir                  <td class="cell80">This file contains the declaration
2086cdf0e10cSrcweirof a class implementing the service <code>com.sun.star.sdbc.Connection</code>.</td>
2087cdf0e10cSrcweir                </tr>
2088cdf0e10cSrcweir                <tr>
2089cdf0e10cSrcweir                  <td class="cell20"><a
2090cdf0e10cSrcweir href="./Database/DriverSkeleton/SConnection.cxx"
2091cdf0e10cSrcweir title="link to Database/DriverSkeleton/SConnection.cxx">SConnection.cxx</a></td>
2092cdf0e10cSrcweir                  <td class="cell80">This file contains the
2093cdf0e10cSrcweirimplementation of the class declared in SConnection.hxx.</td>
2094cdf0e10cSrcweir                </tr>
2095cdf0e10cSrcweir                <tr>
2096cdf0e10cSrcweir                  <td class="cell20"><a
2097cdf0e10cSrcweir href="./Database/DriverSkeleton/SDatabaseMetaData.hxx"
2098cdf0e10cSrcweir title="link to Database/DriverSkeleton/SDatabaseMetaData.hxx">SDatabaseMetaData.hxx</a></td>
2099cdf0e10cSrcweir                  <td class="cell80">This file contains the declaration
2100cdf0e10cSrcweirof a class implementing the interface <code>com.sun.star.sdbc.XDatabaseMetaData</code>.</td>
2101cdf0e10cSrcweir                </tr>
2102cdf0e10cSrcweir                <tr>
2103cdf0e10cSrcweir                  <td class="cell20"><a
2104cdf0e10cSrcweir href="./Database/DriverSkeleton/SDatabaseMetaData.cxx"
2105cdf0e10cSrcweir title="link to Database/DriverSkeleton/SDatabaseMetaData.cxx">SDatabaseMetaData.cxx</a></td>
2106cdf0e10cSrcweir                  <td class="cell80">This file contains the
2107cdf0e10cSrcweirimplementation of the class declared in SDatabaseMetaData.hxx.</td>
2108cdf0e10cSrcweir                </tr>
2109cdf0e10cSrcweir                <tr>
2110cdf0e10cSrcweir                  <td class="cell20"><a
2111cdf0e10cSrcweir href="./Database/DriverSkeleton/SDriver.hxx"
2112cdf0e10cSrcweir title="link to Database/DriverSkeleton/SDriver.hxx">SDriver.hxx</a></td>
2113cdf0e10cSrcweir                  <td class="cell80">This file contains the declaration
2114cdf0e10cSrcweirof a class implementing the service <code>com.sun.star.sdbc.Driver</code>.</td>
2115cdf0e10cSrcweir                </tr>
2116cdf0e10cSrcweir                <tr>
2117cdf0e10cSrcweir                  <td class="cell20"><a
2118cdf0e10cSrcweir href="./Database/DriverSkeleton/SDriver.cxx"
2119cdf0e10cSrcweir title="link to Database/DriverSkeleton/SDriver.cxx">SDriver.cxx</a></td>
2120cdf0e10cSrcweir                  <td class="cell80">This file contains the
2121cdf0e10cSrcweirimplementation of the class declared in SDriver.hxx.</td>
2122cdf0e10cSrcweir                </tr>
2123cdf0e10cSrcweir                <tr>
2124cdf0e10cSrcweir                  <td class="cell20"><a
2125cdf0e10cSrcweir href="./Database/DriverSkeleton/SPreparedStatement.hxx"
2126cdf0e10cSrcweir title="link to Database/DriverSkeleton/SPreparedStatement.hxx">SPreparedStatement.hxx</a></td>
2127cdf0e10cSrcweir                  <td class="cell80">This file contains the declaration
2128cdf0e10cSrcweirof a class implementing the service <code>com.sun.star.sdbc.PreparedStatement</code>.
2129cdf0e10cSrcweir                  </td>
2130cdf0e10cSrcweir                </tr>
2131cdf0e10cSrcweir                <tr>
2132cdf0e10cSrcweir                  <td class="cell20"><a
2133cdf0e10cSrcweir href="./Database/DriverSkeleton/SPreparedStatement.cxx"
2134cdf0e10cSrcweir title="link to Database/DriverSkeleton/SPreparedStatement.cxx">SPreparedStatement.cxx</a></td>
2135cdf0e10cSrcweir                  <td class="cell80">This file contains the
2136cdf0e10cSrcweirimplementation of the class declared in SPreparedStatement.hxx.</td>
2137cdf0e10cSrcweir                </tr>
2138cdf0e10cSrcweir                <tr>
2139cdf0e10cSrcweir                  <td class="cell20"><a
2140cdf0e10cSrcweir href="./Database/DriverSkeleton/SResultSet.hxx"
2141cdf0e10cSrcweir title="link to Database/DriverSkeleton/SResultSet.hxx">SResultSet.hxx</a></td>
2142cdf0e10cSrcweir                  <td class="cell80">This file contains the declaration
2143cdf0e10cSrcweirof a class implementing the service <code>com.sun.star.sdbc.ResultSet</code>.</td>
2144cdf0e10cSrcweir                </tr>
2145cdf0e10cSrcweir                <tr>
2146cdf0e10cSrcweir                  <td class="cell20"><a
2147cdf0e10cSrcweir href="./Database/DriverSkeleton/SResultSet.cxx"
2148cdf0e10cSrcweir title="link to Database/DriverSkeleton/SResultSet.cxx">SResultSet.cxx</a></td>
2149cdf0e10cSrcweir                  <td class="cell80">This file contains the
2150cdf0e10cSrcweirimplementation of the class declared in SResultSet.hxx.</td>
2151cdf0e10cSrcweir                </tr>
2152cdf0e10cSrcweir                <tr>
2153cdf0e10cSrcweir                  <td class="cell20"><a
2154cdf0e10cSrcweir href="./Database/DriverSkeleton/SResultSetMetaData.hxx"
2155cdf0e10cSrcweir title="link to Database/DriverSkeleton/SResultSetMetaData.hxx">SResultSetMetaData.hxx</a></td>
2156cdf0e10cSrcweir                  <td class="cell80">This file contains the declaration
2157cdf0e10cSrcweirof a class implementing the interface <code>com.sun.star.sdbc.XResultSetMetaData</code>.</td>
2158cdf0e10cSrcweir                </tr>
2159cdf0e10cSrcweir                <tr>
2160cdf0e10cSrcweir                  <td class="cell20"><a
2161cdf0e10cSrcweir href="./Database/DriverSkeleton/SResultSetMetaData.cxx"
2162cdf0e10cSrcweir title="link to Database/DriverSkeleton/SResultSetMetaData.cxx">SResultSetMetaData.cxx</a></td>
2163cdf0e10cSrcweir                  <td class="cell80">This file contains the
2164cdf0e10cSrcweirimplementation of the class declared in SResultSetMetaData.hxx.</td>
2165cdf0e10cSrcweir                </tr>
2166cdf0e10cSrcweir                <tr>
2167cdf0e10cSrcweir                  <td class="cell20"><a
2168cdf0e10cSrcweir href="./Database/DriverSkeleton/SServices.cxx"
2169cdf0e10cSrcweir title="link to Database/DriverSkeleton/SServices.cxx">SServices.cxx</a></td>
2170cdf0e10cSrcweir                  <td class="cell80">This file contains a class
2171cdf0e10cSrcweirimplementing the service needed to register the driver.</td>
2172cdf0e10cSrcweir                </tr>
2173cdf0e10cSrcweir                <tr>
2174cdf0e10cSrcweir                  <td class="cell20"><a
2175cdf0e10cSrcweir href="./Database/DriverSkeleton/SStatement.hxx"
2176cdf0e10cSrcweir title="link to Database/DriverSkeleton/SStatement.hxx">SStatement.hxx</a></td>
2177cdf0e10cSrcweir                  <td class="cell80">This file contains the declaration
2178cdf0e10cSrcweirof a class implementing the service <code>com.sun.star.sdbc.Statement</code>.</td>
2179cdf0e10cSrcweir                </tr>
2180cdf0e10cSrcweir                <tr>
2181cdf0e10cSrcweir                  <td class="cell20"><a
2182cdf0e10cSrcweir href="./Database/DriverSkeleton/SStatement.cxx"
2183cdf0e10cSrcweir title="link to Database/DriverSkeleton/SStatement.cxx">SStatement.cxx</a></td>
2184cdf0e10cSrcweir                  <td class="cell80">This file contains the
2185cdf0e10cSrcweirimplementation of the class declared in SStatement.hxx.</td>
2186cdf0e10cSrcweir                </tr>
2187cdf0e10cSrcweir                <tr>
2188cdf0e10cSrcweir                  <td class="cell20"><a
2189cdf0e10cSrcweir href="./Database/DriverSkeleton/propertyids.hxx"
2190cdf0e10cSrcweir title="link to Database/DriverSkeleton/propertyids.hxx">propertyids.hxx</a></td>
2191cdf0e10cSrcweir                  <td class="cell80">Defines some common used strings
2192*99eb6ac2SMatthias Seideland declares a helper class for properties.</td>
2193cdf0e10cSrcweir                </tr>
2194cdf0e10cSrcweir                <tr>
2195cdf0e10cSrcweir                  <td class="cell20"><a
2196cdf0e10cSrcweir href="./Database/DriverSkeleton/propertyids.cxx"
2197cdf0e10cSrcweir title="link to Database/DriverSkeleton/propertyids.cxx">propertyids.cxx</a></td>
2198cdf0e10cSrcweir                  <td class="cell80">Implements the property helper
2199cdf0e10cSrcweirclass.</td>
2200cdf0e10cSrcweir                </tr>
2201cdf0e10cSrcweir                </tbody>
2202cdf0e10cSrcweir            </table>
2203cdf0e10cSrcweir            </td>
2204cdf0e10cSrcweir          </tr>
2205cdf0e10cSrcweir        </tbody>
2206cdf0e10cSrcweir      </table>
2207cdf0e10cSrcweir      </td>
2208cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
2209cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
2210cdf0e10cSrcweir    </tr>
2211cdf0e10cSrcweir    <tr>
2212cdf0e10cSrcweir      <td colspan="3"><img class="line"
2213cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
2214cdf0e10cSrcweir    </tr>
2215cdf0e10cSrcweir    <tr>
2216cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
2217cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
2218cdf0e10cSrcweir      <td>
2219cdf0e10cSrcweir      <table class="table2">
2220cdf0e10cSrcweir        <tbody>
2221cdf0e10cSrcweir          <tr>
2222cdf0e10cSrcweir            <td>
2223cdf0e10cSrcweir            <table class="table3">
2224cdf0e10cSrcweir              <tbody>
2225cdf0e10cSrcweir                <tr>
2226cdf0e10cSrcweir                  <td colspan="2" class="head1"><a name="Forms">Forms
2227cdf0e10cSrcweirexamples</a></td>
2228cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
2229cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
2230cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
2231cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
2232cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
2233cdf0e10cSrcweir                </tr>
2234cdf0e10cSrcweir              </tbody>
2235cdf0e10cSrcweir            </table>
2236cdf0e10cSrcweir            </td>
2237cdf0e10cSrcweir          </tr>
2238cdf0e10cSrcweir          <tr>
2239cdf0e10cSrcweir            <td>
2240cdf0e10cSrcweir            <table class="table4">
2241cdf0e10cSrcweir              <tbody>
2242cdf0e10cSrcweir                <tr class="thead">
2243cdf0e10cSrcweir                  <td class="cell20">Example</td>
2244cdf0e10cSrcweir                  <td class="cell80">Description</td>
2245cdf0e10cSrcweir                </tr>
2246cdf0e10cSrcweir                <tr>
2247cdf0e10cSrcweir                  <td class="cell20"><a
2248cdf0e10cSrcweir href="./Forms/BooleanValidator.java"
2249cdf0e10cSrcweir title="link to Forms/BooleanValidator.java">BooleanValidator</a></td>
2250cdf0e10cSrcweir                  <td class="cell80">The class <code>BooleanOperator</code>
2251cdf0e10cSrcweirimplements an <a
2252cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/form/validation/XValidator.html"
2253cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.form.validation.XValidator">validator</a>
2254cdf0e10cSrcweirfor a form control, which can veto certain radio button or check box
2255cdf0e10cSrcweirstates.</td>
2256cdf0e10cSrcweir                </tr>
2257cdf0e10cSrcweir                <tr>
2258cdf0e10cSrcweir                  <td class="cell20"><a
2259cdf0e10cSrcweir href="./Forms/ButtonOperator.java"
2260cdf0e10cSrcweir title="link to Forms/ButtonOperator.java">ButtonOperator</a></td>
2261cdf0e10cSrcweir                  <td class="cell80">The form created by the sample
2262cdf0e10cSrcweirprogram contains various buttons which are tied to certain
2263cdf0e10cSrcweirfunctionality. The class ButtonOperator, well, operates these buttons.</td>
2264cdf0e10cSrcweir                </tr>
2265cdf0e10cSrcweir                <tr>
2266cdf0e10cSrcweir                  <td class="cell20"><a
2267cdf0e10cSrcweir href="./Forms/ComponentTreeTraversal.java"
2268cdf0e10cSrcweir title="link to Forms/ComponentTreeTraversal.java">ComponentTreeTraversal</a></td>
2269cdf0e10cSrcweir                  <td class="cell80">Helper classes for traveling
2270cdf0e10cSrcweirthrough a tree of <a
2271cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/form/FormComponent.html"
2272cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.form.FormComponent">
2273cdf0e10cSrcweir                  <code>FormComponent's</code></a>.</td>
2274cdf0e10cSrcweir                </tr>
2275cdf0e10cSrcweir                <tr>
2276cdf0e10cSrcweir                  <td class="cell20"><a href="./Forms/ControlLock.java"
2277cdf0e10cSrcweir title="link to Forms/ControlLock.java">ControlLock</a></td>
2278cdf0e10cSrcweir                  <td class="cell80">Helper class for implementing the
2279cdf0e10cSrcweirlocking of control depending on the state of the underlying <a
2280cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/sdb/RowSet.html"
2281cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.sdb.RowSet"><code>RowSet</code></a>.</td>
2282cdf0e10cSrcweir                </tr>
2283cdf0e10cSrcweir                <tr>
2284cdf0e10cSrcweir                  <td class="cell20"><img
228580295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2286cdf0e10cSrcweir href="./Forms/ControlValidation.java"
2287cdf0e10cSrcweir title="link to Forms/ControlValidation.java">ControlValidation</a></td>
2288cdf0e10cSrcweir                  <td class="cell80">This is the main class for the
2289cdf0e10cSrcweircontrol validation example. It creates a sample document, fills it with
2290cdf0e10cSrcweircontrols, and attaches several validators to those controls</td>
2291cdf0e10cSrcweir                </tr>
2292cdf0e10cSrcweir                <tr>
2293cdf0e10cSrcweir                  <td class="cell20"><a
2294cdf0e10cSrcweir href="./Forms/ControlValidator.java"
2295cdf0e10cSrcweir title="link to Forms/ControlValidator.java">ControlValidator</a></td>
2296cdf0e10cSrcweir                  <td class="cell80">Base class implementing the common
2297cdf0e10cSrcweirdenominator for components <a
2298cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/form/validation/ValidatableControlModel.html"
2299cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.form.validation.ValidatableControlModel">validating
2300cdf0e10cSrcweirform controls.</a></td>
2301cdf0e10cSrcweir                </tr>
2302cdf0e10cSrcweir                <tr>
2303cdf0e10cSrcweir                  <td class="cell20"><img
230480295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2305cdf0e10cSrcweir href="./Forms/DataAwareness.java"
2306cdf0e10cSrcweir title="link to Forms/DataAwareness.java">DataAwareness</a></td>
2307cdf0e10cSrcweir                  <td class="cell80">This class implements the basic
2308cdf0e10cSrcweirexample for a form working on a database. Two tables will be created
2309a893be29SPedro Giffuniand a form (writer document) with a business example will fill its
2310cdf0e10cSrcweirfields from these tables.</td>
2311cdf0e10cSrcweir                </tr>
2312cdf0e10cSrcweir                <tr>
2313cdf0e10cSrcweir                  <td class="cell20"><a
2314cdf0e10cSrcweir href="./Forms/DateValidator.java"
2315cdf0e10cSrcweir title="link to Forms/DateValidator.java">DateValidator</a></td>
2316*99eb6ac2SMatthias Seidel                  <td class="cell80">The class <code>DateValidator</code> implements an <a
2317cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/form/validation/XValidator.html"
2318cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.form.validation.XValidator">validator</a>
2319cdf0e10cSrcweirfor a form control, which can check the content of a form date field. </td>
2320cdf0e10cSrcweir                </tr>
2321cdf0e10cSrcweir                <tr>
2322cdf0e10cSrcweir                  <td class="cell20"><a
2323cdf0e10cSrcweir href="./Forms/DocumentBasedExample.java"
2324cdf0e10cSrcweir title="link to Forms/DocumentBasedExample.java">DocumentBasedExample</a></td>
2325cdf0e10cSrcweir                  <td class="cell80">This class collects common
2326cdf0e10cSrcweirfunctionality of examples which require a document.</td>
2327cdf0e10cSrcweir                </tr>
2328cdf0e10cSrcweir                <tr>
2329cdf0e10cSrcweir                  <td class="cell20"><a
2330cdf0e10cSrcweir href="./Forms/DocumentHelper.java"
2331cdf0e10cSrcweir title="link to Forms/DocumentHelper.java">DocumentHelper</a></td>
2332cdf0e10cSrcweir                  <td class="cell80">Helper class for encapsulating
2333cdf0e10cSrcweirworking with a document.</td>
2334cdf0e10cSrcweir                </tr>
2335cdf0e10cSrcweir                <tr>
2336cdf0e10cSrcweir                  <td class="cell20"><a href="./Forms/DocumentType.java"
2337cdf0e10cSrcweir title="link to Forms/DocumentType.java">DocumentType</a></td>
2338cdf0e10cSrcweir                  <td class="cell80">A simple enumeration class for
2339cdf0e10cSrcweirclassifying a document.</td>
2340cdf0e10cSrcweir                </tr>
2341cdf0e10cSrcweir                <tr>
2342cdf0e10cSrcweir                  <td class="cell20"><a
2343cdf0e10cSrcweir href="./Forms/DocumentViewHelper.java"
2344cdf0e10cSrcweir title="link to Forms/DocumentViewHelper.java">DocumentViewHelper</a></td>
2345cdf0e10cSrcweir                  <td class="cell80">Helper class for encapsulating
2346cdf0e10cSrcweirworking with a view for a document.</td>
2347cdf0e10cSrcweir                </tr>
2348cdf0e10cSrcweir                <tr>
2349cdf0e10cSrcweir                  <td class="cell20"><a href="./Forms/FLTools.java"
2350cdf0e10cSrcweir title="link to Forms/FLTools.java">FLTools</a></td>
2351cdf0e10cSrcweir                  <td class="cell80">Various small tools for the form
2352cdf0e10cSrcweirlayer sample program.</td>
2353cdf0e10cSrcweir                </tr>
2354cdf0e10cSrcweir                <tr>
2355cdf0e10cSrcweir                  <td class="cell20"><a href="./Forms/FormLayer.java"
2356cdf0e10cSrcweir title="link to Forms/FormLayer.java">FormLayer</a></td>
2357cdf0e10cSrcweir                  <td class="cell80">Helper class for accessing and
2358cdf0e10cSrcweirmanipulating the form layer of a document.</td>
2359cdf0e10cSrcweir                </tr>
2360cdf0e10cSrcweir                <tr>
2361cdf0e10cSrcweir                  <td class="cell20"><a
2362cdf0e10cSrcweir href="./Forms/GridFieldValidator.java"
2363cdf0e10cSrcweir title="link to Forms/GridFieldValidator.java">GridFieldValidator</a></td>
2364cdf0e10cSrcweir                  <td class="cell80"><code>GridFieldValidator</code> is
2365cdf0e10cSrcweirresponsible for validating the input in a specific grid control column.
2366cdf0e10cSrcweirThis is not to be mixed up with the control-based validation as
2367cdf0e10cSrcweirdescribed in the <a
2368cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/form/validation/module-ix.html"
2369cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.form.validation">validation</a>
2370cdf0e10cSrcweirmodule. Instead, a <code>GridFieldValidator</code> assembles and uses
2371cdf0e10cSrcweirvarious other concepts.</td>
2372cdf0e10cSrcweir                </tr>
2373cdf0e10cSrcweir                <tr>
2374cdf0e10cSrcweir                  <td class="cell20"><a
2375cdf0e10cSrcweir href="./Forms/InteractionRequest.java"
2376cdf0e10cSrcweir title="link to Forms/InteractionRequest.java">InteractionRequest</a></td>
2377cdf0e10cSrcweir                  <td class="cell80">A simple implementation of a <a
2378cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/task/XInteractionRequest.html"
2379cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.task.XInteractionRequest"><code>XInteractionRequest</code></a>.
2380cdf0e10cSrcweirNot tied to the form layer example, but a general helper.</td>
2381cdf0e10cSrcweir                </tr>
2382cdf0e10cSrcweir                <tr>
2383cdf0e10cSrcweir                  <td class="cell20"><a href="./Forms/KeyGenerator.java"
2384cdf0e10cSrcweir title="link to Forms/KeyGenerator.java">KeyGenerator</a></td>
2385cdf0e10cSrcweir                  <td class="cell80">Helper class which is able to
2386cdf0e10cSrcweirgenerate (unique) keys for a (<a
2387cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/sdb/RowSet.html"
2388cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.sdb.RowSet"><code>RowSet</code>
2389cdf0e10cSrcweir                  </a>) column. An instance of this class can be tied
2390cdf0e10cSrcweirto a specific row set column. It then monitors the state of the
2391cdf0e10cSrcweirunderlying row set, and upon inserting a new record into it (two
2392cdf0e10cSrcweiroperation modi are possible here), it automatically inserts a newly
2393cdf0e10cSrcweircreated (two modi, too) key into the column.</td>
2394cdf0e10cSrcweir                </tr>
2395cdf0e10cSrcweir                <tr>
2396cdf0e10cSrcweir                  <td class="cell20"><a
2397cdf0e10cSrcweir href="./Forms/ListSelectionValidator.java"
2398cdf0e10cSrcweir title="link to Forms/ListSelectionValidator.java">ListSelectionValidator</a></td>
2399cdf0e10cSrcweir                  <td class="cell80">The class <code>ListSelectionValidator</code>
2400cdf0e10cSrcweirimplements an <a
2401cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/form/validation/XValidator.html"
2402cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.form.validation.XValidator">validator</a>
2403cdf0e10cSrcweirfor a form control, which can veto certain selections in a list box
2404cdf0e10cSrcweircontrol.</td>
2405cdf0e10cSrcweir                </tr>
2406cdf0e10cSrcweir                <tr>
2407cdf0e10cSrcweir                  <td class="cell20"><a
2408cdf0e10cSrcweir href="./Forms/NumericValidator.java"
2409cdf0e10cSrcweir title="link to Forms/NumericValidator.java">NumericValidator</a></td>
2410*99eb6ac2SMatthias Seidel                  <td class="cell80">The class <code>NumericValidator</code> implements an <a
2411cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/form/validation/XValidator.html"
2412cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.form.validation.XValidator">validator</a>
2413cdf0e10cSrcweirfor a form control, which can veto certain values in every control
2414cdf0e10cSrcweirwhich allows exchanging numerical values.</td>
2415cdf0e10cSrcweir                </tr>
2416cdf0e10cSrcweir                <tr>
2417cdf0e10cSrcweir                  <td class="cell20"><a
2418cdf0e10cSrcweir href="./Forms/SingleControlValidation.java"
2419cdf0e10cSrcweir title="link to Forms/SingleControlValidation.java">SingleControlValidation</a></td>
2420cdf0e10cSrcweir                  <td class="cell80">Though form documents feature
2421cdf0e10cSrcweirinbuilt mechanisms for visually indicating invalid control content (see
2422cdf0e10cSrcweir                  <a
2423cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/form/validation/module-ix.html"
2424cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.form.validation"><code>com.sun.star.form.validation</code>
2425cdf0e10cSrcweir                  </a> for discussions about validity), the <a
2426cdf0e10cSrcweir href="./Forms/ControlValidation.java"
2427cdf0e10cSrcweir title="link to Forms/ControlValidation.java">ControlValidation</a>
2428cdf0e10cSrcweirexample extends this. The validity state of every control in this
2429cdf0e10cSrcweirexample, as well as possible explanations for invalidity, are displayed
2430cdf0e10cSrcweirin dedicated texts. The <code>SingleControlValidation</code> class
2431cdf0e10cSrcweirties together a validatable control and those status texts.</td>
2432cdf0e10cSrcweir                </tr>
2433cdf0e10cSrcweir                <tr>
2434cdf0e10cSrcweir                  <td class="cell20"><a
2435cdf0e10cSrcweir href="./Forms/SpreadsheetDocument.java"
2436cdf0e10cSrcweir title="link to Forms/SpreadsheetDocument.java">SpreadsheetDocument</a></td>
2437cdf0e10cSrcweir                  <td class="cell80">A specialized <a
2438cdf0e10cSrcweir href="./Forms/DocumentHelper.java"
2439cdf0e10cSrcweir title="link to Forms/DocumentHelper.java"><code>DocumentHelper<code></code></code></a>
2440cdf0e10cSrcweirwhich represents a spreadsheet document, and offers some form related
2441cdf0e10cSrcweirfunctionality. For instance, this class allows the creation of <a
2442cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/table/CellValueBinding.html"
2443cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.table.CellValueBinding">
2444cdf0e10cSrcweir                  <code>CellValueBinding</code></a> instances, which
2445cdf0e10cSrcweircan be used to couple the content of a form control with the content of
2446cdf0e10cSrcweira spreadsheet cell.</td>
2447cdf0e10cSrcweir                </tr>
2448cdf0e10cSrcweir                <tr>
2449cdf0e10cSrcweir                  <td class="cell20"><img
245080295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2451cdf0e10cSrcweir href="./Forms/SpreadsheetValueBinding.java"
2452cdf0e10cSrcweir title="link to Forms/SpreadsheetValueBinding.java">SpreadsheetValueBinding</a></td>
2453cdf0e10cSrcweir                  <td class="cell80">This example demonstrates how to
2454cdf0e10cSrcweirbind form controls to spreadsheet cells.</td>
2455cdf0e10cSrcweir                </tr>
2456cdf0e10cSrcweir                <tr>
2457cdf0e10cSrcweir                  <td class="cell20"><a
2458cdf0e10cSrcweir href="./Forms/SpreadsheetView.java"
2459cdf0e10cSrcweir title="link to Forms/SpreadsheetView.java">SpreadsheetView</a></td>
2460cdf0e10cSrcweir                  <td class="cell80">A specialized <a
2461cdf0e10cSrcweir href="./Forms/DocumentViewHelper.java"
2462cdf0e10cSrcweir title="link to Forms/DocumentViewHelper.java"><code>DocumentViewHelper</code></a>
2463cdf0e10cSrcweirwhich represents a view to a spreadsheet document.</td>
2464cdf0e10cSrcweir                </tr>
2465cdf0e10cSrcweir                <tr>
2466cdf0e10cSrcweir                  <td class="cell20"><a
2467cdf0e10cSrcweir href="./Forms/TableCellTextBinding.java"
2468cdf0e10cSrcweir title="link to Forms/TableCellTextBinding.java">TableCellTextBinding</a></td>
2469cdf0e10cSrcweir                  <td class="cell80">This class allows binding the
2470cdf0e10cSrcweircontrol of a form control with a table cell in a text document. For
2471cdf0e10cSrcweirthis, it uses the mechanisms of the <a
2472cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/form/binding/module-ix.html"
2473cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.form.binding">
2474cdf0e10cSrcweir                  <code>com.sun.star.form.binding</code></a> module.</td>
2475cdf0e10cSrcweir                </tr>
2476cdf0e10cSrcweir                <tr>
2477cdf0e10cSrcweir                  <td class="cell20"><a
2478cdf0e10cSrcweir href="./Forms/TextValidator.java"
2479cdf0e10cSrcweir title="link to Forms/TextValidator.java">TextValidator</a></td>
2480cdf0e10cSrcweir                  <td class="cell80">The class <code>TextValidator</code>
2481cdf0e10cSrcweirimplements an <a
2482cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/form/validation/XValidator.html"
2483cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.form.validation.XValidator">validator</a>
2484cdf0e10cSrcweirfor a form control, which can monitor a form text field.</td>
2485cdf0e10cSrcweir                </tr>
2486cdf0e10cSrcweir                <tr>
2487cdf0e10cSrcweir                  <td class="cell20"><a
2488cdf0e10cSrcweir href="./Forms/TimeValidator.java"
2489cdf0e10cSrcweir title="link to Forms/TimeValidator.java">TimeValidator</a></td>
2490cdf0e10cSrcweir                  <td class="cell80">The class <code>TimeValidator</code>
2491cdf0e10cSrcweirimplements an <a
2492cdf0e10cSrcweir href="../../docs/common/ref/com/sun/star/form/validation/XValidator.html"
2493cdf0e10cSrcweir title="link to the reference documentation of com.sun.star.form.validation.XValidator">validator</a>
2494cdf0e10cSrcweirfor a form control, which can monitor the content of a form time field.
2495cdf0e10cSrcweir                  </td>
2496cdf0e10cSrcweir                </tr>
2497cdf0e10cSrcweir                <tr>
2498cdf0e10cSrcweir                  <td class="cell20"><a href="./Forms/UNO.java"
2499cdf0e10cSrcweir title="link to Forms/UNO.java">UNO</a></td>
2500*99eb6ac2SMatthias Seidel                  <td class="cell80">A small UNO-syntax related helper class.</td>
2501cdf0e10cSrcweir                </tr>
2502cdf0e10cSrcweir                <tr>
2503cdf0e10cSrcweir                  <td class="cell20"><img
250480295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2505cdf0e10cSrcweir href="./Forms/ValueBinding.java"
2506cdf0e10cSrcweir title="link to Forms/ValueBinding.java">ValueBinding</a></td>
2507cdf0e10cSrcweir                  <td class="cell80">An example how to bind the content
2508cdf0e10cSrcweirof a form control to a table cell in a text document.</td>
2509cdf0e10cSrcweir                </tr>
2510cdf0e10cSrcweir                <tr>
2511cdf0e10cSrcweir                  <td class="cell20"><a href="./Forms/WaitForInput.java"
2512cdf0e10cSrcweir title="link to Forms/WaitForInput.java">WaitForInput</a></td>
2513cdf0e10cSrcweir                  <td class="cell80">A pretty small helper for the
2514cdf0e10cSrcweirinteractive examples, which notifies another instance when the user
2515cdf0e10cSrcweirpressed key on the console.</td>
2516cdf0e10cSrcweir                </tr>
2517cdf0e10cSrcweir                </tbody>
2518cdf0e10cSrcweir            </table>
2519cdf0e10cSrcweir            </td>
2520cdf0e10cSrcweir          </tr>
2521cdf0e10cSrcweir        </tbody>
2522cdf0e10cSrcweir      </table>
2523cdf0e10cSrcweir      </td>
2524cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
2525cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
2526cdf0e10cSrcweir    </tr>
2527cdf0e10cSrcweir    <tr>
2528cdf0e10cSrcweir      <td colspan="3"><img class="line"
2529cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
2530cdf0e10cSrcweir    </tr>
2531cdf0e10cSrcweir    <tr>
2532cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
2533cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
2534cdf0e10cSrcweir      <td>
2535cdf0e10cSrcweir      <table class="table2">
2536cdf0e10cSrcweir        <tbody>
2537cdf0e10cSrcweir          <tr>
2538cdf0e10cSrcweir            <td>
2539cdf0e10cSrcweir            <table class="table3">
2540cdf0e10cSrcweir              <tbody>
2541cdf0e10cSrcweir                <tr>
2542cdf0e10cSrcweir                  <td colspan="2" class="head1"><a
2543cdf0e10cSrcweir name="UniversalContentBroker(UCB)">Universal Content Broker (UCB)
2544cdf0e10cSrcweirexamples</a></td>
2545cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
2546cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
2547cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
2548cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
2549cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
2550cdf0e10cSrcweir                </tr>
2551cdf0e10cSrcweir              </tbody>
2552cdf0e10cSrcweir            </table>
2553cdf0e10cSrcweir            </td>
2554cdf0e10cSrcweir          </tr>
2555cdf0e10cSrcweir          <tr>
2556cdf0e10cSrcweir            <td>
2557cdf0e10cSrcweir            <table class="table4">
2558cdf0e10cSrcweir              <tbody>
2559cdf0e10cSrcweir                <tr class="thead">
2560cdf0e10cSrcweir                  <td class="cell20">Example</td>
2561cdf0e10cSrcweir                  <td class="cell80">Description</td>
2562cdf0e10cSrcweir                </tr>
2563cdf0e10cSrcweir                <tr>
2564cdf0e10cSrcweir                  <td class="cell20"><img
256580295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2566cdf0e10cSrcweir href="./UCB/ChildrenRetriever.java"
2567cdf0e10cSrcweir title="link to UCB/ChildrenRetriever.java">ChildrenRetriever</a></td>
2568cdf0e10cSrcweir                  <td class="cell80">Shows child entries of a given
2569cdf0e10cSrcweirfolder. Try -help or -? on the command line to view optional parameters.</td>
2570cdf0e10cSrcweir                </tr>
2571cdf0e10cSrcweir                <tr>
2572cdf0e10cSrcweir                  <td class="cell20"><img
257380295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2574cdf0e10cSrcweir href="./UCB/DataStreamComposer.java"
2575cdf0e10cSrcweir title="link to UCB/DataStreamComposer.java">DataStreamComposer</a></td>
2576cdf0e10cSrcweir                  <td class="cell80">Demonstrates usage of the data
2577cdf0e10cSrcweirstream by copying the data from one UCB node to another.</td>
2578cdf0e10cSrcweir                </tr>
2579cdf0e10cSrcweir                <tr>
2580cdf0e10cSrcweir                  <td class="cell20"><img
258180295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2582cdf0e10cSrcweir href="./UCB/DataStreamRetriever.java"
2583cdf0e10cSrcweir title="link to UCB/DataStreamRetriever.java">DataStreamRetriever</a></td>
2584cdf0e10cSrcweir                  <td class="cell80">Shows how to obtain the data
2585cdf0e10cSrcweirstream from a document resource.</td>
2586cdf0e10cSrcweir                </tr>
2587cdf0e10cSrcweir                <tr>
2588cdf0e10cSrcweir                  <td class="cell20"><a href="./UCB/Helper.java"
2589cdf0e10cSrcweir title="link to UCB/Helper.java">Helper</a></td>
2590cdf0e10cSrcweir                  <td class="cell80">Some helper methods to access the
2591cdf0e10cSrcweirUCB which are used by the other examples.</td>
2592cdf0e10cSrcweir                </tr>
2593cdf0e10cSrcweir                <tr>
2594cdf0e10cSrcweir                  <td class="cell20"><a
2595cdf0e10cSrcweir href="./UCB/MyActiveDataSink.java"
2596cdf0e10cSrcweir title="link to UCB/MyActiveDataSink.java">MyActiveDataSink</a></td>
2597cdf0e10cSrcweir                  <td class="cell80">A helper class for the <code>DataStreamRetriever</code>
2598cdf0e10cSrcweirexample which implements a data sink.</td>
2599cdf0e10cSrcweir                </tr>
2600cdf0e10cSrcweir                <tr>
2601cdf0e10cSrcweir                  <td class="cell20"><img
260280295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2603cdf0e10cSrcweir href="./UCB/PropertiesComposer.java"
2604cdf0e10cSrcweir title="link to UCB/PropertiesComposer.java">PropertiesComposer</a></td>
2605cdf0e10cSrcweir                  <td class="cell80">Shows how to set property values
2606cdf0e10cSrcweirof an UCB resource.</td>
2607cdf0e10cSrcweir                </tr>
2608cdf0e10cSrcweir                <tr>
2609cdf0e10cSrcweir                  <td class="cell20"><img
261080295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2611cdf0e10cSrcweir href="./UCB/PropertiesRetriever.java"
2612cdf0e10cSrcweir title="link to UCB/PropertiesRetriever.java">PropertiesRetriever</a></td>
2613cdf0e10cSrcweir                  <td class="cell80">Shows how to access property
2614cdf0e10cSrcweirvalues of an UCB resource.</td>
2615cdf0e10cSrcweir                </tr>
2616cdf0e10cSrcweir                <tr>
2617cdf0e10cSrcweir                  <td class="cell20"><img
261880295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2619cdf0e10cSrcweir href="./UCB/ResourceCreator.java"
2620cdf0e10cSrcweir title="link to UCB/ResourceCreator.java">ResourceCreator</a></td>
2621cdf0e10cSrcweir                  <td class="cell80">Creates a new file in an existing
2622cdf0e10cSrcweirfile system folder.</td>
2623cdf0e10cSrcweir                </tr>
2624cdf0e10cSrcweir                <tr>
2625cdf0e10cSrcweir                  <td class="cell20"><img
262680295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2627cdf0e10cSrcweir href="./UCB/ResourceManager.java"
2628cdf0e10cSrcweir title="link to UCB/ResourceManager.java">ResourceManager</a></td>
2629cdf0e10cSrcweir                  <td class="cell80">Demonstrates how to copy and move
2630cdf0e10cSrcweirUCB resources.</td>
2631cdf0e10cSrcweir                </tr>
2632cdf0e10cSrcweir                <tr>
2633cdf0e10cSrcweir                  <td class="cell20"><img
263480295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2635cdf0e10cSrcweir href="./UCB/ResourceRemover.java"
2636cdf0e10cSrcweir title="link to UCB/ResourceRemover.java">ResourceRemover</a></td>
2637cdf0e10cSrcweir                  <td class="cell80">Demonstrates how to remove UCB
2638cdf0e10cSrcweirresources.</td>
2639cdf0e10cSrcweir                </tr>
2640cdf0e10cSrcweir                </tbody>
2641cdf0e10cSrcweir            </table>
2642cdf0e10cSrcweir            </td>
2643cdf0e10cSrcweir          </tr>
2644cdf0e10cSrcweir        </tbody>
2645cdf0e10cSrcweir      </table>
2646cdf0e10cSrcweir      </td>
2647cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
2648cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
2649cdf0e10cSrcweir    </tr>
2650cdf0e10cSrcweir    <tr>
2651cdf0e10cSrcweir      <td colspan="3"><img class="line"
2652cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
2653cdf0e10cSrcweir    </tr>
2654cdf0e10cSrcweir    <tr>
2655cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
2656cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
2657cdf0e10cSrcweir      <td>
2658cdf0e10cSrcweir      <table class="table2">
2659cdf0e10cSrcweir        <tbody>
2660cdf0e10cSrcweir          <tr>
2661cdf0e10cSrcweir            <td>
2662cdf0e10cSrcweir            <table class="table3">
2663cdf0e10cSrcweir              <tbody>
2664cdf0e10cSrcweir                <tr>
2665cdf0e10cSrcweir                  <td colspan="2" class="head1"><a name="Configuration">Configuration
2666cdf0e10cSrcweirManagement examples</a></td>
2667cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
2668cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
2669cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
2670cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
2671cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
2672cdf0e10cSrcweir                </tr>
2673cdf0e10cSrcweir              </tbody>
2674cdf0e10cSrcweir            </table>
2675cdf0e10cSrcweir            </td>
2676cdf0e10cSrcweir          </tr>
2677cdf0e10cSrcweir          <tr>
2678cdf0e10cSrcweir            <td>
2679cdf0e10cSrcweir            <table class="table4">
2680cdf0e10cSrcweir              <tbody>
2681cdf0e10cSrcweir                <tr class="thead">
2682cdf0e10cSrcweir                  <td class="cell20">Example</td>
2683cdf0e10cSrcweir                  <td class="cell80">Description</td>
2684cdf0e10cSrcweir                </tr>
2685cdf0e10cSrcweir                <tr>
2686cdf0e10cSrcweir                  <td class="cell20"><img
268780295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2688cdf0e10cSrcweir href="./Config/ConfigExamples.java"
2689cdf0e10cSrcweir title="link to Config/ConfigExamples.java">ConfigExamples</a></td>
2690cdf0e10cSrcweir                  <td class="cell80">This example connects to a
2691cdf0e10cSrcweirOpenOffice.org %PRODUCT_RELEASE%, gets the configuration manager and accesses the
2692cdf0e10cSrcweirconfiguration in various ways.</td>
2693cdf0e10cSrcweir                </tr>
2694cdf0e10cSrcweir              </tbody>
2695cdf0e10cSrcweir            </table>
2696cdf0e10cSrcweir            </td>
2697cdf0e10cSrcweir          </tr>
2698cdf0e10cSrcweir        </tbody>
2699cdf0e10cSrcweir      </table>
2700cdf0e10cSrcweir      </td>
2701cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
2702cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
2703cdf0e10cSrcweir    </tr>
2704cdf0e10cSrcweir    <tr>
2705cdf0e10cSrcweir      <td colspan="3"><img class="line"
2706cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
2707cdf0e10cSrcweir    </tr>
2708cdf0e10cSrcweir    <tr>
2709cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
2710cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
2711cdf0e10cSrcweir      <td>
2712cdf0e10cSrcweir      <table class="table2">
2713cdf0e10cSrcweir        <tbody>
2714cdf0e10cSrcweir          <tr>
2715cdf0e10cSrcweir            <td>
2716cdf0e10cSrcweir            <table class="table3">
2717cdf0e10cSrcweir              <tbody>
2718cdf0e10cSrcweir                <tr>
2719cdf0e10cSrcweir                  <td colspan="2" class="head1"><a name="OfficeBean">Office
2720cdf0e10cSrcweirBean example</a></td>
2721cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
2722cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
2723cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
2724cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
2725cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
2726cdf0e10cSrcweir                </tr>
2727cdf0e10cSrcweir              </tbody>
2728cdf0e10cSrcweir            </table>
2729cdf0e10cSrcweir            </td>
2730cdf0e10cSrcweir          </tr>
2731cdf0e10cSrcweir          <tr>
2732cdf0e10cSrcweir            <td>
2733cdf0e10cSrcweir            <table class="table4">
2734cdf0e10cSrcweir              <tbody>
2735cdf0e10cSrcweir                <tr class="thead">
2736cdf0e10cSrcweir                  <td class="cell20"> Example</td>
2737cdf0e10cSrcweir                  <td class="cell80">Description</td>
2738cdf0e10cSrcweir                </tr>
2739cdf0e10cSrcweir                <tr>
2740cdf0e10cSrcweir                  <td class="cell20"><img
274180295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2742cdf0e10cSrcweir href="./OfficeBean/OOoBeanViewer.java"
2743cdf0e10cSrcweir title="link to OfficeBean/OOoBeanViewer.java">OOoBeanViewer</a></td>
2744cdf0e10cSrcweir                  <td class="cell80">Shows how to use the <code>OOoBean</code>
2745cdf0e10cSrcweirembedded in a Java AWT component. It shows how to load and store
2746cdf0e10cSrcweirdocuments as well as how to control toolbar visibility.</td>
2747cdf0e10cSrcweir                </tr>
2748cdf0e10cSrcweir              </tbody>
2749cdf0e10cSrcweir            </table>
2750cdf0e10cSrcweir            </td>
2751cdf0e10cSrcweir          </tr>
2752cdf0e10cSrcweir        </tbody>
2753cdf0e10cSrcweir      </table>
2754cdf0e10cSrcweir      </td>
2755cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
2756cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
2757cdf0e10cSrcweir    </tr>
2758cdf0e10cSrcweir    <tr>
2759cdf0e10cSrcweir      <td colspan="3"><img class="line"
2760cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
2761cdf0e10cSrcweir    </tr>
2762cdf0e10cSrcweir    <tr>
2763cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
2764cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
2765cdf0e10cSrcweir      <td>
2766cdf0e10cSrcweir      <table class="table2">
2767cdf0e10cSrcweir        <tbody>
2768cdf0e10cSrcweir          <tr>
2769cdf0e10cSrcweir            <td>
2770cdf0e10cSrcweir            <table class="table3">
2771cdf0e10cSrcweir              <tbody>
2772cdf0e10cSrcweir                <tr>
2773cdf0e10cSrcweir                  <td colspan="2" class="head1"><a name="Accessibility">Accessibility
2774cdf0e10cSrcweirexamples</a></td>
2775cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
2776cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
2777cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
2778cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
2779cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
2780cdf0e10cSrcweir                </tr>
2781cdf0e10cSrcweir              </tbody>
2782cdf0e10cSrcweir            </table>
2783cdf0e10cSrcweir            </td>
2784cdf0e10cSrcweir          </tr>
2785cdf0e10cSrcweir          <tr>
2786cdf0e10cSrcweir            <td>
2787cdf0e10cSrcweir            <table class="table4">
2788cdf0e10cSrcweir              <tbody>
2789cdf0e10cSrcweir                <tr class="thead">
2790cdf0e10cSrcweir                  <td class="cell20">Example</td>
2791cdf0e10cSrcweir                  <td class="cell80">Description</td>
2792cdf0e10cSrcweir                </tr>
2793cdf0e10cSrcweir                <tr>
2794cdf0e10cSrcweir                  <td class="cell20"><a
2795cdf0e10cSrcweir href="./Accessibility/ConnectionTask.java"
2796cdf0e10cSrcweir title="link to Accessibility/ConnectionTask.java">ConnectionTask</a></td>
2797cdf0e10cSrcweir                  <td class="cell80">A timer task that tries to
2798cdf0e10cSrcweir(re-)connect to a running Office application. When it can not detect an
2799cdf0e10cSrcweirOffice application that accepts connections then it waits for some time
2800cdf0e10cSrcweirand tries again.</td>
2801cdf0e10cSrcweir                </tr>
2802cdf0e10cSrcweir                <tr>
2803cdf0e10cSrcweir                  <td class="cell20"><a
2804cdf0e10cSrcweir href="./Accessibility/EventHandler.java"
2805cdf0e10cSrcweir title="link to Accessibility/EventHandler.java">EventHandler</a></td>
2806cdf0e10cSrcweir                  <td class="cell80">Handle all events that are used by
2807cdf0e10cSrcweirthis tool. It is called by the EventListenerProxy class with somewhat
2808cdf0e10cSrcweirpreprocessed events.</td>
2809cdf0e10cSrcweir                </tr>
2810cdf0e10cSrcweir                <tr>
2811cdf0e10cSrcweir                  <td class="cell20"><a
2812cdf0e10cSrcweir href="./Accessibility/EventListenerProxy.java"
2813cdf0e10cSrcweir title="link to Accessibility/EventListenerProxy.java">EventListenerProxy</a></td>
2814cdf0e10cSrcweir                  <td class="cell80">This proxy runs in its own thread
2815cdf0e10cSrcweirto avoid deadlocks with the Office it listens to. It waits for top
2816cdf0e10cSrcweirwindow events to be informed of new or removed top level windows and
2817cdf0e10cSrcweirfor some accessibility events that are relevant to display the
2818cdf0e10cSrcweircurrently focused object.</td>
2819cdf0e10cSrcweir                </tr>
2820cdf0e10cSrcweir                <tr>
2821cdf0e10cSrcweir                  <td class="cell20"><a
2822cdf0e10cSrcweir href="./Accessibility/GraphicalDisplay.java"
2823cdf0e10cSrcweir title="link to Accessibility/GraphicalDisplay.java">GraphicalDisplay</a></td>
2824cdf0e10cSrcweir                  <td class="cell80">This widget displays a graphical
2825cdf0e10cSrcweirrepresentation of the currently focused object. The focused object is
2826cdf0e10cSrcweirpainted as a green rectangle and its ancestors as gray rectangles to
2827cdf0e10cSrcweirgive an impression of the relative location of the objects.</td>
2828cdf0e10cSrcweir                </tr>
2829cdf0e10cSrcweir                <tr>
2830cdf0e10cSrcweir                  <td class="cell20"><a
2831cdf0e10cSrcweir href="./Accessibility/IAccessibleObjectDisplay.java"
2832cdf0e10cSrcweir title="link to Accessibility/IAccessibleObjectDisplay.java">IAccessibleObjectDisplay</a></td>
2833cdf0e10cSrcweir                  <td class="cell80">This interface is implemented by
2834cdf0e10cSrcweirall classes that display the currently focused object, namely
2835cdf0e10cSrcweirGraphicalDisplay and TextualDisplay. It allows the owner of the display
2836cdf0e10cSrcweirclasses to tell them to display a specific object: usually the focused
2837cdf0e10cSrcweirobject.</td>
2838cdf0e10cSrcweir                </tr>
2839cdf0e10cSrcweir                <tr>
2840cdf0e10cSrcweir                  <td class="cell20"><a
2841cdf0e10cSrcweir href="./Accessibility/MessageArea.java"
2842cdf0e10cSrcweir title="link to Accessibility/MessageArea.java">MessageArea</a></td>
2843cdf0e10cSrcweir                  <td class="cell80">A text area that shows messages
2844cdf0e10cSrcweirabout what the tools is currently doing.</td>
2845cdf0e10cSrcweir                </tr>
2846cdf0e10cSrcweir                <tr>
2847cdf0e10cSrcweir                  <td class="cell20"><a
2848cdf0e10cSrcweir href="./Accessibility/NameProvider.java"
2849cdf0e10cSrcweir title="link to Accessibility/NameProvider.java">NameProvider</a></td>
2850cdf0e10cSrcweir                  <td class="cell80">In contrast to the Java
2851cdf0e10cSrcweirAccessibility API which uses Strings for event types, roles, states,
2852cdf0e10cSrcweirand relation types, the UNO Accessibility API uses numbers for this
2853cdf0e10cSrcweirtask. In order to present them to the user in a more readable form this
2854cdf0e10cSrcweirclass returns the string name for each event, role, state, or relation.</td>
2855cdf0e10cSrcweir                </tr>
2856cdf0e10cSrcweir                <tr>
2857cdf0e10cSrcweir                  <td class="cell20"><a
2858cdf0e10cSrcweir href="./Accessibility/RegistrationThread.java"
2859cdf0e10cSrcweir title="link to Accessibility/RegistrationThread.java">RegistrationThread</a></td>
2860cdf0e10cSrcweir                  <td class="cell80">When a new window appears or an
2861cdf0e10cSrcweirexisting one is removed the tool registers or unregisters at all the
2862cdf0e10cSrcweirwindow's children as accessibility event listener. This is handled by
2863cdf0e10cSrcweirRegistrationThread objects in their own threads so that the user
2864cdf0e10cSrcweirinterface is not blocked.</td>
2865cdf0e10cSrcweir                </tr>
2866cdf0e10cSrcweir                <tr>
2867cdf0e10cSrcweir                  <td class="cell20"><img
286880295734SMatthias Seidel src="../../docs/images/blueball.png"> <a
2869cdf0e10cSrcweir href="./Accessibility/SSR.java" title="link to Accessibility/SSR.java">SSR</a></td>
2870cdf0e10cSrcweir                  <td class="cell80">The main class sets up the user
2871cdf0e10cSrcweirinterface and starts the ConnectionTask object that eventually will
2872cdf0e10cSrcweirinitiate a connection to a running Office application and in turn will
2873cdf0e10cSrcweircreate RegistrationThread objects to register at all Office windows as
2874cdf0e10cSrcweiraccessibility event listener and thus gets informed about the currently
2875cdf0e10cSrcweirfocused object.</td>
2876cdf0e10cSrcweir                </tr>
2877cdf0e10cSrcweir                <tr>
2878cdf0e10cSrcweir                  <td class="cell20"><a
2879cdf0e10cSrcweir href="./Accessibility/TextualDisplay.java"
2880cdf0e10cSrcweir title="link to Accessibility/TextualDisplay.java">TextualDisplay</a></td>
2881cdf0e10cSrcweir                  <td class="cell80">Show some textual information
2882cdf0e10cSrcweirabout the currently focused object like its name, description, and role.</td>
2883cdf0e10cSrcweir                </tr>
2884cdf0e10cSrcweir              </tbody>
2885cdf0e10cSrcweir            </table>
2886cdf0e10cSrcweir            </td>
2887cdf0e10cSrcweir          </tr>
2888cdf0e10cSrcweir        </tbody>
2889cdf0e10cSrcweir      </table>
2890cdf0e10cSrcweir      </td>
2891cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
2892cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
2893cdf0e10cSrcweir    </tr>
2894cdf0e10cSrcweir    <tr>
2895cdf0e10cSrcweir      <td colspan="3"><img class="line"
2896cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
2897cdf0e10cSrcweir    </tr>
2898cdf0e10cSrcweir    <tr>
2899cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
2900cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
2901cdf0e10cSrcweir      <td>
2902cdf0e10cSrcweir      <table class="table2">
2903cdf0e10cSrcweir        <tbody>
2904cdf0e10cSrcweir          <tr>
2905cdf0e10cSrcweir            <td>
2906cdf0e10cSrcweir            <table class="table3">
2907cdf0e10cSrcweir              <tbody>
2908cdf0e10cSrcweir                <tr>
2909cdf0e10cSrcweir                  <td colspan="2" class="head1"><a
2910cdf0e10cSrcweir name="ScriptingFramework">Scripting Framework Examples</a></td>
2911cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
2912cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
2913cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
2914cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
2915cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
2916cdf0e10cSrcweir                </tr>
2917cdf0e10cSrcweir              </tbody>
2918cdf0e10cSrcweir            </table>
2919cdf0e10cSrcweir            </td>
2920cdf0e10cSrcweir          </tr>
2921cdf0e10cSrcweir          <tr>
2922cdf0e10cSrcweir            <td>
2923cdf0e10cSrcweir            <table class="table4">
2924cdf0e10cSrcweir              <tbody>
2925cdf0e10cSrcweir                <tr class="thead">
2926cdf0e10cSrcweir                  <td class="cell20"> Example</td>
2927cdf0e10cSrcweir                  <td class="cell80">Description</td>
2928cdf0e10cSrcweir                </tr>
2929cdf0e10cSrcweir                <tr>
2930cdf0e10cSrcweir                  <td class="cell20"><a
2931cdf0e10cSrcweir href="./ScriptingFramework/SayHello/SayHello/SayHello.java"
2932cdf0e10cSrcweir title="link to ScriptingFramework/SayHello/SayHello/SayHello.java">SayHello</a></td>
2933cdf0e10cSrcweir                  <td class="cell80">A Scripting Framework Java macro
2934cdf0e10cSrcweirthat opens a new Writer document and inserts the word Hello in it.</td>
2935cdf0e10cSrcweir                </tr>
2936cdf0e10cSrcweir                <tr>
2937cdf0e10cSrcweir                  <td class="cell20"><a
2938cdf0e10cSrcweir href="./ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java"
2939cdf0e10cSrcweir title="link to ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java">ScriptSelector</a></td>
2940cdf0e10cSrcweir                  <td class="cell80">A Scripting Framework Java macro
2941cdf0e10cSrcweirthat opens a Java Swing dialog with a tree view of the macro hierarchy
2942cdf0e10cSrcweirfor the Office application.</td>
2943cdf0e10cSrcweir                </tr>
2944cdf0e10cSrcweir              </tbody>
2945cdf0e10cSrcweir            </table>
2946cdf0e10cSrcweir            </td>
2947cdf0e10cSrcweir          </tr>
2948cdf0e10cSrcweir        </tbody>
2949cdf0e10cSrcweir      </table>
2950cdf0e10cSrcweir      </td>
2951cdf0e10cSrcweir    </tr>
2952cdf0e10cSrcweir    <tr>
2953cdf0e10cSrcweir      <td colspan="3"><img class="line"
2954cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
2955cdf0e10cSrcweir    </tr>
2956cdf0e10cSrcweir    <tr>
2957cdf0e10cSrcweir      <td class="content1"><img class="nothing8"
2958cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
2959cdf0e10cSrcweir      <td>
2960cdf0e10cSrcweir      <table class="table2">
2961cdf0e10cSrcweir        <tbody>
2962cdf0e10cSrcweir          <tr>
2963cdf0e10cSrcweir            <td>
2964cdf0e10cSrcweir            <table class="table3">
2965cdf0e10cSrcweir              <tbody>
2966cdf0e10cSrcweir                <tr>
2967cdf0e10cSrcweir                  <td colspan="2" class="head1"><a
2968cdf0e10cSrcweir name="GraphicalUserInterfaces">Graphical User Interfaces</a></td>
2969cdf0e10cSrcweir                  <td align="right"> <a href="#examples"
2970cdf0e10cSrcweir title="link to the Developer's Guide examples overview"><img
2971cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_up.png"></a> <a
2972cdf0e10cSrcweir href="../../index.html" title="link to the SDK start page"><img
2973cdf0e10cSrcweir class="navigate" src="../../docs/images/nav_home.png"></a> </td>
2974cdf0e10cSrcweir                </tr>
2975cdf0e10cSrcweir              </tbody>
2976cdf0e10cSrcweir            </table>
2977cdf0e10cSrcweir            </td>
2978cdf0e10cSrcweir          </tr>
2979cdf0e10cSrcweir          <tr>
2980cdf0e10cSrcweir            <td>
2981cdf0e10cSrcweir            <table class="table4">
2982cdf0e10cSrcweir              <tbody>
2983cdf0e10cSrcweir                <tr class="thead">
2984cdf0e10cSrcweir                  <td class="cell20"> Example</td>
2985cdf0e10cSrcweir                  <td class="cell80">Description</td>
2986cdf0e10cSrcweir                </tr>
2987cdf0e10cSrcweir                <tr>
298880295734SMatthias Seidel                  <td class="cell20"><img src="../../docs/images/blueball.png">
2989cdf0e10cSrcweir<a href="./GUI/DialogDocument.java" title="link to GUI/DialogDocument.java">DialogDocument</a></td>
2990cdf0e10cSrcweir                  <td class="cell80">A sample showing how to display an office document in a dialog window.</td>
2991cdf0e10cSrcweir                </tr>
2992cdf0e10cSrcweir                <tr>
299380295734SMatthias Seidel                  <td class="cell20"><img src="../../docs/images/blueball.png">
2994cdf0e10cSrcweir<a href="./GUI/Messagebox.java" title="link to GUI/MessageBox.java">MessageBox</a></td>
2995cdf0e10cSrcweir                  <td class="cell80">A sample showing how to display a simple message box.</td>
2996cdf0e10cSrcweir                </tr>
2997cdf0e10cSrcweir                <tr>
299880295734SMatthias Seidel                  <td class="cell20"><img src="../../docs/images/blueball.png">
2999cdf0e10cSrcweir<a href="./GUI/UnoDialogSample.java" title="link to GUI/UnoDialogSample.java">UnoDialogSample</a></td>
3000cdf0e10cSrcweir                  <td class="cell80">A sample showing how to create various controls in a dialog (fixed text field, currency field, progress bar, fixed line, group box, edit field, time field, date field, pattern field, numeric field, progressbar, check box, radio button, list box, combo box, formatted field, file control, button control, roadmap control)</td>
3001cdf0e10cSrcweir                </tr>
3002cdf0e10cSrcweir                <tr>
300380295734SMatthias Seidel                  <td class="cell20"><img src="../../docs/images/blueball.png">
3004cdf0e10cSrcweir<a href="./GUI/UnoDialogSample2.java" title="link to GUI/UnoDialogSample2.java">UnoDialogSample2</a></td>
3005cdf0e10cSrcweir                  <td class="cell80">A dialog sample showing how to use a roadmap control.</td>
3006cdf0e10cSrcweir                </tr>
3007cdf0e10cSrcweir                <tr>
300880295734SMatthias Seidel                  <td class="cell20"><img src="../../docs/images/blueball.png">
3009cdf0e10cSrcweir<a href="./GUI/UnoMenu.java" title="link to GUI/UnoMenu.java">UnoMenu</a></td>
3010cdf0e10cSrcweir                  <td class="cell80">A sample showing a top window with some menus.</td>
3011cdf0e10cSrcweir                </tr>
3012cdf0e10cSrcweir                <tr>
301380295734SMatthias Seidel                  <td class="cell20"><img src="../../docs/images/blueball.png">
3014cdf0e10cSrcweir<a href="./GUI/UnoMenu2.java" title="link to GUI/UnoMenu2.java">UnoMenu2</a></td>
3015cdf0e10cSrcweir                  <td class="cell80">A dialog sample showing how to use or work with a context menu.</td>
3016cdf0e10cSrcweir                </tr>
3017cdf0e10cSrcweir                <tr>
301880295734SMatthias Seidel                  <td class="cell20"><img src="../../docs/images/blueball.png">
3019cdf0e10cSrcweir<a href="./GUI/ImageControlSample.java" title="link to GUI/ImageControlSample.java">ImageControlSample2</a></td>
3020cdf0e10cSrcweir                  <td class="cell80">Dialog sample showing how to use an image control.</td>
3021cdf0e10cSrcweir                </tr>
3022cdf0e10cSrcweir              </tbody>
3023cdf0e10cSrcweir            </table>
3024cdf0e10cSrcweir            </td>
3025cdf0e10cSrcweir          </tr>
3026cdf0e10cSrcweir        </tbody>
3027cdf0e10cSrcweir      </table>
3028cdf0e10cSrcweir      </td>
3029cdf0e10cSrcweir    </tr>
3030cdf0e10cSrcweir    <tr>
3031cdf0e10cSrcweir      <td colspan="3"><img class="nothing30"
3032cdf0e10cSrcweir src="../../docs/images/nada.gif"></td>
3033cdf0e10cSrcweir    </tr>
3034cdf0e10cSrcweir    <tr>
3035cdf0e10cSrcweir      <td colspan="3"><img class="line"
3036cdf0e10cSrcweir src="../../docs/images/sdk_line-1.gif"></td>
3037cdf0e10cSrcweir    </tr>
3038cdf0e10cSrcweir    <tr>
3039cdf0e10cSrcweir      <td colspan="3">
3040cdf0e10cSrcweir      <div class="centertext">
304180295734SMatthias Seidel	<p><img class="apachelogo" src="../../docs/images/sdk-footer-logo.png" title="Apache Logo" alt="Apache Logo" />
3042507825ddSAriel Constenla-Haile            Copyright &copy; 2011 The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.<p>
3043cdf0e10cSrcweir      </div>
3044ef1ef8e6SJürgen Schmidt    </td>
3045ef1ef8e6SJürgen Schmidt  </tr>
3046cdf0e10cSrcweir</table>
3047cdf0e10cSrcweir<map name="Map">
3048*99eb6ac2SMatthias Seidel  <area shape="rect" coords="10,68,400,105" href="https://www.openoffice.org">
3049cdf0e10cSrcweir</map>
3050cdf0e10cSrcweir</body>
3051cdf0e10cSrcweir</html>
3052