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