<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
<p><fontsize="5"><b><aname="ProfessionalUNO">Professional UNO examples</a></b></font>
<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
Builds a connection to [PRODUCTNAME] using the URL given on the command line. This example
shows the usage of <ahref="../../docs/common/ref/com/sun/star/bridge/XUnoUrlResolver.html"title ="link to the reference documentation of com.sun.star.bridge.XUnoResolver">
<ahref="../../docs/cpp/ref/names/rtl/c-OString.html"title="link to the reference documentation of rtl::OString"><code>OString</code></a>,
<ahref="../../docs/cpp/ref/names/rtl/c-OUString.html"title="link to the reference documentation of rtl::OUString"><code>OUString</code></a> and
<ahref="../../docs/cpp/ref/names/rtl/c-OUStringBuffer.html"title="link to the reference documentation of rtl::OUStringBuffer"><code>OUStringBuffer</code></a>.
<p><fontsize="5"><b><aname="Components">Writing UNO components examples</a></b></font>
<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
<tdwidth=20%><ahref="./Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java"title="link to Components/Addons/ProtocolHandlerAddon_java/ProtocolHandlerAddon.java">ProtocolHandlerAddon</a></td>
<tdwidth=80%>
Implments a ProtocolHandler addon component in Java.
</td>
</tr>
<tdwidth=20%><ahref="./Components/Addons/ProtocolHandlerAddon_cpp/ProtocolHandler.xcu"title="link to Components/Addons/ProtocolHandlerAddon_cpp/ProtocolHandler.xcu">ProtocolHandler.xcu</a></td>
<tdwidth=80%>
Contains the ProtocolHandler configuration.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Components/Addons/ProtocolHandlerAddon_cpp/Addons.xcu"title="link to Components/Addons/ProtocolHandlerAddon_cpp/Addons.xcu">Addons.xcu</a></td>
<tdwidth=80%>
Contains the configuration entries for the ProtocolHandler addon where different entries
<tdwidth=20%><ahref="./Components/Addons/ProtocolHandlerAddon_cpp/addon.cxx"title="link to Components/Addons/ProtocolHandlerAddon_cpp/addon.cxx">addon.cxx</a></td>
<tdwidth=80%>
Implments a ProtocolHandler addon component in C++.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Components/Addons/ProtocolHandlerAddon_cpp/addon.hxx"title="link to Components/Addons/ProtocolHandlerAddon_cpp/addon.hxx">addon.hxx</a></td>
<tdwidth=80%>
Contans the class definition of the c++ ProtocolHandler example.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Components/Addons/ProtocolHandlerAddon_cpp/component.cxx"title="link to Components/Addons/ProtocolHandlerAddon_cpp/component.cxx">component.cxx</a></td>
<tdwidth=80%>
Implements the administrative component functions (component_writeInfo, component_getFactory).
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Components/Addons/ProtocolHandlerAddon_cpp/ProtocolHandler.xcu"title="link to Components/Addons/ProtocolHandlerAddon_cpp/ProtocolHandler.xcu">ProtocolHandler.xcu</a></td>
<tdwidth=80%>
Contains the ProtocolHandler configuration.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Components/Addons/ProtocolHandlerAddon_cpp/Addons.xcu"title="link to Components/Addons/ProtocolHandlerAddon_cpp/Addons.xcu">Addons.xcu</a></td>
<tdwidth=80%>
Contains the configuration entries for the ProtocolHandler addon where different entries
Demonstrates how to extend the service provider with a new factory and instantiates the
example components.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Components/JavaComponent/TestComponentA.java"title="link to Components/JavaComponent/TestComponentA.java">TestComponentA</a></td>
<tdwidth=80%>
Shows a simple demo component which implements
<ahref="../../docs/common/ref/com/sun/star/lang/XTypeProvider.html"title="link to the reference documentation of com.sun.star.lang.XTypeProvider">
<code>XTypeProvider</code></a>,
<ahref="../../docs/common/ref/com/sun/star/lang/XServiceInfo.html"title="link to the reference documentation of com.sun.star.lang.XServicedInfo">
<code>XServiceInfo</code></a> and
an own interface <code>XSomethingA</code>.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Components/JavaComponent/TestComponentB.java"title="link to Components/JavaComponent/TestComponentB.java">TestComponentB</a></td>
<tdwidth=80%>
Shows a simple demo component which implements
<ahref="../../docs/common/ref/com/sun/star/lang/XTypeProvider.html"title="link to the reference documentation of com.sun.star.lang.XTypeProvider">
<code>XTypeProvider</code></a>,
<ahref="../../docs/common/ref/com/sun/star/lang/XServiceInfo.html"title="link to the reference documentation of com.sun.star.lang.XServiceInfo">
<code>XServiceInfo</code></a> and an own interface <code>XSomethingB</code>.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Components/JavaComponent/TestServiceProvider.java"title="link to Components/JavaComponent/TestServiceProvider.java">TestServiceProvider</a></td>
<tdwidth=80%>
Implements a factory (service provider) which can create the two test components.
<tdwidth=20%><ahref="./Components/Thumbs/org/openoffice/comp/test/ImageShrink.java"title="link to Components/Thumbs/org/openoffice/comp/test/ImageShrink.java">
ImageShrink</a></td>
<tdwidth=80%>
Contains a framework for a component which scales images in a directory and stores them to
another directory. This code does not really do anything, it just contains the framework.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Components/Thumbs/org/openoffice/comp/test/Thumbs.java"title="link to Components/Thumbs/org/openoffice/comp/test/Thumbs.java">Thumbs</a></td>
<tdwidth=80%>
This example registers a factory for the image shrink component and instantiates it.
<p><fontsize="5"><b><aname="OfficeDevelopment">Office Development examples</a></b></font>
<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
<tdwidth=20%><ahref="./OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java"title="link to OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java">AsciiReplaceFilter</a></td>
<tdwidth=80%>
Implements an example for an import/export filter service.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/FilterDevelopment/AsciiFilter/Factory.java"title="link to OfficeDev/FilterDevelopment/AsciiFilter/Factory.java">Factory</a></td>
<tdwidth=80%>
Implements a factory class which can be registered for the UNO service manager. It is used
to create new instances of the filter service.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java"title="link to OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java">FilterOptions</a></td>
<tdwidth=80%>
Offers some helper methods to analyze and prepare the arguments of the filter method.
<tdwidth=20%><b>FlatXmlFilter C++ Example</b></td>
<tdwidth=80%><b>Description</b></td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx"title="link to OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx">FlatXml.cxx</a></td>
<tdwidth=80%>
Implements an import/export filter storing the data in one xml stream instead of the normal three
streams in a sxw file. The example is implemented in C++.
<tdwidth=20%><ahref="./OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java"title="link to OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java">FlatXml</a></td>
<tdwidth=80%>
Implements an import/export filter storing the data in one xml stream instead of the normal three
streams in a sxw file. The example is implemented in Java.
<tdwidth=20%><ahref="./OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx"title="link to OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.cxx">filterdetect.cxx</a></td>
<tdwidth=80%>
Implements an example filter detection for the flat xml filter.
The example is implemented in C++.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.hxx"title="link to OfficeDev/FilterDevelopment/FlatXmlFilterDetection/filterdetect.hxx">filterdetect.hxx</a></td>
<tdwidth=80%>
Contains the class definition of the filter detection example.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/FilterDevelopment/FlatXmlFilterDetection/fdcomp.cxx"title="link to OfficeDev/FilterDevelopment/FlatXmlFilterDetection/fdcomp.cxx">fdcomp.cxx</a></td>
<tdwidth=80%>
Implements the administrative component functions (component_writeInfo, component_getFactory).
<tdwidth=20%><ahref="./OfficeDev/DesktopEnvironment/CustomizeView.java"title="link to OfficeDev/DesktopEnvironment/CustomizeView.java">CustomizeView</a></td>
<tdwidth=80%>
Offers a view which allows hiding and showing of the menubar, toolbar and objectbar of the
related document component.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/DesktopEnvironment/Desk.java"title="link to OfficeDev/DesktopEnvironment/Desk.java">
<fontcolor="#1C3BF9">∗</font>Desk</a></td>
<tdwidth=80%>
This is the main part of a demo application based on the framework APIs. It mainly shows the
mechanisms to load, store and convert documents, as well as dispatch and dispatch interception.
It integrates windows from [PRODUCTNAME] via system window handle. This is the same mechanism
as used by the OfficeBean, but the OfficeBean itself is not used here, just the JNI window
handle access.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/DesktopEnvironment/DocumentView.java"title="link to OfficeDev/DesktopEnvironment/DocumentView.java">DocumentView</a></td>
<tdwidth=80%>
Deals with the application window and it's actions.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/DesktopEnvironment/FunctionHelper.java"title="link to OfficeDev/DesktopEnvironment/FunctionHelper.java">FunctionHelper</a></td>
<tdwidth=80%>
This helper comprises all [PRODUCTNAME] API calls. Thus it is possible to learn about these
aspects separately from the rest of the application example.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/DesktopEnvironment/IOnewayLink.java"title="link to OfficeDev/DesktopEnvironment/IOnewayLink.java">IOnewayLink</a></td>
<tdwidth=80%>
This is an interface to receive asynchronous events from UNO oneway calls.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/DesktopEnvironment/IShutdownListener.java"title="link to OfficeDev/DesktopEnvironment/IShutdownListener.java">
IShutdownListener</a></td>
<tdwidth=80%>
This is a listener interface to clean up on shutdown of [PRODUCTNAME].
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/DesktopEnvironment/Interceptor.java"title="link to OfficeDev/DesktopEnvironment/Interceptor.java">Interceptor</a></td>
<tdwidth=80%>
This implements a dispatch interceptor for a specific URL.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java"title="link to OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java">
JavaWindowPeerFake</a></td>
<tdwidth=80%>
Fakes an <ahref="../../docs/common/ref/com/sun/star/awt/XWindowPeer.html"title=" link to the reference documentation of com.sun.star.awt.XWindowPeer">
<code>XWindowPeer</code></a> for the Java native window handle to create a child window
for the office frame.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/DesktopEnvironment/NativeView.java"title="link to OfficeDev/DesktopEnvironment/NativeView.java">NativeView</a></td>
<tdwidth=80%>
Implements native JNI methods to get the window handle of the Java window.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/DesktopEnvironment/OfficeConnect.java"title=" link to OfficeDev/DesktopEnvironment/OfficeConnect.java">OfficeConnect</a></td>
<tdwidth=80%>
Builds the remote bridge to [PRODUCTNAME] and exports its UNO service manager for the Java
side of the application.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/DesktopEnvironment/OnewayExecutor.java"title="link to OfficeDev/DesktopEnvironment/OnewayExecutor.java">OnewayExecutor</a></td>
<tdwidth=80%>
Implements <code>IOnewayLink</code> to decouple asynchronous oneway calls in the Java process.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/DesktopEnvironment/StatusListener.java"title="link to OfficeDev/DesktopEnvironment/StatusListener.java">StatusListener</a></td>
<tdwidth=80%>
Implements a listener for a
<ahref="../../docs/common/ref/com/sun/star/frame/FeatureStateEvent.html"title="link to the reference documentation of com.sun.star.frame.FeatureStateEvent">
<code>FeatureStateEvent</code></a>.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/DesktopEnvironment/StatusView.java"title="link to OfficeDev/DesktopEnvironment/StatusView.java">StatusView</a></td>
<tdwidth=80%>
Shows the current status for which the application is registered as an event listener.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/DesktopEnvironment/ViewContainer.java"title="link to OfficeDev/DesktopEnvironment/ViewContainer.java">ViewContainer</a></td>
<tdwidth=80%>
Performs a clean up on the Java side on [PRODUCTNAME] shutdown.
This example uses the TerminateListener and shows the use of them in a running program.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/TerminationTest/TerminateListener.java"title="link to OfficeDev/TerminationTest/TerminateListener.java">
TerminateListener</a></td>
<tdwidth=80%>
An example implementation of
<ahref="../../docs/common/ref/com/sun/star/frame/XTerminateListener.html"title="link to the reference documentation of com.sun.star.frame.XTerminationListener">
<code>XTerminateListener</code></a>. It is called when [PRODUCTNAME] terminates.
Demonstrates the usage of the clipboard service by registering a clipboard listener, getting
a list of formats from the current clipboard content and copying some data to the clipboard.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/Clipboard/ClipboardListener.java"title="link to OfficeDev/Clipboard/ClipboardListener.java">ClipboardListener</a></td>
<tdwidth=80%>
Implements a clipboard listener for the Clipboard example. In such a class, actions can be
implemented which happen whenever the clipboard content changes.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/Clipboard/ClipboardOwner.java"title="link to OfficeDev/Clipboard/ClipboardOwner.java">ClipboardOwner</a></td>
<tdwidth=80%>
Implements a clipboard owner for the Clipboard example. This class is notified when it loses
ownership of the clipboard.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/Clipboard/TextTransferable.java"title="link to OfficeDev/Clipboard/TextTransferable.java">TextTransferable</a></td>
<tdwidth=80%>
Implements a data object for the Clipboard example. Such classes supply clients with data
A short example that uses most of the functionality from the [PRODUCTNAME] linguistic API.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/Linguistic/OneInstanceFactory.java"title="link to OfficeDev/Linguistic/OneInstanceFactory.java">OneInstanceFactory</a></td>
<tdwidth=80%>
This class is used to provide a service factory for the linguistic services. It enforces that
the actual implementations are only instantiated once.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/Linguistic/PropChgHelper.java"title="link to OfficeDev/Linguistic/PropChgHelper.java">PropChgHelper</a></td>
<tdwidth=80%>
The base class for several property change helpers which are used to keep track of the
changes of the service relevant linguistic properties. It is also used by the thesaurus directly.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/Linguistic/PropChgHelper_Hyph.java"title="link to OfficeDev/Linguistic/PropChgHelper_Hyph.java">PropChgHelper_Hyph</a></td>
<tdwidth=80%>
The property change helper that is tracking the hyphenation relevant properties.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/Linguistic/PropChgHelper_Spell.java"title="link to OfficeDev/Linguistic/PropChgHelper_Spell.java">
PropChgHelper_Spell</a></td>
<tdwidth=80%>
The property change helper that is tracking the spell checking relevant properties.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/Linguistic/SampleHyphenator.java"title="link to OfficeDev/Linguistic/SampleHyphenator.java">SampleHyphenator</a></td>
<tdwidth=80%>
A simple implementation for a
<ahref="../../docs/common/ref/com/sun/star/linguistic2/Hyphenator.html"title="link to the reference documentation of com.sun.star.linguistic2.Hypenator">
<code>Hyphenator</code></a> service.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/Linguistic/SampleSpellChecker.java"title="link to OfficeDev/Linguistic/SampleSpellChecker.java">SampleSpellChecker</a></td>
<tdwidth=80%>
A simple implementation for a
<ahref="../../docs/common/ref/com/sun/star/linguistic2/SpellChecker.html"title="link to the reference documentation of com.sun.star.linguistic2.SpellChecker">
<code>SpellChecker</code></a> service.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/Linguistic/SampleThesaurus.java"title="link to OfficeDev/Linguistic/SampleThesaurus.java">SampleThesaurus</a></td>
<tdwidth=80%>
A simple implementation for a
<ahref="../../docs/common/ref/com/sun/star/linguistic2/Thesaurus.html"title="link to the reference documentation of com.sun.star.linguistic2.Thesaurus">
<code>Thesaurus</code></a> service.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/Linguistic/XHyphenatedWord_impl.java"title="link to OfficeDev/Linguistic/XHyphenatedWord_impl.java">
XHyphenatedWord_impl</a></td>
<tdwidth=80%>
An object implementing the
<ahref="../../docs/common/ref/com/sun/star/linguistic2/XHyphenatedWord.html"title="link to the reference documentation of com.sun.star.linguistic2/XHyphenatedWord">
<code>XHyphenatedWord</code></a> interface. An instance of this type may be returned by
the hyphenator.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/Linguistic/XMeaning_impl.java"title="link to OfficeDev/Linguistic/XMeaning_impl.java">XMeaning_impl</a></td>
<tdwidth=80%>
An object implementing the
<ahref="../../docs/common/ref/com/sun/star/linguistic2/XMeaning.html"title="link to the reference documentation of com.sun.star.linguistic2.XMeaning">
<code>XMeaning</code></a> interface. An instance of this type may be returned by the thesaurus.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/Linguistic/XPossibleHyphens_impl.java"title="link to OfficeDev/Linguistic/XPossibleHyphens_impl.java">
XPossibleHyphens_impl</a></td>
<tdwidth=80%>
An object implementing the
<ahref="../../docs/common/ref/com/sun/star/linguistic2/XPossibleHyphens.html"title="link to the reference documentation of com.sun.star.linguistic2.XPossibleHyphens">
<code>XPossibleHyphens</code></a> interface. An instance of this type may be returned by
the hyphenator.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeDev/Linguistic/XSpellAlternatives_impl.java"title="link to OfficeDev/Linguistic/XSpellAlternatives_impl.java">
XSpellAlternatives_impl</a></td>
<tdwidth=80%>
An object implementing the
<ahref="../../docs/common/ref/com/sun/star/linguistic2/XSpellAlternatives.html"title="link to the reference documentation of com.sun.star.linguistic2.XSpellAlternatives">
<code>XSpellAlternatives</code></a> interface. An instance of this type may be returned
<tdwidth=20%><ahref="./OfficeDev/PathSettings/PathSettingsTest.java"title="link to OfficeDev/PathSettings/PathSettingsTest.java">
PathsettingsTest</a></td>
<tdwidth=80%>
This code example creates the service "com.sun.star.util.PathSettings" and retrieves all path properties from it.
It shows how a developer can change the path properties using the
<ahref="../../docs/common/ref/com/sun/star/beans/XPropertySet.html"title="link to the reference documentation of com.sun.star.beans.XPropertySet"><code>XPropertySet</code></a> interface.
<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
<tdwidth=20%><ahref="./Spreadsheet/ExampleAddIn.java"title="link to Spreadsheet/ExampleAddIn.java">ExampleAddIn</a></td>
<tdwidth=80%>
Implements a simple add-in component for spreadsheet documents. This component needs to be
deployed before it can be used.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Spreadsheet/ExampleDataPilotSource.java"title="link to Spreadsheet/ExampleDataPilotSource.java">ExampleDataPilotSource</a></td>
<tdwidth=80%>
Shows usage of a wide variety of spreadsheet interfaces like
<ahref="../../docs/common/ref/com/sun/star/sheet/XCellRangeData.html"title="link to the reference documentation of com.sun.star.sheet.XCellRangeData">
<code>XCellRangeData</code></a>,
<ahref="../../docs/common/ref/com/sun/star/sheet/XCellSeries.html"title="link to the reference documentation of com.sun.star.sheet.XCellSeries">
<code>XCellSeries</code></a>,
<ahref="../../docs/common/ref/com/sun/star/sheet/XArrayFormulaRange.html"title="link to the reference documentation of com.sun.star.sheet.XArrayFormularRange">
<code>XArrayFormulaRange
</code></a> and <ahref="../../docs/common/ref/com/sun/star/sheet/XMultipleOperation.html"title="link to the reference documentation of com.sun.star.sheet.XMultipleOperation"><code>
XMultipleOperations</code></a> as well as named ranges, label ranges and data pilot.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Spreadsheet/GeneralTableSample.java"title="link to Spreadsheet/GeneralTableSample.java">
<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
<tdwidth=20%><ahref="./OfficeBean/OfficeCommand.java"title="link to OfficeBean/OfficeCommand.java">OfficeCommand</a></td>
<tdwidth=80%>
A helper class to send UI events (see
<ahref="../../docs/common/ref/com/sun/star/frame/XDispatch.html"title="link to the reference documentation of com.sun.star.frame.XDispatch">
<code>XDispatch</code></a>) to [PRODUCTNAME].
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeBean/BasicOfficeBean.java"title="link to OfficeBean/BasicOfficeBean.java">BasicOfficeBean</a></td>
<tdwidth=80%>
Shows a JavaBean which can contain arbitrary [PRODUCTNAME] documents.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeBean/BeanInfoAdapter.java"title="link to OfficeBean/BeanInfoAdapter.java">BeanInfoAdapter</a></td>
<tdwidth=80%>
Implements a helper class to make it easier to create BeanInfo classes.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeBean/SimpleBean/SimpleBean.java"title="link to OfficeBean/SimpleBean/SimpleBean.java">SimpleBean</a></td>
<tdwidth=80%>
Extends the <code>BasicOfficeBean</code> by a method to show and hide the menu bar.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeBean/SimpleBean/SimpleBeanBeanInfo.java"title="link to OfficeBean/SimpleBean/SimpleBeanBeanInfo.java">SimpleBeanBeanInfo</a></td>
<tdwidth=80%>
Implements BeanInfo for the <code>SimpleBean</code> example.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeBean/SimpleBean/SimpleViewer.java"title="link to OfficeBean/SimpleBean/SimpleViewer.java">
Demonstrates a JavaBean with which arbitrary [PRODUCTNAME] documents can be viewed.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeBean/OfficeWriterBean/Office.java"title="link to OfficeBean/OfficeWriterBean/Office.java">Office</a></td>
<tdwidth=80%>
A generic base class for the <code>OfficeWrite</code> JavaBean example. This class could
be used as a base class for other specialized JavaBeans too.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeBean/OfficeWriterBean/OfficeBeanInfo.java"title="link to OfficeBean/OfficeWriterBean/OfficeBeanInfo.java">OfficeBeanInfo</a></td>
<tdwidth=80%>
Example implementation of a BeanInfo object for an office JavaBean.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeBean/OfficeWriterBean/OfficeWriter.java"title="link to OfficeBean/OfficeWriterBean/OfficeWriter.java">OfficeWriter</a></td>
<tdwidth=80%>
Demonstrates how an specialized JavaBean can look like. This example is for the text
document component.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./OfficeBean/OfficeWriterBean/OfficeWriterBeanInfo.java"title="link to OfficeBean/OfficeWriterBean/OfficeWriterBeanInfo.java">
OfficeWriterBeanInfo</a></td>
<tdwidth=80%>
Implementation of the BeanInfo for the OficeWriter JavaBean example.
<p><fontsize="5"><b><aname="Drawing">Drawing and Presentation Documents examples</a></b></font>
<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
<p><fontsize="5"><b><aname="BasicandDialogs">[PRODUCTNAME] Basic and Dialogs examples</a></b></font>
<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
<tdwidth=20%><ahref="./BasicAndDialogs/FirstStepsBasic.sxw"title="link to BasicAndDialogs/FirstStepsBasic.sxw">FirstStepsBasic.sxw</a></td>
<tdwidth=80%>
This StarBasc example shows how to create an own dialog which inserts a graphics object
into a text document.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./BasicAndDialogs/CreatingDialogs/SampleDialog.java"title="link to BasicAndDialogs/CreatingDialogs/SampleDialog.java">SampleDialog</a></td>
<tdwidth=80%>
This example builds a Java component which creates a simple dialog.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./BasicAndDialogs/CreatingDialogs/CreatingDialogs.sxw"title="link to BasicAndDialogs/CreatingDialogs/CreatingDialogs.sxw">
CreatingDialogs.sxw</a></td>
<tdwidth=80%>
This document contains a simple Basic macro which loads the SampleDialog component. The
macro will be executed by pressing a Push button.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./BasicAndDialogs/ToolkitControls"title="link to BasicAndDialogs/ToolkitControls">
ToolkitControls</a></td>
<tdwidth=80%>
In this directory you find a Basic library which implements several examples using
toolkit controls. You can install this Basic library in the internal Basic IDE.
<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
</p>
The Database examples use a SQL database named "MYDB0" with write access. Make sure that
you have a data source operating on such a database in your office before you run the example.
Demonstrates the use of <ahref="../../docs/common/ref/com/sun/star/sdbc/XResultSetUpdate.html"title="link to the reference documentation of com.sun.star.sdbc.XResultSetUpdate">
<code>XResultSetUpdate
</code></a> and <ahref="../../docs/common/ref/com/sun/star/sdbc/XRowUpdate.html"title="link to the reference documentation of com.sun.star.sdbc.XRowUpdate">
<code>XRowUpdate</code></a>.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/RowSet.java"title="link to Database/RowSet.java">
<tdwidth=20%><ahref="./Database/DriverSkeleton/OSubComponent.hxx"title="link to Database/DriverSkeleton/OSubComponent.hxx">OSubComponent.hxx</a></td>
<tdwidth=80%>
Helper class to delegate special dispose handling.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/OTypeInfo.hxx"title="link to Database/DriverSkeleton/OTypeInfo.hxx">OTypeInfo.hxx</a></td>
<tdwidth=80%>
Contains the database types from the DatabaseMetaData getTypes call.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SConnection.hxx"title="link to Database/DriverSkeleton/SConnection.hxx">SConnection.hxx</a></td>
<tdwidth=80%>
This file contains the declaration of a class implementing the service
com.sun.star.sdbc.Connection.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SConnection.cxx"title="link to Database/DriverSkeleton/SConnection.cxx">SConnection.cxx</a></td>
<tdwidth=80%>
This file contains the implementation of the class declared in SConnection.hxx.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SDatabaseMetaData.hxx"title="link to Database/DriverSkeleton/SDatabaseMetaData.hxx">SDatabaseMetaData.hxx</a></td>
<tdwidth=80%>
This file contains the declaration of a class implementing the interface
com.sun.star.sdbc.XDatabaseMetaData.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SDatabaseMetaData.cxx"title="link to Database/DriverSkeleton/SDatabaseMetaData.cxx">SDatabaseMetaData.cxx</a></td>
<tdwidth=80%>
This file contains the implementation of the class declared in SDatabaseMetaData.hxx.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SDriver.hxx"title="link to Database/DriverSkeleton/SDriver.hxx">SDriver.hxx</a></td>
<tdwidth=80%>
This file contains the declaration of a class implementing the service
com.sun.star.sdbc.Driver.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SDriver.cxx"title="link to Database/DriverSkeleton/SDriver.cxx">SDriver.cxx</a></td>
<tdwidth=80%>
This file contains the implementation of the class declared in SDriver.hxx.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SPreparedStatement.hxx"title="link to Database/DriverSkeleton/SPreparedStatement.hxx">SPreparedStatement.hxx</a></td>
<tdwidth=80%>
This file contains the declaration of a class implementing the service
com.sun.star.sdbc.PreparedStatement.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SPreparedStatement.cxx"title="link to Database/DriverSkeleton/SPreparedStatement.cxx">SPreparedStatement.cxx</a></td>
<tdwidth=80%>
This file contains the implementation of the class declared in SPreparedStatement.hxx.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SResultSet.hxx"title="link to Database/DriverSkeleton/SResultSet.hxx">SResultSet.hxx</a></td>
<tdwidth=80%>
This file contains the declaration of a class implementing the service
com.sun.star.sdbc.ResultSet.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SResultSet.cxx"title="link to Database/DriverSkeleton/SResultSet.cxx">SResultSet.cxx</a></td>
<tdwidth=80%>
This file contains the implementation of the class declared in SResultSet.hxx.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SResultSetMetaData.hxx"title="link to Database/DriverSkeleton/SResultSetMetaData.hxx">SResultSetMetaData.hxx</a></td>
<tdwidth=80%>
This file contains the declaration of a class implementing the interface
com.sun.star.sdbc.XResultSetMetaData.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SResultSetMetaData.cxx"title="link to Database/DriverSkeleton/SResultSetMetaData.cxx">SResultSetMetaData.cxx</a></td>
<tdwidth=80%>
This file contains the implementation of the class declared in SResultSetMetaData.hxx.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SServices.cxx"title="link to Database/DriverSkeleton/SServices.cxx">SServices.cxx</a></td>
<tdwidth=80%>
This file contains a class implementing the service needed to register the driver.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SStatement.hxx"title="link to Database/DriverSkeleton/SStatement.hxx">SStatement.hxx</a></td>
<tdwidth=80%>
This file contains the declaration of a class implementing the service com.sun.star.sdbc.Statement.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/SStatement.cxx"title="link to Database/DriverSkeleton/SStatement.cxx">SStatement.cxx</a></td>
<tdwidth=80%>
This file contains the implementation of the class declared in SStatement.hxx.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/propertyids.hxx"title="link to Database/DriverSkeleton/propertyids.hxx">propertyids.hxx</a></td>
<tdwidth=80%>
Defines some common used strings and declare a helper class for properties.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Database/DriverSkeleton/propertyids.cxx"title="link to Database/DriverSkeleton/propertyids.cxx">propertyids.cxx</a></td>
<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
</p>
<p>This example uses a SQL data source in the Office named "OO_SDK_Demo_DB" with write access. Make
sure that you have such a datasurce available in your office before you run the example.
For running the FormLayer example you should start your office with the following command:<br>
<tdwidth=20%><ahref="./Forms/ButtonOperator.java"title="link to Forms/ButtonOperator.java">ButtonOperator</a></td>
<tdwidth=80%>
The form created by the sample program contains various buttons which are tied to certain
functionality. The class ButtonOperator, well, operates these buttons.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Forms/ComponentTreeTraversal.java"title="link to Forms/ComponentTreeTraversal.java">ComponentTreeTraversal</a></td>
<tdwidth=80%>
Helper classes for traveling through a tree of
<ahref="../../docs/common/ref/com/sun/star/form/FormComponent.html"title="link to the reference documentation of com.sun.star.form.FormComponent"><code>
FormComponent's</code></a>.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Forms/ControlLock.java"title="link to Forms/ControlLock.java">ControlLock</a></td>
<tdwidth=80%>
Helper class for implementing the locking of control depending on the state of the underlying
<ahref="../../docs/common/ref/com/sun/star/sdb/RowSet.html"title="link to the reference documentation of com.sun.star.sdb.RowSet"><code>RowSet</code></a>.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Forms/DocumentHelper.java"title="link to Forms/DocumentHelper.java">DocumentHelper</a></td>
<tdwidth=80%>
Helper class for encapsulating working with a (logical) form document.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Forms/DocumentType.java"title="link to Forms/DocumentType.java">DocumentType</a></td>
<tdwidth=80%>
A simple enumeration class for classifying a document.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Forms/DocumentViewHelper.java"title="link to Forms/DocumentViewHelper.java">DocumentViewHelper</a></td>
<tdwidth=80%>
Helper class for encapsulating working with a view for a form document.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Forms/FLTools.java"title="link to Forms/FLTools.java">FLTools</a></td>
<tdwidth=80%>
Various small tools for the form layer sample program.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Forms/FormLayer.java"title="link to Forms/FormLayer.java">
Main class for central form operation. Two tables will be created and a form (writer document)
with a bussiness example will fill it fields from these tables.
</tr>
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Forms/GridFieldValidator.java"title="link to Forms/GridFieldValidator.java">GridFieldValidator</a></td>
<tdwidth=80%>
<code>GridFieldValidator</code> is responsible for validating the input in a specific grid
control column.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Forms/InteractionRequest.java"title="link to Forms/InteractionRequest.java">InteractionRequest</a></td>
<tdwidth=80%>
A simple implementation of a
<ahref="../../docs/common/ref/com/sun/star/task/XInteractionRequest.html"title="link to the reference documentation of com.sun.star.task.XInteractionRequest">
<code>XInteractionRequest</code></a>. Not tied to the form layer example, but a general helper.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Forms/KeyGenerator.java"title="link to Forms/KeyGenerator.java">KeyGenerator</a></td>
<tdwidth=80%>
Helper class which is able to generate (unique) keys for a
(<ahref="../../docs/common/ref/com/sun/star/sdb/RowSet.html"title="link to the reference documentation of com.sun.star.sdb.RowSet"><code>RowSet</code></a>) column.
An instance of this class can be tied to a specific row set column. It then monitors the state
of the underlying row set, and upon inserting a new record into it (two operation modi are
possible here), it automatically inserts a newly created (two modi, too) key into the column.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Forms/SalesFilter.java"title="link to Forms/SalesFilter.java">SalesFilter</a></td>
<tdwidth=80%>
Helper class operating the on-the-fly filter control in the sample document. The document
contains several controls which can be used to interactively change the filter of the form.
The class <code>SalesFilter</code> operates these controls.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Forms/UNO.java"title="link to Forms/UNO.java">UNO</a></td>
<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
<ahref="../../index.html"title="link to the SDK start page">SDK home</a> <ahref="#examples"title="link to the examples overview">examples overview</a>
<tdwidth=20%><ahref="./Accessibility/ConnectionTask.java"title="link to Accessibility/ConnectionTask.java">ConnectionTask</a></td>
<tdwidth=80%>
A timer task that tries to (re-)connect to a running Office application. When it can not detect
an Office application that accepts connections then it waits for some time and tries again.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Accessibility/EventHandler.java"title="link to Accessibility/EventHandler.java">EventHandler</a></td>
<tdwidth=80%>
Handle all events that are used by this tool. It is called by the EventListenerProxy class
with somewhat preprocessed events.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Accessibility/EventListenerProxy.java"title="link to Accessibility/EventListenerProxy.java">EventListenerProxy</a></td>
<tdwidth=80%>
This proxy runs in its own thread to avoid deadlocks with the Office it listens to. It waits
for top window events to be informed of new or removed top level windows and for some
accessibility events that are relevant to display the currently focused object.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Accessibility/GraphicalDisplay.java"title="link to Accessibility/GraphicalDisplay.java">GraphicalDisplay</a></td>
<tdwidth=80%>
This widget displays a graphical representation of the currently focused object. The focused
object is painted as a green rectangle and its ancestors as gray rectangles to give an impression
of the relative location of the objects.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Accessibility/IAccessibleObjectDisplay.java"title="link to Accessibility/IAccessibleObjectDisplay.java">IAccessibleObjectDisplay</a></td>
<tdwidth=80%>
This interface is implemented by all classes that display the currently focused object, namely
GraphicalDisplay and TextualDisplay. It allows the owner of the display classes to tell them to
display a specific object: usually the focused object.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Accessibility/MessageArea.java"title="link to Accessibility/MessageArea.java">MessageArea</a></td>
<tdwidth=80%>
A text area that shows messages about what the tools is currently doing.
</td>
</tr>
<tr>
<tdwidth=20%><ahref="./Accessibility/NameProvider.java"title="link to Accessibility/NameProvider.java">