<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Uncleop</id>
	<title>Apache OpenOffice Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Uncleop"/>
	<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/wiki/Special:Contributions/Uncleop"/>
	<updated>2026-11-28T08:20:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/JavaBean/Using_the_OOoBean&amp;diff=126655</id>
		<title>Documentation/DevGuide/JavaBean/Using the OOoBean</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/JavaBean/Using_the_OOoBean&amp;diff=126655"/>
		<updated>2009-05-14T20:40:10Z</updated>

		<summary type="html">&lt;p&gt;Uncleop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/JavaBeanTOC&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/JavaBean/JavaBean for Office Components&lt;br /&gt;
|NextPage=Documentation/DevGuide/JavaBean/The OOoBean by Example&lt;br /&gt;
}}&lt;br /&gt;
{{DISPLAYTITLE:Using the OOoBean}}&lt;br /&gt;
The Java class &amp;lt;code&amp;gt;OOoBean&amp;lt;/code&amp;gt; can be instantiated directly, or application classes can be derived from this class. If a real Java Bean is to be created, which for example can be used in Java Bean UI builders, it has to be subclassed. The application class then might use the UNO bootstrapping mechanism to find the &amp;lt;code&amp;gt;OOoBean&amp;lt;/code&amp;gt;, {{PRODUCTNAME}} and its API classes. This mechanism is not built into &amp;lt;code&amp;gt;OOoBean&amp;lt;/code&amp;gt; itself because it can not be used to find itself. And once the &amp;lt;code&amp;gt;OOoBean&amp;lt;/code&amp;gt; class has been found, you intrinsically also find the {{PRODUCTNAME}} installation and the API classes.&lt;br /&gt;
&lt;br /&gt;
A standard {{PRODUCTNAME}} is a prerequisite. The {{PRODUCTNAME}} executable, as well as the UNO libraries and runtime, is found using the Java Class Loader. Moving or copying the needed class files will not result in a working &amp;lt;code&amp;gt;OOoBean&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution|Since the Office Bean uses a native peer to render {{PRODUCTNAME}} documents, Swing components, such as drop-down menus or list boxes appear behind it, or they are not displayed at all. One way to avoid this is by exclusively employing AWT components when using the Office Bean. Another, but only partial, solution is to tell Java Swing to create heavy weight windows for popup menus: &amp;lt;tt&amp;gt;JPopupMenu.setDefaultLightWeightPopupEnabled&amp;lt;/tt&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
{{PDL1}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Developer&amp;#039;s Guide/JavaBean for Office Components]]&lt;/div&gt;</summary>
		<author><name>Uncleop</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/Database/Database_Access&amp;diff=126654</id>
		<title>Documentation/DevGuide/Database/Database Access</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/Database/Database_Access&amp;diff=126654"/>
		<updated>2009-05-14T20:29:21Z</updated>

		<summary type="html">&lt;p&gt;Uncleop: /* Platform Independence */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/DatabaseTOC&lt;br /&gt;
|Database2a=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/Basic/Library Deployment&lt;br /&gt;
|NextPage=Documentation/DevGuide/Database/Architecture&lt;br /&gt;
}}&lt;br /&gt;
[[zh:Zh/Documentation/DevGuide/Database/Database Access]]&lt;br /&gt;
{{DISPLAYTITLE:Database Access}}&lt;br /&gt;
{{Download Collection|MediaWiki:Collections/Developer&amp;#039;s Guide - Database Access}}&lt;br /&gt;
=== Platform Independence ===&lt;br /&gt;
&lt;br /&gt;
The goal of the {{PRODUCTNAME}} API database integration is to provide platform independent database connectivity for {{PRODUCTNAME}} API. While it is necessary to access database abstraction layers, such as JDBC and ODBC, it is also desirable to have direct access to arbitrary data sources, if required.&lt;br /&gt;
&lt;br /&gt;
The {{PRODUCTNAME}} API database integration reaches this goal through an abstraction above the abstractions with the Star Database Connectivity (SDBC). SDBC accesses data through SDBC drivers. Each SDBC driver knows how to get data from a particular source. Some drivers handle files themselves, others use a standard driver model, or existing drivers to retrieve data. The concept makes it possible to integrate database connectivity for MAPI address books, LDAP directories and {{PRODUCTNAME}} Calc into the current version of {{PRODUCTNAME}} API.&lt;br /&gt;
&lt;br /&gt;
Since SDBC drivers are UNO components, it is possible to write drivers for data sources and thus extend the database connectivity of {{PRODUCTNAME}} API.&lt;br /&gt;
&lt;br /&gt;
=== Functioning of the {{PRODUCTNAME}} API Database Integration ===&lt;br /&gt;
&lt;br /&gt;
The {{PRODUCTNAME}} API database integration is based on SQL. This section discusses how the {{PRODUCTNAME}} API handles various SQL dialects and how it integrates with data sources that do not understand SQL.&lt;br /&gt;
&lt;br /&gt;
{{PRODUCTNAME}} API has a built-in parser that tests and adjusts the syntax to be standard SQL. With the parser, differences between SQL dialects, such as case sensitivity, can be handled if the query composer is used. Data sources that do not understand SQL can be treated by an SDBC driver that is a database engine of its own, which translates from standard SQL to the mechanisms needed to read and write data using a non-SQL data source.&lt;br /&gt;
&lt;br /&gt;
=== Integration with {{PRODUCTNAME}} API ===&lt;br /&gt;
&lt;br /&gt;
{{PRODUCTNAME}} API employs SDBC data sources in Writer, Calc and Database Forms. In Writer, use form letter fields to access database tables, create email form letters, and drag tables and queries into a document to create tables or lists. &lt;br /&gt;
&lt;br /&gt;
If a table is dragged into a Calc spreadsheet, the database range that can be updated from the database, and data pilots can be created from database connections. Conversely, drag a spreadsheet range onto a database to import the spreadsheet data into a database. &lt;br /&gt;
&lt;br /&gt;
Another area of database connectivity are database forms. Form controls can be inserted into Writer or Calc documents, or just created in the database file with Base, to connect them to database tables to get data aware forms.&lt;br /&gt;
&lt;br /&gt;
While there is no API coverage for direct database integration in Writer, the database connectivity in Calc and Database Forms can be controlled through the API. Refer to the corresponding chapters [[Documentation/DevGuide/Spreadsheets/Database Operations|Database operations]] and [[Documentation/DevGuide/Forms/Forms|Forms]] for more information. In Writer, database connectivity can be implemented by application programmers, for example, by accessing text field context. No API exists for merging complete selections into text.&lt;br /&gt;
&lt;br /&gt;
Using the {{PRODUCTNAME}} API database integration enhances or automates the out-of-box database integration, creates customized office documents from databases, or provides simple, platform-independent database clients in the {{PRODUCTNAME}} API environment.&lt;br /&gt;
&lt;br /&gt;
{{PDL1}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Developer&amp;#039;s Guide/Database Access]]&lt;/div&gt;</summary>
		<author><name>Uncleop</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Talk:Documentation/DevGuide/OfficeDev/Writing_the_Filtering_Component&amp;diff=126015</id>
		<title>Talk:Documentation/DevGuide/OfficeDev/Writing the Filtering Component</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Talk:Documentation/DevGuide/OfficeDev/Writing_the_Filtering_Component&amp;diff=126015"/>
		<updated>2009-05-13T14:21:30Z</updated>

		<summary type="html">&lt;p&gt;Uncleop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The end-note says there are helper classes, but both are named &amp;quot;com.sun.star.lib.uno.adapter.XInputStreamToInputStreamAdapter&amp;quot;.  Should one of them be &amp;quot;com.sun.star.lib.uno.adapter.XOutputStreamToOutputStreamAdapter&amp;quot; instead?  Or is there some other name? [[User:Uncleop|Uncleop]] 13:36, 13 May 2009 (UTC)&lt;br /&gt;
* OK, I looked at my OOo DEV300.m43 source tree and confirmed I could fix as suggested, so I did. [[User:Uncleop|Uncleop]] 14:21, 13 May 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Uncleop</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Talk:Documentation/DevGuide/OfficeDev/Document_API_Filter_Development&amp;diff=126014</id>
		<title>Talk:Documentation/DevGuide/OfficeDev/Document API Filter Development</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Talk:Documentation/DevGuide/OfficeDev/Document_API_Filter_Development&amp;diff=126014"/>
		<updated>2009-05-13T14:16:19Z</updated>

		<summary type="html">&lt;p&gt;Uncleop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The revision of this page *after* &amp;quot;Revision as of 05:14, 30 September 2008 by Mba&amp;quot; seems to be empty but for the navigation aid.  Was this intentional? The older page is familiar; if this page is redundant, shouldn&amp;#039;t it just be removed? [[User:Uncleop|Uncleop]] 14:16, 13 May 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Uncleop</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/Writing_the_Filtering_Component&amp;diff=126012</id>
		<title>Documentation/DevGuide/OfficeDev/Writing the Filtering Component</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/Writing_the_Filtering_Component&amp;diff=126012"/>
		<updated>2009-05-13T14:11:18Z</updated>

		<summary type="html">&lt;p&gt;Uncleop: typo fix; todo: add links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/OfficeDevTOC&lt;br /&gt;
|OfficeDev2b=block&lt;br /&gt;
|OfficeDevInteg=block&lt;br /&gt;
|OfficeDevXMLFilter=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/OfficeDev/XML Based Filter Development&lt;br /&gt;
|NextPage=Documentation/DevGuide/OfficeDev/The Importer&lt;br /&gt;
}}&lt;br /&gt;
{{Documentation/DevGuideLanguages|Documentation/DevGuide/OfficeDev/{{SUBPAGENAME}}}} &lt;br /&gt;
 {{DISPLAYTITLE:Writing the Filtering Component}}&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.xml.ImportFilter;com.sun.star.xml.ExportFilter;com.sun.star.xml.XMLImportFilter;com.sun.star.xml.XMLImportFilter;com.sun.star.xml.sax.XDocumentHandler&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
The filtering component must implement the following interfaces as described by the &amp;lt;idl&amp;gt;com.sun.star.xml.ImportFilter&amp;lt;/idl&amp;gt; service and the &amp;lt;idl&amp;gt;com.sun.star.xml.ExportFilter&amp;lt;/idl&amp;gt; service:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Importer:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;idl&amp;gt;com.sun.star.xml.XMLImportFilter&amp;lt;/idl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Exporter:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;idl&amp;gt;com.sun.star.xml.XMLExportFilter&amp;lt;/idl&amp;gt; and &amp;lt;idl&amp;gt;com.sun.star.xml.sax.XDocumentHandler&amp;lt;/idl&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== XImportFilter ===&lt;br /&gt;
&lt;br /&gt;
The service &amp;lt;idl&amp;gt;com.sun.star.xml.XMLImportFilter&amp;lt;/idl&amp;gt; defines an interface with the following method:&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
  boolean importer(&lt;br /&gt;
  [in] sequence&amp;lt; com::sun::star::beans::PropertyValue &amp;gt; aSourceData,&lt;br /&gt;
  [in] com::sun::star::xml::sax::XDocumentHandler xDocHandler,&lt;br /&gt;
  [in] sequence&amp;lt; string &amp;gt; msUserData )&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;aSourceData&amp;lt;/code&amp;gt; is a &amp;lt;code&amp;gt;MediaDescriptor&amp;lt;/code&amp;gt;, which can be used to obtain the following information:&lt;br /&gt;
&lt;br /&gt;
* An &amp;lt;code&amp;gt;XInputStream&amp;lt;/code&amp;gt; &lt;br /&gt;
:This is a stream that is attached to the source to be read. This can be a file, or some other data source.&lt;br /&gt;
* &amp;lt;code&amp;gt;Filename&amp;lt;/code&amp;gt;&lt;br /&gt;
:This is the name of the file on the disk, that the input stream comes from.&lt;br /&gt;
* &amp;lt;code&amp;gt;Url&amp;lt;/code&amp;gt;&lt;br /&gt;
:This is a url describing the location being read.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;xDocHandler&amp;lt;/code&amp;gt; is a SAX event handler that can be used when parsing an &amp;lt;code&amp;gt;XInputStream&amp;lt;/code&amp;gt;, which may or may not contain {{PRODUCTNAME}} XML. Before this stream can be read by {{PRODUCTNAME}}, it will need to be transformed into {{PRODUCTNAME}} XML. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;msUserData&amp;lt;/code&amp;gt; is an array of &amp;lt;code&amp;gt;Strings&amp;lt;/code&amp;gt;, that contains the information supplied in the &amp;lt;code&amp;gt;UserData&amp;lt;/code&amp;gt; section of the &amp;lt;code&amp;gt;Filter&amp;lt;/code&amp;gt; definition in the &amp;#039;&amp;#039;TypeDetection.xcu&amp;#039;&amp;#039; file. &lt;br /&gt;
&lt;br /&gt;
=== XExportFilter ===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;idl&amp;gt;com.sun.star.xml.XExportFilter&amp;lt;/idl&amp;gt; defines an interface with the following method:&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
  boolean exporter( &lt;br /&gt;
  [in] sequence&amp;lt; com::sun::star::beans::PropertyValue &amp;gt; aSourceData,&lt;br /&gt;
  [in] sequence&amp;lt; string &amp;gt; msUserData )&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;aSourceData&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;msUserData&amp;lt;/code&amp;gt; contain the same type of information as in the importer, except that the &amp;lt;code&amp;gt;MediaDescriptor&amp;lt;/code&amp;gt; contains an &amp;lt;code&amp;gt;XOutputStream&amp;lt;/code&amp;gt;, which can be used to write to. &lt;br /&gt;
&lt;br /&gt;
=== XDocumentHandler ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.xml.sax.XDocumentHandler&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
When the export takes place, the new Filtering component must also be an &amp;lt;code&amp;gt;XDocumentHandler&amp;lt;/code&amp;gt;, to allow the output based on SAX events to be filtered, if required. For this reason, an &amp;lt;code&amp;gt;XDocumentHandler&amp;lt;/code&amp;gt; is not passed to the exporter, and any exporter that is used by the XML filter adaptor must implement the &amp;lt;idl&amp;gt;com.sun.star.xml.sax.XDocumentHandler&amp;lt;/idl&amp;gt; interface.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note| In order for Java based components to operate effectively, a set of wrapper classes have been added to the &amp;#039;&amp;#039;javaunohelper&amp;#039;&amp;#039; package. These files allow for an XInputStream or an XOutputStream to be accessed using the same methods as a normal Java InputStream or OutputStream. These classes are located in the &amp;#039;&amp;#039;javaunohelper&amp;#039;&amp;#039; package at &lt;br /&gt;
&lt;br /&gt;
* com.sun.star.lib.uno.adapter.XInputStreamToInputStreamAdapter &lt;br /&gt;
* com.sun.star.lib.uno.adapter.XOutputStreamToOutputStreamAdapter &lt;br /&gt;
&lt;br /&gt;
For more information on the use of these helper classes, see the flatxmljava example.}}&lt;br /&gt;
&lt;br /&gt;
{{PDL1}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Developer&amp;#039;s Guide/Office Development]]&lt;/div&gt;</summary>
		<author><name>Uncleop</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Talk:Documentation/DevGuide/OfficeDev/Writing_the_Filtering_Component&amp;diff=126004</id>
		<title>Talk:Documentation/DevGuide/OfficeDev/Writing the Filtering Component</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Talk:Documentation/DevGuide/OfficeDev/Writing_the_Filtering_Component&amp;diff=126004"/>
		<updated>2009-05-13T13:36:26Z</updated>

		<summary type="html">&lt;p&gt;Uncleop: New page: The end-note says there are helper classes, but both are named &amp;quot;com.sun.star.lib.uno.adapter.XInputStreamToInputStreamAdapter&amp;quot;.  Should one of them be &amp;quot;com.sun.star.lib.uno.adapter.XOutput...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The end-note says there are helper classes, but both are named &amp;quot;com.sun.star.lib.uno.adapter.XInputStreamToInputStreamAdapter&amp;quot;.  Should one of them be &amp;quot;com.sun.star.lib.uno.adapter.XOutputStreamToOutputStreamAdapter&amp;quot; instead?  Or is there some other name? [[User:Uncleop|Uncleop]] 13:36, 13 May 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Uncleop</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Talk:Documentation/DevGuide/OfficeDev/Document_API_Filter_Development&amp;diff=125567</id>
		<title>Talk:Documentation/DevGuide/OfficeDev/Document API Filter Development</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Talk:Documentation/DevGuide/OfficeDev/Document_API_Filter_Development&amp;diff=125567"/>
		<updated>2009-05-12T21:07:39Z</updated>

		<summary type="html">&lt;p&gt;Uncleop: questioning empty page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The revision of this page *after* &amp;quot;Revision as of 05:14, 30 September 2008 by Mba&amp;quot; seems to be empty but for the navigation aid.  Was this intentional? The older page is familiar; if this page is redundant, shouldn&amp;#039;t it just be removed?&lt;/div&gt;</summary>
		<author><name>Uncleop</name></author>
	</entry>
</feed>