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