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