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