<?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=Mst</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=Mst"/>
	<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/wiki/Special:Contributions/Mst"/>
	<updated>2026-11-23T12:51:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide/Building_on_Solaris&amp;diff=197230</id>
		<title>Documentation/Building Guide/Building on Solaris</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide/Building_on_Solaris&amp;diff=197230"/>
		<updated>2011-07-15T09:35:41Z</updated>

		<summary type="html">&lt;p&gt;Mst: /* Software Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/Building Guide TOC&lt;br /&gt;
|ShowNextPage=none&lt;br /&gt;
|ShowPrevPage=none&lt;br /&gt;
}}&lt;br /&gt;
{{DISPLAYTITLE:Building on Solaris}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
This document describes building OpenOffice.org on Solaris.&lt;br /&gt;
&lt;br /&gt;
= Requirements =&lt;br /&gt;
== Hardware Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Solaris/x86: one or more reasonable fast CPUs, x-way CPU&amp;#039;s recommended.&lt;br /&gt;
* Solaris/Sparc: UltraSparc III&lt;br /&gt;
* 2 GB RAM&lt;br /&gt;
* 10 GB free disk space&lt;br /&gt;
* if you don&amp;#039;t have a lot of RAM (less than 4GB?) set TMPDIR to a directory that is not on tmpfs&lt;br /&gt;
&lt;br /&gt;
== Software Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Solaris 10, OpenSolaris 2008.5 or higher, Solaris 11 Express&lt;br /&gt;
* C/C++ Compiler: SunStudio 8, SunStudio 10 - SunStudio 12, SunStudio Express, newer compilers will likely work but may require a little tweaking (but rumor has it that 12update1 breaks on some boost stuff)&lt;br /&gt;
* the new build system currently only supports SunStudio 12, so older versions won&amp;#039;t work on current DEV300/OOO340.&lt;br /&gt;
&lt;br /&gt;
= Solaris 11 Express =&lt;br /&gt;
&lt;br /&gt;
This section describes building on version &amp;lt;code&amp;gt;snv_151a&amp;lt;/code&amp;gt;.&lt;br /&gt;
Note that only DEV300_m106 or newer contains the necessary fixes in the OOo code.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
You need to &amp;lt;code&amp;gt;pkg install&amp;lt;/code&amp;gt; at least the following additional packages:&lt;br /&gt;
* mercurial (to get at the source code)&lt;br /&gt;
* system/header&lt;br /&gt;
* header-math&lt;br /&gt;
* developer/java/jdk&lt;br /&gt;
* developer/java/junit&lt;br /&gt;
* developer/build/ant&lt;br /&gt;
* developer/gperf&lt;br /&gt;
* developer/gnome/gettext&lt;br /&gt;
* developer/parser/bison&lt;br /&gt;
* developer/lexer/flex&lt;br /&gt;
&lt;br /&gt;
The only dependencies that are not in the Solaris Express repository are the SunStudio compiler and the Perl module &amp;lt;code&amp;gt;Archive::Zip&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To install the Perl module, use CPAN (i&amp;#039;m afraid you need to su to root to do this):&lt;br /&gt;
&lt;br /&gt;
  # PATH=/path/to/sunstudio/SUNWspro/bin:$PATH /usr/perl5/bin/perl -MCPAN -e &amp;#039;shell&amp;#039;&lt;br /&gt;
  cpan&amp;gt; install Archive::Zip&lt;br /&gt;
  cpan&amp;gt; exit&lt;br /&gt;
&lt;br /&gt;
== Building OOo ==&lt;br /&gt;
&lt;br /&gt;
It is necessary to put SunStudio on the path, otherwise the build will break in stlport.&lt;br /&gt;
Also, set the &amp;lt;code&amp;gt;CC&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;CXX&amp;lt;/code&amp;gt; variables.&lt;br /&gt;
&lt;br /&gt;
  PATH=/path/to/sunstudio/SUNWspro/bin:$PATH&lt;br /&gt;
  ./configure CC=/path/to/sunstudio/SUNWspro/bin/cc CXX=/path/to/sunstudio/SUNWspro/bin/CC &lt;br /&gt;
&lt;br /&gt;
Building with &amp;lt;code&amp;gt;--enable-werror&amp;lt;/code&amp;gt; should work with SunStudio 12.&lt;br /&gt;
&lt;br /&gt;
If configure runs successfully, the build should work just like on other platforms.&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[OpenSolaris Build Instructions]]&lt;br /&gt;
[[Category:Solaris]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=ApacheMigration&amp;diff=197118</id>
		<title>ApacheMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=ApacheMigration&amp;diff=197118"/>
		<updated>2011-06-20T10:04:34Z</updated>

		<summary type="html">&lt;p&gt;Mst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Classification of OOo source code ==&lt;br /&gt;
&lt;br /&gt;
[[ApacheMigration/Permissive|List]] of files where it seems that the copyright owner is not Oracle, but the license probably is compatible with the ASL &lt;br /&gt;
&lt;br /&gt;
[[ApacheMigration/GPL|List]] of files where it seems that the copyright owner is not Oracle, but the license probably is not compatible with the ASL &lt;br /&gt;
&lt;br /&gt;
All other files in the OOo code repository should have an Oracle Copyright and can be part of the software grant &lt;br /&gt;
&lt;br /&gt;
Here a list of files that need more investigation to decide in which of the three categories they belong: &lt;br /&gt;
&lt;br /&gt;
boost/Regex_Experimental.tar.gz&amp;lt;br&amp;gt;connectivity/workben/TT/StartTest.class&amp;lt;br&amp;gt;desktop/win32/source/QuickStart/OOQuickStart.rc&amp;lt;br&amp;gt;desktop/win32/source/QuickStart/StdAfx.h&amp;lt;br&amp;gt;dtrans/source/os2/clipb/OS2Bitmap.cxx&amp;lt;br&amp;gt;embedserv/source/embed/stdafx.cpp&amp;lt;br&amp;gt;embedserv/source/inc/stdafx.h&amp;lt;br&amp;gt;extensions/source/activex/main/resource.h&amp;lt;br&amp;gt;extensions/source/activex/main/so_activex.rc&amp;lt;br&amp;gt;extensions/source/activex/main/StdAfx2.cpp&amp;lt;br&amp;gt;extensions/source/activex/main/StdAfx2.h&amp;lt;br&amp;gt;extensions/source/macosx/spotlight/main.m&amp;lt;br&amp;gt;extensions/test/ole/EventListenerSample/EventListener/EventListener.rc&amp;lt;br&amp;gt;extensions/test/ole/EventListenerSample/EventListener/resource.h&amp;lt;br&amp;gt;extensions/test/ole/EventListenerSample/EventListener/StdAfx.cpp&amp;lt;br&amp;gt;extensions/test/ole/EventListenerSample/EventListener/StdAfx.h&amp;lt;br&amp;gt;extensions/test/ole/EventListenerSample/VBEventListener/VBasicEventListener.dll&amp;lt;br&amp;gt;extensions/test/ole/MfcControl/MfcControl.rc&amp;lt;br&amp;gt;extensions/test/ole/MfcControl/Resource.h&amp;lt;br&amp;gt;extensions/test/ole/MfcControl/StdAfx.cpp&amp;lt;br&amp;gt;extensions/test/ole/MfcControl/StdAfx.h&amp;lt;br&amp;gt;fpicker/source/win32/filepicker/Fps.rc&amp;lt;br&amp;gt;fpicker/source/win32/filepicker/resource.h&amp;lt;br&amp;gt;hwpfilter/source/ksc5601.h&amp;lt;br&amp;gt;i18npool/source/breakiterator/data/*&amp;lt;br&amp;gt;i18npool/source/collator/data/*&amp;lt;br&amp;gt;i18npool/source/indexentry/data/*&amp;lt;br&amp;gt;i18npool/source/localedata/data/*&amp;lt;br&amp;gt;i18npool/source/textconversion/data/*&amp;lt;br&amp;gt;odk/examples/OLE/activex/StdAfx2.cpp&amp;lt;br&amp;gt;odk/examples/OLE/activex/StdAfx2.h&amp;lt;br&amp;gt;psprint_config/configuration/psprint.conf&amp;lt;br&amp;gt;sal/workben/clipboardwben/testcopy/resource.h&amp;lt;br&amp;gt;sal/workben/clipboardwben/testcopy/StdAfx.cpp&amp;lt;br&amp;gt;sal/workben/clipboardwben/testcopy/StdAfx.h&amp;lt;br&amp;gt;sal/workben/clipboardwben/testpaste/cbptest.rc&amp;lt;br&amp;gt;sal/workben/clipboardwben/testpaste/resource.h&amp;lt;br&amp;gt;sal/workben/clipboardwben/testpaste/StdAfx.cpp&amp;lt;br&amp;gt;sal/workben/clipboardwben/testpaste/StdAfx.h&amp;lt;br&amp;gt;sal/workben/clipboardwben/testviewer/cbvtest.rc&amp;lt;br&amp;gt;sal/workben/clipboardwben/testviewer/resource.h&amp;lt;br&amp;gt;sal/workben/clipboardwben/testviewer/StdAfx.cpp&amp;lt;br&amp;gt;sal/workben/clipboardwben/testviewer/StdAfx.h&amp;lt;br&amp;gt;scripting/source/pyprov/mailmerge.py&amp;lt;br&amp;gt;scripting/source/pyprov/pythonscript.py&amp;lt;br&amp;gt;soltools/cpp/*&amp;lt;br&amp;gt;soltools/mkdepend/*&amp;lt;br&amp;gt;twain/inc/twain.h&amp;lt;br&amp;gt;ucb/source/ucp/odma/odma.h&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
www.unixodbc.org (LGPL)&lt;br /&gt;
* unixODBC/inc/sql.h&lt;br /&gt;
* unixODBC/inc/sqlext.h&lt;br /&gt;
* unixODBC/inc/sqltypes.h&lt;br /&gt;
* unixODBC/inc/sqlucode.h&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;writerperfect/source/*&amp;lt;br&amp;gt;xmerge/source/activesync/BIN/xmergesync.dll&amp;lt;br&amp;gt;xmerge/source/activesync/resource.h&amp;lt;br&amp;gt;xmerge/source/activesync/stdafx.cpp&amp;lt;br&amp;gt;xmerge/source/activesync/stdafx.h&amp;lt;br&amp;gt;xmerge/source/activesync/XMergeSync.rc&amp;lt;br&amp;gt;xmlsecurity/source/xmlsec/nss/nssrenam.h&lt;br /&gt;
&lt;br /&gt;
GNU C Library (LGPL)&lt;br /&gt;
* regexp/source/reclass.hxx&lt;br /&gt;
* regexp/source/reclass.cxx&lt;br /&gt;
&lt;br /&gt;
==Classification of OOo external source tarballs==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| | openssl-0.9.8l.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libcroco-0.6.2.tar.gz&lt;br /&gt;
| | LGPL&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | mythes-1.2.0.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | pixman-0.12.0.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libtextcat-2.2.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | hsqldb_1_8_0.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | Adobe-Core35_AFMs-314.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | STLport-4.5.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | xmlsec1-1.2.12.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | xmlsec1-1.2.14.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libpng-1.5.1.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | pango-1.28.3.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | lp_solve_5.5.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | raptor-1.4.18.tar.gz&lt;br /&gt;
| | LGPL 2.1+ / GPL 2+ / Apache 2&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | jakarta-tomcat-5.0.30-src.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | commons-lang-2.3-src.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | commons-httpclient-3.1-src.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | fondu_src-051010.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | icu4c-4_0_1-src.tgz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | liberation-fonts-1.05.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libformula-1.1.7.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | swingExSrc.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | gentiumbasic-fonts-1.10.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | dejavu-fonts-ttf-2.32.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | sacjava-1.3.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libgsf-1.14.19.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | epm-3.7.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libfonts-1.1.6.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | commons-logging-1.1.1-src.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | gettext-0.18.1.1.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | hyphen-2.7.1.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | lucene-2.3.2.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | glibc-2.1.3-stub.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | cairo-1.8.0.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | cups-1.1.19.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | xpdf-3.02.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libserializer.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | nss_3_12_5.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | openssl-0.9.8o.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libxml.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | hunspell-1.2.9.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | javamail-1_3_1.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libxml2-2.6.31.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | STLport-4.5-0119.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libxml2-2.7.6.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | liblayout.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | rhino1_5R5.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | MesaLib-6.2.1.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | stax-api-1.0-2-sources.jar&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | mysql-connector-cpp.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | jaf-1_0_2.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | librepository-1.1.6.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libbase.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libloader-1.1.6.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | glib-2.28.1.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libloader.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | seamonkey-1.1.14.source.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | jpeg-8c.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | xsltml_2.1.2.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | gdk-pixbuf-2.23.0.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | zlib-1.1.4.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libxml-1.1.7.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | source-9.0.0.7-bj.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | commons-codec-1.3-src.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | nss-3.12.6-with-nspr-4.8.4.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | neon-0.29.3.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | flow-engine-0.9.4.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | cppunit-1.12.1.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | STLport-4.0.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | zlib-1.2.5.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | liberation-fonts-ttf-1.06.0.20100721.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | redland-1.0.8.tar.gz&lt;br /&gt;
| | LGPL 2.1+ / GPL 2+ / Apache 2&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libwpd-0.8.8.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | fontconfig-2.2.0.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | mdds_0.3.0.tar.bz2&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | hyphen-2.4.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libformula.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | silgraphite-2.3.1.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | core.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | db-4.7.25.NC-custom.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | librsvg-2.32.1.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | flute-1.1.6.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | liblayout-0.2.10.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | librepository.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | jpeg-6b.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libxslt-1.1.26.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | Python-2.6.1.tar.bz2&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libxslt-1.1.24.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | bsh-2.0b1-src.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | vigra1.4.0.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | curl-7.19.7.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | expat-2.0.1.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libbase-1.1.6.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | liberation-fonts-ttf-1.05.3.20100427.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | flute.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libfonts.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | libserializer-1.1.6.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | rasqal-0.9.16.tar.gz&lt;br /&gt;
| | LGPL 2.1+ / GPL 2+ / Apache 2&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | boost_1_39_0.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | SampleICC-1.3.2.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | dejavu-fonts-ttf-2.30.zip&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| | neon-0.29.5.tar.gz&lt;br /&gt;
| | &lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide/Building_on_Solaris&amp;diff=196290</id>
		<title>Documentation/Building Guide/Building on Solaris</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide/Building_on_Solaris&amp;diff=196290"/>
		<updated>2011-04-28T15:35:13Z</updated>

		<summary type="html">&lt;p&gt;Mst: /* Solaris 11 Express */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/Building Guide TOC&lt;br /&gt;
|ShowNextPage=none&lt;br /&gt;
|ShowPrevPage=none&lt;br /&gt;
}}&lt;br /&gt;
{{DISPLAYTITLE:Building on Solaris}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
This document describes building OpenOffice.org on Solaris.&lt;br /&gt;
&lt;br /&gt;
= Requirements =&lt;br /&gt;
== Hardware Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Solaris/x86: one or more reasonable fast CPUs, x-way CPU&amp;#039;s recommended.&lt;br /&gt;
* Solaris/Sparc: UltraSparc III&lt;br /&gt;
* 2 GB RAM&lt;br /&gt;
* 10 GB free disk space&lt;br /&gt;
* if you don&amp;#039;t have a lot of RAM (less than 4GB?) set TMPDIR to a directory that is not on tmpfs&lt;br /&gt;
&lt;br /&gt;
== Software Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Solaris 10, OpenSolaris 2008.5 or higher, Solaris 11 Express&lt;br /&gt;
* C/C++ Compiler: SunStudio 8, SunStudio 10 - SunStudio 12, SunStudio Express, newer compilers will likely work with a little tweaking (but rumor has it that 12update1 breaks on some boost stuff)&lt;br /&gt;
&lt;br /&gt;
= Solaris 11 Express =&lt;br /&gt;
&lt;br /&gt;
This section describes building on version &amp;lt;code&amp;gt;snv_151a&amp;lt;/code&amp;gt;.&lt;br /&gt;
Note that only DEV300_m106 or newer contains the necessary fixes in the OOo code.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
You need to &amp;lt;code&amp;gt;pkg install&amp;lt;/code&amp;gt; at least the following additional packages:&lt;br /&gt;
* mercurial (to get at the source code)&lt;br /&gt;
* system/header&lt;br /&gt;
* header-math&lt;br /&gt;
* developer/java/jdk&lt;br /&gt;
* developer/java/junit&lt;br /&gt;
* developer/build/ant&lt;br /&gt;
* developer/gperf&lt;br /&gt;
* developer/gnome/gettext&lt;br /&gt;
* developer/parser/bison&lt;br /&gt;
* developer/lexer/flex&lt;br /&gt;
&lt;br /&gt;
The only dependencies that are not in the Solaris Express repository are the SunStudio compiler and the Perl module &amp;lt;code&amp;gt;Archive::Zip&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To install the Perl module, use CPAN (i&amp;#039;m afraid you need to su to root to do this):&lt;br /&gt;
&lt;br /&gt;
  # PATH=/path/to/sunstudio/SUNWspro/bin:$PATH /usr/perl5/bin/perl -MCPAN -e &amp;#039;shell&amp;#039;&lt;br /&gt;
  cpan&amp;gt; install Archive::Zip&lt;br /&gt;
  cpan&amp;gt; exit&lt;br /&gt;
&lt;br /&gt;
== Building OOo ==&lt;br /&gt;
&lt;br /&gt;
It is necessary to put SunStudio on the path, otherwise the build will break in stlport.&lt;br /&gt;
Also, set the &amp;lt;code&amp;gt;CC&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;CXX&amp;lt;/code&amp;gt; variables.&lt;br /&gt;
&lt;br /&gt;
  PATH=/path/to/sunstudio/SUNWspro/bin:$PATH&lt;br /&gt;
  ./configure CC=/path/to/sunstudio/SUNWspro/bin/cc CXX=/path/to/sunstudio/SUNWspro/bin/CC &lt;br /&gt;
&lt;br /&gt;
Building with &amp;lt;code&amp;gt;--enable-werror&amp;lt;/code&amp;gt; should work with SunStudio 12.&lt;br /&gt;
&lt;br /&gt;
If configure runs successfully, the build should work just like on other platforms.&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[OpenSolaris Build Instructions]]&lt;br /&gt;
[[Category:Solaris]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide/Building_on_Solaris&amp;diff=196289</id>
		<title>Documentation/Building Guide/Building on Solaris</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide/Building_on_Solaris&amp;diff=196289"/>
		<updated>2011-04-28T15:31:42Z</updated>

		<summary type="html">&lt;p&gt;Mst: add solaris express stuff&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/Building Guide TOC&lt;br /&gt;
|ShowNextPage=none&lt;br /&gt;
|ShowPrevPage=none&lt;br /&gt;
}}&lt;br /&gt;
{{DISPLAYTITLE:Building on Solaris}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
This document describes building OpenOffice.org on Solaris.&lt;br /&gt;
&lt;br /&gt;
= Requirements =&lt;br /&gt;
== Hardware Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Solaris/x86: one or more reasonable fast CPUs, x-way CPU&amp;#039;s recommended.&lt;br /&gt;
* Solaris/Sparc: UltraSparc III&lt;br /&gt;
* 2 GB RAM&lt;br /&gt;
* 10 GB free disk space&lt;br /&gt;
* if you don&amp;#039;t have a lot of RAM (less than 4GB?) set TMPDIR to a directory that is not on tmpfs&lt;br /&gt;
&lt;br /&gt;
== Software Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Solaris 10, OpenSolaris 2008.5 or higher, Solaris 11 Express&lt;br /&gt;
* C/C++ Compiler: SunStudio 8, SunStudio 10 - SunStudio 12, SunStudio Express, newer compilers will likely work with a little tweaking (but rumor has it that 12update1 breaks on some boost stuff)&lt;br /&gt;
&lt;br /&gt;
== Solaris 11 Express ==&lt;br /&gt;
&lt;br /&gt;
This section describes building on version &amp;lt;code&amp;gt;snv_151a&amp;lt;/code&amp;gt;.&lt;br /&gt;
Note that only DEV300_m106 or newer contains the necessary fixes in the OOo code.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
You need to &amp;lt;code&amp;gt;pkg install&amp;lt;/code&amp;gt; at least the following additional packages:&lt;br /&gt;
* mercurial (to get at the source code)&lt;br /&gt;
* system/header&lt;br /&gt;
* header-math&lt;br /&gt;
* developer/java/jdk&lt;br /&gt;
* developer/java/junit&lt;br /&gt;
* developer/build/ant&lt;br /&gt;
* developer/gperf&lt;br /&gt;
* developer/gnome/gettext&lt;br /&gt;
* developer/parser/bison&lt;br /&gt;
* developer/lexer/flex&lt;br /&gt;
&lt;br /&gt;
The only dependencies that are not in the Solaris Express repository are the SunStudio compiler and the Perl module &amp;lt;code&amp;gt;Archive::Zip&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To install the Perl module, use CPAN (i&amp;#039;m afraid you need to su to root to do this):&lt;br /&gt;
&lt;br /&gt;
  # PATH=/path/to/sunstudio/SUNWspro/bin:$PATH /usr/perl5/bin/perl -MCPAN -e &amp;#039;shell&amp;#039;&lt;br /&gt;
  cpan&amp;gt; install Archive::Zip&lt;br /&gt;
  cpan&amp;gt; exit&lt;br /&gt;
&lt;br /&gt;
=== Building OOo ===&lt;br /&gt;
&lt;br /&gt;
It is necessary to put SunStudio on the path, otherwise the build will break in stlport.&lt;br /&gt;
Also, set the &amp;lt;code&amp;gt;CC&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;CXX&amp;lt;/code&amp;gt; variables.&lt;br /&gt;
&lt;br /&gt;
  PATH=/path/to/sunstudio/SUNWspro/bin:$PATH&lt;br /&gt;
  ./configure CC=/path/to/sunstudio/SUNWspro/bin/cc CXX=/path/to/sunstudio/SUNWspro/bin/CC &lt;br /&gt;
&lt;br /&gt;
Building with &amp;lt;code&amp;gt;--enable-werror&amp;lt;/code&amp;gt; should work with SunStudio 12.&lt;br /&gt;
&lt;br /&gt;
If configure runs successfully, the build should work just like on other platforms.&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[OpenSolaris Build Instructions]]&lt;br /&gt;
[[Category:Solaris]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Build_Environment_Effort/Current_work&amp;diff=196286</id>
		<title>Build Environment Effort/Current work</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Build_Environment_Effort/Current_work&amp;diff=196286"/>
		<updated>2011-04-28T14:22:13Z</updated>

		<summary type="html">&lt;p&gt;Mst: update gnumake4 status&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Build Environment Effort}}&lt;br /&gt;
&lt;br /&gt;
==The complete progress of module migration is tracked [[Build_Environment_Effort/Module_Status|here]]==&lt;br /&gt;
&lt;br /&gt;
== Current work on module migration ==&lt;br /&gt;
&lt;br /&gt;
We decided to use priorities for our future work on the new build environment. Issues found in integrated milestones and new requirements found in converting modules to the new build system get highest priority. The planned module conversions that have not been started yet are:&lt;br /&gt;
&lt;br /&gt;
* filter&lt;br /&gt;
* i18npool&lt;br /&gt;
* connectivity&lt;br /&gt;
* drawinglayer&lt;br /&gt;
* avmedia&lt;br /&gt;
* rsc&lt;br /&gt;
* basic&lt;br /&gt;
* shell&lt;br /&gt;
* writerperfect&lt;br /&gt;
&lt;br /&gt;
This will create a complete module chain from sw to tools and this will allow us to get better performance predictions for the new build system.&lt;br /&gt;
&lt;br /&gt;
Of course everybody is free to convert any other modules now, moreover, this would be appreciated a lot! Please add the modules you have converted to the [[Build_Environment_Effort/Module_Status|table]]. In case this would create new requirements, we will give them high priority. If you want to support us by converting other modules, please refer to [[Build_Environment_Effort/Module_Migration|Module Migration]].&lt;br /&gt;
&lt;br /&gt;
== Actions ==&lt;br /&gt;
&lt;br /&gt;
* bug fixes:&lt;br /&gt;
** multi-repository support for JavaClassSet fixed (done in CWS gnumake4)&lt;br /&gt;
** racy dependency file generation fixed (CWS gnumake4)&lt;br /&gt;
* new features:&lt;br /&gt;
** native resources (done in CWS vcl2gnumake)&lt;br /&gt;
** idl compilation (done in cws ause130)&lt;br /&gt;
** compilation of jar files (done in CWS gnumake4)&lt;br /&gt;
** zipped packages (done in CWS gnumake4)&lt;br /&gt;
** better support for using external libraries (CWS gnumake4)&lt;br /&gt;
** support for user-defined CFLAGS, CXXFLAGS, CPPFLAGS, LDFLAGS (CWS gnumake4)&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Build_Environment_Effort/Current_work&amp;diff=195676</id>
		<title>Build Environment Effort/Current work</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Build_Environment_Effort/Current_work&amp;diff=195676"/>
		<updated>2011-04-04T14:01:50Z</updated>

		<summary type="html">&lt;p&gt;Mst: remove in-progress/done modules; they are tracked on Module_Migration page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Build Environment Effort}}&lt;br /&gt;
&lt;br /&gt;
==The complete progress of module migration is tracked [[Build_Environment_Effort/Module_Status|here]]==&lt;br /&gt;
&lt;br /&gt;
== Current work on module migration ==&lt;br /&gt;
&lt;br /&gt;
We decided to use priorities for our future work on the new build environment. Issues found in integrated milestones and new requirements found in converting modules to the new build system get highest priority. The planned module conversions that have not been started yet are:&lt;br /&gt;
&lt;br /&gt;
* filter&lt;br /&gt;
* i18npool&lt;br /&gt;
* connectivity&lt;br /&gt;
* drawinglayer&lt;br /&gt;
* avmedia&lt;br /&gt;
* rsc&lt;br /&gt;
* basic&lt;br /&gt;
* shell&lt;br /&gt;
* writerperfect&lt;br /&gt;
&lt;br /&gt;
This will create a complete module chain from sw to tools and this will allow us to get better performance predictions for the new build system.&lt;br /&gt;
&lt;br /&gt;
Of course everybody is free to convert any other modules now, moreover, this would be appreciated a lot! Please add the modules you have converted to the [[Build_Environment_Effort/Module_Status|table]]. In case this would create new requirements, we will give them high priority. If you want to support us by converting other modules, please refer to [[Build_Environment_Effort/Module_Migration|Module Migration]].&lt;br /&gt;
&lt;br /&gt;
== Actions ==&lt;br /&gt;
&lt;br /&gt;
* bug fixes:&lt;br /&gt;
** multi-repository support for JavaClassSet fixed (done in CWS gnumake4)&lt;br /&gt;
* new features:&lt;br /&gt;
** native resources (done in CWS vcl2gnumake)&lt;br /&gt;
** idl compilation (started in cws ause130)&lt;br /&gt;
** compilation of jar files (done in CWS gnmake4)&lt;br /&gt;
** zipped packages (done in CWS gnumake4)&lt;br /&gt;
** better support for using external libraries (CWS gnumake4)&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Build_Environment_Effort/Module_Status&amp;diff=195675</id>
		<title>Build Environment Effort/Module Status</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Build_Environment_Effort/Module_Status&amp;diff=195675"/>
		<updated>2011-04-04T13:53:22Z</updated>

		<summary type="html">&lt;p&gt;Mst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;3&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|  module&lt;br /&gt;
|  migrated in CWS&lt;br /&gt;
|  integrated in&lt;br /&gt;
|  remarks&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  accessibility&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  afms&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  agg&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  animations&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  apache-commons &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  apple_remote&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  autodoc&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  automation&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  avmedia&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  basctl&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  basebmp&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  needed fixing of exported symbols&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  basegfx&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  needed fixing of exported symbols&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  basic&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  bean&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  beanshell&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  berkeleydb&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  binaryurp&lt;br /&gt;
|  {{CWS|sb143}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  binfilter&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  boost&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  bridges&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  cairo&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  canvas&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  needed fixing of exported symbols &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  chart2&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  cli_ure&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  codemaker&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  comphelper&lt;br /&gt;
|  gnumake3&lt;br /&gt;
|  DEV300m100&lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  configmgr&lt;br /&gt;
|  {{CWS|sb143}}&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  connectivity&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  cosv&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  cppcanvas&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  cppu&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  cppuhelper&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  cppunit&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  cpputools&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  crashrep&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  cui&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  curl&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  dbaccess&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  default_images&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  desktop&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  dictionaries&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  drawinglayer&lt;br /&gt;
|  impress212&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  dtrans&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  editeng&lt;br /&gt;
|  gnumake3&lt;br /&gt;
|  DEV300m100&lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  embeddedobj&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  embedserv&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  epm&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  eventattacher&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  expat&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  extensions&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  external&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  external_images&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  extras&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  fileaccess&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  filter&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  forms&lt;br /&gt;
|  [http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Ffs35a CWS fs35a]&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  formula&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  fpicker&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  framework&lt;br /&gt;
|  gnumake2&lt;br /&gt;
|  DEV300m96&lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  graphite&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  helpcontent2&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  hsqldb&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  hunspell&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  hwpfilter&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  hyphen&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  i18npool&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  i18nutil&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  icc&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  icu&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  idl&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  idlc&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  instsetoo_native&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  io&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  javainstaller&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  javaunohelper&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  jfreereport&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  jpeg&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  jurt&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  jvmaccess&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  jvmfwk&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  l10n&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  l10ntools&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  libegg&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  libtextcat&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  libwpd&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  libxml2&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  libxmlsec&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  libxslt&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  lingucomponent&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  linguistic&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  needed fixing of exported symbols&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  lpsolve&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  lucene&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  mathmldtd&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  mdds&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  migrationanalysis&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  more_fonts&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  moz&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  mysqlc&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  mysqlcppconn&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  mythes&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  neon&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  np_sdk&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  nss&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  o3tl&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  odk&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  offapi&lt;br /&gt;
|  ause130&lt;br /&gt;
|  &lt;br /&gt;
|  in progress&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  officecfg&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  offuh&lt;br /&gt;
|  ause130&lt;br /&gt;
|  &lt;br /&gt;
|  in progress; will become obsolete&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  ooo_custom_images&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  oovbaapi&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  oox&lt;br /&gt;
|  {{CWS|writerfilter10}}&lt;br /&gt;
|  &lt;br /&gt;
|  in progress&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  openssl&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  package&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  packimages&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  padmin&lt;br /&gt;
|  vcl118&lt;br /&gt;
|  DEV300m101&lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  postprocess&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  psprint_config&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  python&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  pyuno&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  qadevooo&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  rdbmaker&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  readlicense_oo&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  redland&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  regexp&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  name of library was changed&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  registry&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  remotebridges&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  reportbuilder&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  reportdesign&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  rhino&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  ridljar&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  rsc&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  sal&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  salhelper&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  sane&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  sax&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  sax.uno lib renamed to expwrap.uno because new build system can&amp;#039;t separate it from sax library&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  saxon&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  sc&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  scaddins&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  sccomp&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  scp2&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  scripting&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  sd&lt;br /&gt;
|  sd2gbuild&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  sdext&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  setup_native&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  sfx2&lt;br /&gt;
|  gnumake2&lt;br /&gt;
|  DEV300m96&lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  shell&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  slideshow&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  smoketestoo_native&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  soldep&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
| will be removed  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  soltools&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  sot&lt;br /&gt;
|  gnumake3&lt;br /&gt;
|  DEV300m100&lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  starmath&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  stax&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  stlport&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  stoc&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  store&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  svl&lt;br /&gt;
|  gnumake2&lt;br /&gt;
|  DEV300m96&lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  svtools&lt;br /&gt;
|  gnumake2&lt;br /&gt;
|  DEV300m96&lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  svx&lt;br /&gt;
|  gnumake3&lt;br /&gt;
|  DEV300m100&lt;br /&gt;
|  special treatment for globlmn.hrc, srs in solver&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  sw&lt;br /&gt;
|  gnumake2&lt;br /&gt;
|  DEV300m96&lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  swext&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  sysui&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  test&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  testautomation&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  does not build anything&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  testgraphical&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  testtools&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  tomcat&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  toolkit&lt;br /&gt;
|  gnumake2&lt;br /&gt;
|  DEV300m96&lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  tools&lt;br /&gt;
|  gnumake2&lt;br /&gt;
|  DEV300m96&lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  twain&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  ucb&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  ucbhelper&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  udkapi&lt;br /&gt;
|  ause130&lt;br /&gt;
|  &lt;br /&gt;
|  in progress&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  udm&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  unixODBC&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  UnoControls&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  unodevtools&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  unoil&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  unotools&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  unoxml&lt;br /&gt;
|  xmlfix3&lt;br /&gt;
|  DEV300m102&lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  ure&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  uui&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  vbaapi&lt;br /&gt;
|  ause130&lt;br /&gt;
|  &lt;br /&gt;
|  in progress&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  vbahelper&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  vcl&lt;br /&gt;
|  vcl2gnumake&lt;br /&gt;
|  DEV300m105&lt;br /&gt;
|  done; added support for native windows resources&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  vigra&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  vos&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  wizards&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  added support for zip and jar targets&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  writerfilter&lt;br /&gt;
|  {{CWS|writerfilter10}}&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  writerperfect&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  x11_extensions&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  xmerge&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  xml2cmp&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  xmlhelp&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  xmloff&lt;br /&gt;
|  gnumake2&lt;br /&gt;
|  DEV300m96&lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  xmlreader&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  xmlscript&lt;br /&gt;
|  {{CWS|gnumake4}}&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  xmlsecurity&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  xpdf&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  xsltml&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  zlib&lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
|  &lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer/Debugging&amp;diff=194618</id>
		<title>Writer/Debugging</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer/Debugging&amp;diff=194618"/>
		<updated>2011-03-03T18:06:58Z</updated>

		<summary type="html">&lt;p&gt;Mst: update to m99&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Writer Project|Category=Writer/CoreDoc}}&lt;br /&gt;
[[Category:Debugging]]&lt;br /&gt;
&lt;br /&gt;
== GDB functions to look at writer stuff ==&lt;br /&gt;
&lt;br /&gt;
Here are some GDB functions to examine the writer model a bit.&lt;br /&gt;
Put these into &amp;lt;tt&amp;gt;.gdbinit&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def p_indent&lt;br /&gt;
  set $indent_ = $arg0&lt;br /&gt;
  set $i_ = 0&lt;br /&gt;
  while ($i_ &amp;lt; $indent_)&lt;br /&gt;
    printf &amp;quot;  &amp;quot;&lt;br /&gt;
    set $i_ = $i_ + 1&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
# print SwNodes&lt;br /&gt;
def pna&lt;br /&gt;
  set $pna_nodes = $arg0&lt;br /&gt;
  set $pna_size = $pna_nodes.ppInf[0].nElem&lt;br /&gt;
  set $pna_i = 0&lt;br /&gt;
  set $pna_indent = 0&lt;br /&gt;
  printf &amp;quot;Nodes: %d\n&amp;quot;, $pna_size&lt;br /&gt;
  while ($pna_i &amp;lt; $pna_size)&lt;br /&gt;
    set $pna_node = (SwNode*) ($pna_nodes.ppInf[0].pData[$pna_i])&lt;br /&gt;
    if ($pna_node.nNodeType &amp;amp; ND_ENDNODE)&lt;br /&gt;
      set $pna_indent = $pna_indent - 1&lt;br /&gt;
    end&lt;br /&gt;
    p_indent $pna_indent&lt;br /&gt;
    printf &amp;quot;[%4d] %p &amp;quot;, $pna_i, $pna_node&lt;br /&gt;
    if ($pna_node.nNodeType &amp;amp; ND_STARTNODE)&lt;br /&gt;
      set $pna_indent = $pna_indent - 1&lt;br /&gt;
    end&lt;br /&gt;
#FIXME how to get the dynamic class? this is ugly...&lt;br /&gt;
    if ($pna_node.nNodeType == ND_TEXTNODE)&lt;br /&gt;
      printf &amp;quot;   TextNode &amp;quot;&lt;br /&gt;
      printf &amp;quot;content: &amp;quot;&lt;br /&gt;
      set $pna_txtnode = (SwTxtNode*) $pna_node&lt;br /&gt;
      ptu $pna_txtnode.m_Text&lt;br /&gt;
    else&lt;br /&gt;
      if ($pna_node.nNodeType == ND_OLENODE)&lt;br /&gt;
        printf &amp;quot;    OLENode &amp;quot;&lt;br /&gt;
      else&lt;br /&gt;
        if ($pna_node.nNodeType == ND_GRFNODE)&lt;br /&gt;
          printf &amp;quot;    GrfNode &amp;quot;&lt;br /&gt;
        else&lt;br /&gt;
          if ($pna_node.nNodeType == ND_SECTIONNODE)&lt;br /&gt;
            printf &amp;quot;SectionNode &amp;quot;&lt;br /&gt;
          else&lt;br /&gt;
            if ($pna_node.nNodeType &amp;amp; ND_STARTNODE)&lt;br /&gt;
              printf &amp;quot;  StartNode &amp;quot;&lt;br /&gt;
            else&lt;br /&gt;
              if ($pna_node.nNodeType &amp;amp; ND_ENDNODE)&lt;br /&gt;
                printf &amp;quot;    EndNode &amp;quot;&lt;br /&gt;
              end&lt;br /&gt;
            end&lt;br /&gt;
          end&lt;br /&gt;
        end&lt;br /&gt;
      end&lt;br /&gt;
      printf &amp;quot;\n&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
    set $pna_i = $pna_i + 1&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
# print SwDoc-&amp;gt;GetNodes()&lt;br /&gt;
def pdna&lt;br /&gt;
  pna $arg0.m_pNodes.px&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
# print SwPosition&lt;br /&gt;
def ppos&lt;br /&gt;
  set $ppos_pos = $arg0&lt;br /&gt;
  set $ppos_node = $ppos_pos.nNode.pNd&lt;br /&gt;
  printf &amp;quot;pos: [%4d] %p &amp;quot;, $ppos_node.nOffset, $ppos_node&lt;br /&gt;
  printf &amp;quot;index: %d\n&amp;quot;, $ppos_pos.nContent.nIndex&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
# print SwPaM&lt;br /&gt;
def ppam&lt;br /&gt;
  set $ppam_pam = $arg0&lt;br /&gt;
  printf &amp;quot;point: &amp;quot;&lt;br /&gt;
  ppos *$ppam_pam.m_pPoint&lt;br /&gt;
  if ($ppam_pam.m_pPoint != $ppam_pam.m_pMark)&lt;br /&gt;
    printf &amp;quot; mark: &amp;quot;&lt;br /&gt;
    ppos *$ppam_pam.m_pMark&lt;br /&gt;
  else&lt;br /&gt;
    printf &amp;quot;no mark.\n&amp;quot;&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== DBX functions to look at writer stuff ==&lt;br /&gt;
&lt;br /&gt;
Here are some DBX functions to examine the writer model a bit.&lt;br /&gt;
Put these into &amp;lt;tt&amp;gt;.dbxrc&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# print SwNodes&lt;br /&gt;
function pna&lt;br /&gt;
{&lt;br /&gt;
    : ${1?&amp;quot;usage: $0 SwNodes # print SwNodes&amp;quot;}&lt;br /&gt;
    typeset len=$[(long) ($1).ppInf[0].nElem]&lt;br /&gt;
    typeset i=$[0]&lt;br /&gt;
    while [ $i -lt $len ]&lt;br /&gt;
    do&lt;br /&gt;
#        print -d ((SwNode*)($1).aNodes.ppInf[0].pData[$i])&lt;br /&gt;
        typeset node=&amp;quot;(SwNode*)($1).ppInf[0].pData[$i]&amp;quot;&lt;br /&gt;
        print -d -p $node&lt;br /&gt;
        if $[((SwNode*)$node).nNodeType == ND_TEXTNODE]; then&lt;br /&gt;
            pu &amp;quot;((SwTxtNode*)$node).m_Text&amp;quot;&lt;br /&gt;
        fi&lt;br /&gt;
        i=$[$i+1]&lt;br /&gt;
    done&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# print SwDoc-&amp;gt;GetNodes()&lt;br /&gt;
function pdna&lt;br /&gt;
{&lt;br /&gt;
    : ${1?&amp;quot;usage: $0 SwDoc # print SwNodes&amp;quot;}&lt;br /&gt;
    pna &amp;quot;($1).m_pNodes.px&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# print SwPosition&lt;br /&gt;
function ppos&lt;br /&gt;
{&lt;br /&gt;
    : ${1?&amp;quot;usage: $0 SwPosition     # print SwPosition&amp;quot;}&lt;br /&gt;
    print ($1).nNode.pNd.nOffset&lt;br /&gt;
    print ($1).nContent.nIndex&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# print SwPaM&lt;br /&gt;
function ppam&lt;br /&gt;
{&lt;br /&gt;
    : ${1?&amp;quot;usage: $0 SwPaM          # print SwPaM&amp;quot;}&lt;br /&gt;
    print ($1).m_Bound1.nNode.pNd.nOffset&lt;br /&gt;
    print ($1).m_Bound1.nContent.nIndex&lt;br /&gt;
    print ($1).m_Bound2.nNode.pNd.nOffset&lt;br /&gt;
    print ($1).m_Bound2.nContent.nIndex&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Build_Environment_Effort/Status_And_Next_Steps&amp;diff=194049</id>
		<title>Build Environment Effort/Status And Next Steps</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Build_Environment_Effort/Status_And_Next_Steps&amp;diff=194049"/>
		<updated>2011-02-15T14:02:58Z</updated>

		<summary type="html">&lt;p&gt;Mst: add some investigation on .LOW_RESOLUTION_TIME&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Build Environment Effort}}&lt;br /&gt;
&lt;br /&gt;
=== Ongoing and planned work can be found [[Current work|here]]. ===&lt;br /&gt;
If you want to support us by converting modules from dmake to GNU Make, please refer to [[Build_Environment_Effort/Module_Migration|Module Migration.]]&lt;br /&gt;
&lt;br /&gt;
== Integration of first milestone of the new build system CWS gnumake2 into DEV300 m96 ==&lt;br /&gt;
=== New features ===&lt;br /&gt;
With the integration of the CWS gnumake2 we got support for the following target types in our new build system:&lt;br /&gt;
* compiling and linking C, C++, Objective-C++ files into&lt;br /&gt;
** shared libraries&lt;br /&gt;
** non-GUI executables&lt;br /&gt;
* compiling src files into resources including localization&lt;br /&gt;
* copying a bunch of files (&amp;quot;package&amp;quot;) into solver&lt;br /&gt;
&lt;br /&gt;
For cxx compilation we also support some sub-targets:&lt;br /&gt;
* compilation of sdi files&lt;br /&gt;
* delivery of header files into solver&lt;br /&gt;
* processing of component files for UNO service libraries&lt;br /&gt;
* support for precompiled headers (currently used only with MSVC++)&lt;br /&gt;
&lt;br /&gt;
Some features have been implemented differently. Here&amp;#039;s a list of the most remarkable changes to the old build system:&lt;br /&gt;
* no intermediate libraries will be created anymore&lt;br /&gt;
* linking with MSVC++ does not use DEF files anymore; this requires proper dllimport/dllexport specifications in the code&lt;br /&gt;
* header dependencies on Unix platforms are created by the compiler, no additional makedepend step is required&lt;br /&gt;
* header dependencies in converted modules now always include those to headers in solver&lt;br /&gt;
* in converted modules a &amp;quot;build&amp;quot; command does not work (you will get a response telling what to do)&lt;br /&gt;
* when compiling with DEBUG=TRUE, PCH is not disabled automatically&lt;br /&gt;
&lt;br /&gt;
=== Converted modules ===&lt;br /&gt;
Along with the new features we converted the following modules to use the new build system:&lt;br /&gt;
* tools&lt;br /&gt;
* svl&lt;br /&gt;
* svtools&lt;br /&gt;
* xmloff&lt;br /&gt;
* framework&lt;br /&gt;
* toolkit&lt;br /&gt;
* sfx2&lt;br /&gt;
* sw&lt;br /&gt;
&lt;br /&gt;
== Integration of second milestone CWS gnumake3 into DEV300 m100 ==&lt;br /&gt;
&lt;br /&gt;
===New features===&lt;br /&gt;
With the integration of the CWS gnumake3 we got support for the following target types in our new build system:&lt;br /&gt;
* build static libraries&lt;br /&gt;
* build GUI executables&lt;br /&gt;
* build cppunit tests&lt;br /&gt;
* build junit tests&lt;br /&gt;
* build custom targets for arbitrary generation of header and source files&lt;br /&gt;
* build generated cxx files&lt;br /&gt;
* native resources (planned for CWS gnumake4)&lt;br /&gt;
&lt;br /&gt;
===Converted modules===&lt;br /&gt;
* svx&lt;br /&gt;
* vbahelper&lt;br /&gt;
* editeng&lt;br /&gt;
* sot&lt;br /&gt;
* comphelper&lt;br /&gt;
&lt;br /&gt;
== Detected problems, caveats and known issues ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Compiling with ENABLE_PCH=TRUE and DEBUG=T with MSVC creates dlls that contain debug information only for the symbols of the library; all debug symbols for linked libraries are missing&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** root cause: PCH object needs to be linked into DLL to let mspdbserv find the necessary debug information&lt;br /&gt;
** fix time line: &amp;#039;&amp;#039;&amp;#039;fixed in gnumake3, integrated into DEV300 m100&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** workaround: call &amp;quot;unset ENABLE_PCH&amp;quot; when compiling with debug until the bug is fixed&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;make tells you: *** Warning: .LOW_RESOLUTION_TIME file (...) has a high resolution time stamp&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** root cause: different tools and file systems use different time stamps; some of them just have a resolution of seconds, others even support micro or nano seconds; for checking dependencies the build system is told that it must not use the sub-second parts as it can&amp;#039;t rely on all tools and file systems using the full time stamps. The only way to do that is telling make that there are no such parts in the time stamps. Unfortunately this triggers this warning.&lt;br /&gt;
*** Solaris ZFS has nanosecond timestamps, which are also available on NFS exports; but many utilities do not support nanosecond timestamps, so &amp;lt;tt&amp;gt;cp -p foo bar&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;touch -r foo bar&amp;lt;/tt&amp;gt; will result in &amp;lt;tt&amp;gt;bar&amp;lt;/tt&amp;gt;&amp;#039;s timestamp being truncated, and thus &amp;lt;tt&amp;gt;bar&amp;lt;/tt&amp;gt; older than &amp;lt;tt&amp;gt;foo&amp;lt;/tt&amp;gt;.&lt;br /&gt;
**** Ubuntu 9.04: coreutils 6.10: microsecond&lt;br /&gt;
**** Ubuntu 10.04: coreutils 7.4: nanosecond&lt;br /&gt;
**** Solaris 10u8 touch: microsecond&lt;br /&gt;
**** MacOSX 10.6 touch: microsecond&lt;br /&gt;
** fix time line: can only be fixed in GNU make, thus unclear&lt;br /&gt;
** workaround: setting the environment variable gb_HIRESTIME=TRUE silences the warning (but enables checking of sub-second parts); in case this causes permanent re-delivery of files to solver because the tools have different resolutions (e.g. micro seconds vs. nano seconds), you can&amp;#039;t use the workaround and have to live with the warning; this case was found in builds over nfs on Solaris Intel.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;adjustvisibility tool needs to be used in new build system on Solaris&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** root cause: not supported yet&lt;br /&gt;
** fix time line: planned for cws gnumake4&lt;br /&gt;
** workaround: not necessary&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;fwe library needs to export all symbols on Linux&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** root cause: ancient sv_decl... macro prevents proper usage of DLLEXPORT declarations&lt;br /&gt;
** fix time line: planned for cws gnumake4&lt;br /&gt;
** workaround: not necessary&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;GNU make crashes at times on cygwin&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** root cause: there is a [http://savannah.gnu.org/bugs/?20033 bug] in GNU make 3.81&lt;br /&gt;
** more info: it doesn&amp;#039;t crash always, and the more often the more parallel threads are used; at least Ubuntu seems to have a patched GNU make 3.81 without the bug&lt;br /&gt;
** workaround: manual restarting the build until it finishes or building GNU make 3.81 from [http://ftp.gnu.org/gnu/make/make-3.81.tar.gz sources] with [http://savannah.gnu.org/bugs/download.php?file_id=13043 patch]&lt;br /&gt;
** fix time line: GNU make 3.82 fixed the bug, but it has a performance regression and is not recommended; we will soon provide a patched GNU make for cygwin and ask the cygwin maintainers to patch their own version too&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Test_Cleanup&amp;diff=193518</id>
		<title>Test Cleanup</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Test_Cleanup&amp;diff=193518"/>
		<updated>2011-02-08T10:49:17Z</updated>

		<summary type="html">&lt;p&gt;Mst: add tests disabled in gnumake3&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Test Cleanup Project =&lt;br /&gt;
&lt;br /&gt;
The demand for automated (unit) testing should be obvious. See the [http://www.openoffice.org/servlets/ReadMsg?list=dev&amp;amp;msgNo=26189 mission statement mail] and [[Media:JustTestingPresentation.odp|slides]] from a [http://fosdem.org/2010/schedule/events/ooo_testing FOSDEM&amp;#039;10 talk] and an [http://www.ooocon.org/index.php/ooocon/2010/paper/view/188 OOoCon&amp;amp;nbsp;2010 presentation] for more information and further links.&lt;br /&gt;
&lt;br /&gt;
For examples of how to write xUnit based tests in the OOo code base, see [http://hg.services.openoffice.org/DEV300/file/87f4911ea629/basegfx/test &amp;lt;code&amp;gt;basegfx/test/&amp;lt;/code&amp;gt;], [http://hg.services.openoffice.org/DEV300/file/87f4911ea629/sal/qa/ByteSequence &amp;lt;code&amp;gt;sal/qa/ByteSequence/&amp;lt;/code&amp;gt;], and [http://hg.services.openoffice.org/DEV300/file/87f4911ea629/smoketestoo_native &amp;lt;code&amp;gt;smoketest_native/&amp;lt;/code&amp;gt;]. However, the hard part should not be how to write test code, anyway, but how to write &amp;#039;&amp;#039;testable&amp;#039;&amp;#039; code; see [http://misko.hevery.com/2008/11/04/clean-code-talks-unit-testing/ The Clean Code Talks&amp;amp;mdash;Unit Testing].&lt;br /&gt;
&lt;br /&gt;
When testing C++ code that merely uses UNO types (no services), but uses them in a way that requires UNO to be bootstrapped so that the relevant type information is available (e.g., putting instances of complex UNO types into &amp;lt;code&amp;gt;com::sun::star::uno::Any&amp;lt;/code&amp;gt;), one approach is as follows:  In the &amp;lt;code&amp;gt;makefile.mk&amp;lt;/code&amp;gt;, instead of &amp;lt;code&amp;gt;.INCLUDE: _cppunit.mk&amp;lt;/code&amp;gt; use&lt;br /&gt;
&amp;lt;source lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
.IF &amp;quot;$(OS)&amp;quot; == &amp;quot;WNT&amp;quot;&lt;br /&gt;
my_file = file:///&lt;br /&gt;
.ELSE&lt;br /&gt;
my_file = file://&lt;br /&gt;
.END&lt;br /&gt;
&lt;br /&gt;
ALLTAR : test&lt;br /&gt;
&lt;br /&gt;
test .PHONY : $(SHL1TARGETN)&lt;br /&gt;
    $(CPPUNITTESTER) $(SHL1TARGETN) \&lt;br /&gt;
        -env:UNO_TYPES=$(my_file)$(SOLARBINDIR)/types.rdb&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and in the test code once call &amp;lt;code&amp;gt;cppu::defaultBootstrap_InitialComponentContext()&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== User Interface ==&lt;br /&gt;
&lt;br /&gt;
=== CppUnit ===&lt;br /&gt;
&lt;br /&gt;
For tests in C++, plain CppUnit (at least version 1.12.1) is available.  (OOo bundles CppUnit 1.12.1 as an external module; alternatively, you can configure &amp;lt;code&amp;gt;--with-system-cppunit&amp;lt;/code&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
Implement the test code as a dynamic library, following CppUnit conventions (i.e., using [http://cppunit.sourceforge.net/doc/lastest/group___creating_test_suite.html#ga0 &amp;lt;code&amp;gt;CPPUNIT_TEST_SUITE_REGISTRATION&amp;lt;/code&amp;gt;] and [http://cppunit.sourceforge.net/doc/lastest/_test_plug_in_8h.html#a2 &amp;lt;code&amp;gt;CPPUNIT_PLUGIN_IMPLEMENT&amp;lt;/code&amp;gt;] macros).  The following settings are needed in the &amp;lt;code&amp;gt;makefile.mk&amp;lt;/code&amp;gt;:&lt;br /&gt;
* &amp;lt;code&amp;gt;ENABLE_EXCEPTIONS = TRUE&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;CFLAGSCXX += $(CPPUNIT_CFLAGS)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;SHL&amp;lt;var&amp;gt;n&amp;lt;/var&amp;gt;RPATH = NONE&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;SHL&amp;lt;var&amp;gt;n&amp;lt;/var&amp;gt;STDLIBS += $(CPPUNITLIB)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;SHL&amp;lt;var&amp;gt;n&amp;lt;/var&amp;gt;VERSIONMAP = &amp;lt;var&amp;gt;version.map&amp;lt;/var&amp;gt;&amp;lt;/code&amp;gt;, where that file must contain the following (see [[#CppUnit_1.12.1|details]] below for improving this):&lt;br /&gt;
  UDK_3_0_0 {&lt;br /&gt;
    global:&lt;br /&gt;
      cppunitTestPlugIn;&lt;br /&gt;
    local:&lt;br /&gt;
      *;&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
To run tests, &amp;lt;code&amp;gt;sal/cppunittester&amp;lt;/code&amp;gt; delivers a &amp;lt;code&amp;gt;cppunittester&amp;lt;/code&amp;gt; executable that has some advantages over the plain CppUnit &amp;lt;code&amp;gt;DllPlugInTester&amp;lt;/code&amp;gt;:&lt;br /&gt;
* It uses &amp;lt;code&amp;gt;SAL_IMPLEMENT_MAIN&amp;lt;/code&amp;gt; to properly set up the per-process settings required by URE.  Test code as well as tested code based on URE will expect this and would fail in a process that is not set up in this way.&lt;br /&gt;
* Getting CppUnit to build as an external module within the Windows OOo build is a non-trivial task.  The less parts of it that need to be built, the better.&lt;br /&gt;
&lt;br /&gt;
Something like the following in &amp;lt;code&amp;gt;makefile.mk&amp;lt;/code&amp;gt; will execute the tests:&lt;br /&gt;
  ALLTAR : test&lt;br /&gt;
  test .PHONY : $(SHL1TARGETN)&lt;br /&gt;
    $(CPPUNITTESTER) $(SHL1TARGETN)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$(CPPUNITTESTER)&amp;lt;/code&amp;gt; internally uses &amp;lt;code&amp;gt;$(AUGMENT_LIBRARY_PATH_LOCAL)&amp;lt;/code&amp;gt; to favor library instances in the local output tree over ones in solver.  Alternatively to the above, &amp;lt;code&amp;gt;.INCLUDE: _cppunit.mk&amp;lt;/code&amp;gt; calls &amp;lt;code&amp;gt;$(CPPUNITTESTER)&amp;lt;/code&amp;gt; on each of &amp;lt;code&amp;gt;$(SHL1TARGETN)&amp;lt;/code&amp;gt;, &amp;amp;hellip;, &amp;lt;code&amp;gt;$(SHL10TARGETN)&amp;lt;/code&amp;gt; that is defined.&lt;br /&gt;
&lt;br /&gt;
=== JUnit ===&lt;br /&gt;
&lt;br /&gt;
For tests in Java, plain JUnit (at least version 4) is available.  (OOo requires JUnit as a prerequisite, see [http://junit.org/ junit.org] for downloads; you can configure &amp;lt;code&amp;gt;--with-junit=&amp;lt;var&amp;gt;&amp;amp;hellip;&amp;lt;/var&amp;gt;&amp;lt;/code&amp;gt; if it is not automatically found; alternatively, you can configure &amp;lt;code&amp;gt;--without-junit&amp;lt;/code&amp;gt;, disabling JUnit-based tests.)&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;code&amp;gt;subsequenttests&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Some tests have build and/or run time dependencies on modules further up in the hierarchy, or modules that the rest of the module in question does not have dependencies on (and which are thus not listed in the module&amp;#039;s &amp;lt;code&amp;gt;build.lst&amp;lt;/code&amp;gt;).  The extreme case are tests that need a complete OOo installation as their test environment.&lt;br /&gt;
&lt;br /&gt;
For such tests, the whole &amp;lt;code&amp;gt;makefile.mk&amp;lt;/code&amp;gt; should be wrapped in:&lt;br /&gt;
  .IF &amp;quot;$(OOO_SUBSEQUENT_TESTS)&amp;quot; == &amp;quot;&amp;quot;&lt;br /&gt;
  nothing .PHONY :&lt;br /&gt;
  .ELSE&lt;br /&gt;
  ...&lt;br /&gt;
  .END&lt;br /&gt;
(and the directory included in the module&amp;#039;s &amp;lt;code&amp;gt;build.lst&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
The idea is to do a complete OOo build first (&amp;lt;code&amp;gt;cd smoketestoo_native &amp;amp;&amp;amp; build --all&amp;lt;/code&amp;gt;) and then build and execute those tests either selectively or wholesale.&lt;br /&gt;
&lt;br /&gt;
Selectively building a specific such test directory can be done with &amp;lt;code&amp;gt;cd &amp;lt;var&amp;gt;&amp;amp;hellip;&amp;lt;/var&amp;gt; &amp;amp;&amp;amp; OOO_SUBSEQUENT_TESTS=TRUE dmake&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To build and execute &amp;#039;&amp;#039;all&amp;#039;&amp;#039; these test directories, the tool &amp;lt;code&amp;gt;subsequenttests&amp;lt;/code&amp;gt; (in &amp;lt;code&amp;gt;solenv/bin&amp;lt;/code&amp;gt;) exists. It scans the &amp;lt;code&amp;gt;build.lst&amp;lt;/code&amp;gt; files of all modules for &amp;lt;code&amp;gt;makefile.mk&amp;lt;/code&amp;gt;s that mention &amp;lt;code&amp;gt;OOO_SUBSEQUENT_TESTS&amp;lt;/code&amp;gt; and simply executes &amp;lt;code&amp;gt;dmake&amp;lt;/code&amp;gt; in all those directories, with &amp;lt;code&amp;gt;OOO_SUBSEQUENT_TESTS&amp;lt;/code&amp;gt; set. It supports a &amp;lt;code&amp;gt;-P&amp;lt;var&amp;gt;n&amp;lt;/var&amp;gt;&amp;lt;/code&amp;gt; switch to build &amp;lt;var&amp;gt;n&amp;lt;/var&amp;gt; directories in parallel.&lt;br /&gt;
&lt;br /&gt;
=== Helpers ===&lt;br /&gt;
&lt;br /&gt;
A new module &amp;lt;code&amp;gt;test&amp;lt;/code&amp;gt; shall collect reusable code snippets for C++ and Java tests.&lt;br /&gt;
&lt;br /&gt;
For now, it concentrates on letting a test connect to an OOo instance via remote UNO: A C++ test class can hold a &amp;lt;code&amp;gt;test::OfficeConnection&amp;lt;/code&amp;gt; as class member and, in its CppUnit &amp;lt;code&amp;gt;setUp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;tearDown&amp;lt;/code&amp;gt; functions, call &amp;lt;code&amp;gt;OfficeConnection::setUp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OfficeConnection::tearDown&amp;lt;/code&amp;gt;, respectively.  Tests obtain access to the OOo instance via &amp;lt;code&amp;gt;OfficeConnection::getFactory&amp;lt;/code&amp;gt;.  Similarly, a Java test class can use an &amp;lt;code&amp;gt;org.openoffice.test.OfficeConnection&amp;lt;/code&amp;gt; instance, offering the same functionality as its C++ counterpart.&lt;br /&gt;
&lt;br /&gt;
For this to work, three additional steps are necessary:&lt;br /&gt;
* First, in &amp;lt;code&amp;gt;instsetoo_native&amp;lt;/code&amp;gt;, building an installation set for the &amp;lt;code&amp;gt;openoffice&amp;lt;/code&amp;gt; product in the default language (&amp;lt;code&amp;gt;en-US&amp;lt;/code&amp;gt;) in any package format now takes care to always also build an archive package format (&amp;lt;code&amp;gt;tar.gz&amp;lt;/code&amp;gt; resp. &amp;lt;code&amp;gt;zip&amp;lt;/code&amp;gt;) of that product.&lt;br /&gt;
* Second, building &amp;lt;code&amp;gt;smoketestoo_native&amp;lt;/code&amp;gt; permanently installs that archive into the solver.  (Except on Windows, where problems with resulting long pathnames prevent this; there, as a workaround, each test individually unzips the archive to some local temporary directory.) &lt;br /&gt;
* Third, a test that requires an OOo instance includes &amp;lt;code&amp;gt;installationtest.mk&amp;lt;/code&amp;gt; in its &amp;lt;code&amp;gt;makefile.mk&amp;lt;/code&amp;gt;. That file makes sure to call the CppUnit and JUnit test runners with the information necessary for the helper classes to start the correct OOo instance with a fresh &amp;lt;code&amp;gt;UserInstallation&amp;lt;/code&amp;gt; and set up an URP pipe connection. The information is tunneled into the test runner executables as UNO bootstrap parameters.&lt;br /&gt;
&lt;br /&gt;
For debugging purposes, which OOo instance the tests use can manually be overridden, see [http://www.openoffice.org/servlets/ReadMsg?list=interface-announce&amp;amp;msgNo=1285 &amp;amp;ldquo;OOO_TEST_SOFFICE: allow override of tested soffice process&amp;amp;rdquo;].&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;code&amp;gt;unoapi&amp;lt;/code&amp;gt; Tests ===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;unoapi&amp;lt;/code&amp;gt; tests are redesigned to use the new test framework.  They are plain JUnit tests and use the mechanisms described above to connect to running OOo instances.  However, due to the large amount of logic encoded in &amp;lt;code&amp;gt;qadevOOo&amp;lt;/code&amp;gt;, those JUnit tests for now are only thin wrappers around &amp;lt;code&amp;gt;org.openoffice.Runner.run&amp;lt;/code&amp;gt;.  This is intended to change over time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;cwscheckapi&amp;lt;/code&amp;gt; tool to run the &amp;lt;code&amp;gt;unoapi&amp;lt;/code&amp;gt; tests has been subsumed by &amp;lt;code&amp;gt;subsequenttests&amp;lt;/code&amp;gt;.  The latter always runs all tests, while the former had mechanisms to run only tests for modules that had been changed by a CWS.  The hope is that the parallel mode of &amp;lt;code&amp;gt;subsequenttests&amp;lt;/code&amp;gt; makes it fast enough so that running all tests all of the times becomes feasible.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, running the &amp;lt;code&amp;gt;unoapi&amp;lt;/code&amp;gt; tests is still not stable enough to give useful results.  Therefore, running &amp;lt;code&amp;gt;subsequenttests&amp;lt;/code&amp;gt; has been disabled in the build bots for now.  Making the tests sufficiently stable is ongoing work.&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
&lt;br /&gt;
Working on {{CWS|sb118}}, {{CWS|sb120}}.&lt;br /&gt;
&lt;br /&gt;
=== CppUnit 1.12.1 ===&lt;br /&gt;
&lt;br /&gt;
* Replace existing &amp;lt;code&amp;gt;cppunit&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;testshl2&amp;lt;/code&amp;gt; combo with latest CppUnit 1.12.1.&lt;br /&gt;
* OOo &amp;lt;code&amp;gt;configure --with-system-cppunit&amp;lt;/code&amp;gt; (for now only if also &amp;lt;code&amp;gt;--with-system-stl&amp;lt;/code&amp;gt;!); minimal required version for now arbitrarily 1.12.1.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; Upstream &amp;lt;code&amp;gt;PATCH_FILES&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;windows.patch&amp;lt;/code&amp;gt;?!?).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;RPATH&amp;lt;/code&amp;gt; in generated libraries and executables.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; Improve &amp;lt;code&amp;gt;CPPUNIT_PLUGIN_EXPORT&amp;lt;/code&amp;gt; and get rid of version maps (GCC exception problems?).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;cppunit/makefile.mk&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;MY_LIBS = -lm&amp;lt;/code&amp;gt; Solaris hack.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; In general OOo build environment, no longer set &amp;lt;code&amp;gt;CFLAGS&amp;lt;/code&amp;gt; etc. as environment variables; have package-specific &amp;lt;code&amp;gt;OOO_&amp;lt;var&amp;gt;package&amp;lt;/var&amp;gt;_CFLAGS&amp;lt;/code&amp;gt; etc. and combine those into &amp;lt;code&amp;gt;CFLAGS&amp;lt;/code&amp;gt; etc. where necessary (see &amp;lt;code&amp;gt;OOO_STLPORT_CXXFLAGS&amp;lt;/code&amp;gt; etc. in &amp;lt;code&amp;gt;cppunit/makefile.mk&amp;lt;/code&amp;gt;).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; Why use &amp;lt;code&amp;gt;cppunittester&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;DllPlugInTester&amp;lt;/code&amp;gt;?  (Remove building/delivering &amp;lt;code&amp;gt;DllPlugInTester&amp;lt;/code&amp;gt;.)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; Make &amp;lt;code&amp;gt;operator &amp;amp;lt;&amp;amp;lt;(std::basic_ostream &amp;amp;amp;, rtl::OUString const &amp;amp;amp;)&amp;lt;/code&amp;gt; from &amp;lt;code&amp;gt;test/oustringstreaminserter.hxx&amp;lt;/code&amp;gt; generally available?&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; Make STLport &amp;lt;code&amp;gt;num_put&amp;lt;/code&amp;gt; symbols available on platforms other than Linux (see &amp;lt;code&amp;gt;solenv/bin/addsym.awk&amp;lt;/code&amp;gt;), too, so that &amp;lt;code&amp;gt;CPPUNIT_ASSERT_EQUAL&amp;lt;/code&amp;gt; actually outputs numeric values.&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;code&amp;gt;testshl2&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;solenv/inc_cppunit.mk&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;cppunit.mk&amp;lt;/code&amp;gt;: [http://hg.services.openoffice.org/cws/sb118/rev/cf13421c3774 &amp;amp;ldquo;adapted &amp;lt;code&amp;gt;cppunit.mk&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;cppunittester&amp;lt;/code&amp;gt; and no longer require &amp;amp;lsquo;&amp;lt;code&amp;gt;dmake test&amp;lt;/code&amp;gt;&amp;amp;rsquo; to run tests&amp;amp;rdquo;].&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;DEV300_m68&amp;lt;/code&amp;gt; introduced &amp;lt;code&amp;gt;TESTSHL2LIB&amp;lt;/code&amp;gt; (which I removed again) and uses it in many &amp;lt;code&amp;gt;qa&amp;lt;/code&amp;gt; makefiles (that I need to touch someday, anyway).&lt;br /&gt;
&lt;br /&gt;
=== Unit Tests ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;OOO_SUBSEQUENT_TESTS&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;build.lst&amp;lt;/code&amp;gt; lists local dependencies of those directories, so that modifying a module and then calling &amp;amp;ldquo;&amp;lt;code&amp;gt;OOO_SUBSEQUENT_TESTS=x build&amp;lt;/code&amp;gt;&amp;amp;rdquo; rebuilds the module and executes the tests).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; If Build Environment&amp;amp;nbsp;2.0 would build directly to solver (instead of local output tree/deliver), that would simplify tests that currently need to take care to test local libraries instead of solver ones (see, for example, &amp;lt;code&amp;gt;OOO_TEST_PREFIX&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;services.rdb&amp;lt;/code&amp;gt; of &amp;lt;code&amp;gt;stoc/test/uriproc/makefile.mk&amp;lt;/code&amp;gt;).&lt;br /&gt;
{{Documentation/Note|Build Environment&amp;amp;nbsp;2.0 will not build directly to solver, but will make a module depend on the targets in the solver, and these are depending on the targets in the workdir (aka the old &amp;quot;local output tree&amp;quot;). Thus on an usual build in a module building and delivering are not two steps anymore. If tests depend on the target in the solver (which they will do automatically in most use cases, as linking against a library automatically creates a dependency on the library in the solver), they can be sure that the target is up to date in the solver &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; in the workdir.&lt;br /&gt;
&lt;br /&gt;
--[[User:B michaelsen|B michaelsen]] 06:32, 27 August 2010 (UTC)}}&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; Constructs like &amp;amp;ldquo;&amp;lt;code&amp;gt;-env:UNO_&amp;lt;var&amp;gt;&amp;amp;hellip;&amp;lt;/var&amp;gt;=$(my_file)&amp;lt;var&amp;gt;&amp;amp;hellip;&amp;lt;/var&amp;gt;&amp;lt;/code&amp;gt;&amp;amp;rdquo; would fail for problematic characters (spaces!) in paths.&lt;br /&gt;
&lt;br /&gt;
=== Smoke Test ===&lt;br /&gt;
&lt;br /&gt;
* Redesign &amp;lt;code&amp;gt;smoketestoo_native&amp;lt;/code&amp;gt; to use CppUnit and pre-installed OOo.&lt;br /&gt;
* [http://hg.services.openoffice.org/cws/sb118/rev/160b248247a0 &amp;amp;ldquo;changed &amp;lt;code&amp;gt;tools/debug&amp;lt;/code&amp;gt; to never fall back from writing to shell to writing to file, and read &amp;lt;code&amp;gt;DBGSV_INIT&amp;lt;/code&amp;gt; from &amp;lt;code&amp;gt;rtl::Bootstrap&amp;lt;/code&amp;gt;; the latter causes problems if &amp;lt;code&amp;gt;tools/debug&amp;lt;/code&amp;gt; is called from static code executing before &amp;lt;code&amp;gt;SAL_MAIN&amp;lt;/code&amp;gt; has called &amp;lt;code&amp;gt;osl_setCommandArgs&amp;lt;/code&amp;gt; &amp;amp;rarr; removed statics from code and added assertions to &amp;lt;code&amp;gt;osl/process&amp;lt;/code&amp;gt;; various improvements to &amp;lt;code&amp;gt;smoketests.cxx&amp;lt;/code&amp;gt; (incl. passing an appropriate &amp;lt;code&amp;gt;dbgsv.ini&amp;lt;/code&amp;gt; for non-pro builds)&amp;amp;rdquo;] followed by [http://hg.services.openoffice.org/cws/sb118/rev/dbbacb9d2fd3 &amp;amp;ldquo;reverted parts of HG &amp;lt;code&amp;gt;-c&amp;amp;nbsp;160b248247a0&amp;lt;/code&amp;gt; again: the &amp;amp;lsquo;static code executing before &amp;lt;code&amp;gt;SAL_MAIN&amp;lt;/code&amp;gt;&amp;amp;rsquo; problem was too severe; instead, globally set &amp;lt;code&amp;gt;DBGSV_INIT&amp;lt;/code&amp;gt; build env var to new &amp;lt;code&amp;gt;solenv/bin/dbgsv.ini&amp;lt;/code&amp;gt;&amp;amp;rdquo;]; see also {{issue|109142}} &amp;amp;ldquo;Let assertions abort&amp;amp;rdquo;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; For &amp;lt;code&amp;gt;smoketestoo_native/makefile.mk&amp;lt;/code&amp;gt; &amp;amp;ldquo;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;-env:arg-env=$(OOO_LIBRARY_PATH_VAR)&amp;quot;$${{$(OOO_LIBRARY_PATH_VAR)+=$$$(OOO_LIBRARY_PATH_VAR)}}&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;amp;rdquo; mechanism: &amp;lt;code&amp;gt;osl_executeProcess&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;ustrEnvironments&amp;lt;/code&amp;gt; members without &amp;amp;ldquo;&amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt;&amp;amp;rdquo;: all platforms; documentation; documentation of &amp;lt;code&amp;gt;osl_executeProcess_WithRedicrectedIO&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;-headless&amp;lt;/code&amp;gt;? (appears to still display windows on Windows and Mac OS&amp;amp;nbsp;X, however, see {{issue|109052}})&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; {{issue|113341}} &amp;amp;ldquo;-nofirststartwizard should disable update check&amp;amp;rdquo;&lt;br /&gt;
&lt;br /&gt;
=== Pre-Installed OOo ===&lt;br /&gt;
&lt;br /&gt;
* For Sun Hamburg Release Engineering, take MWS archive installation sets from &amp;amp;ldquo;S:&amp;amp;rdquo; instead of solver: [http://hg.services.openoffice.org/cws/sb118/rev/d5dbea724063 &amp;amp;ldquo;take installation set from &amp;lt;code&amp;gt;SHIPDRIVE&amp;lt;/code&amp;gt; if appropriate&amp;amp;rdquo;].&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TODO:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;PKGFORMAT=installed&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;archive&amp;lt;/code&amp;gt;?&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;code&amp;gt;unoapi&amp;lt;/code&amp;gt; Tests ===&lt;br /&gt;
&lt;br /&gt;
* Known issues, open (not yet addressed at all; disabled for now on net-yet-integrated CWS; or fixed on not-yet-integrated CWS):&lt;br /&gt;
** {{issue|116120}} &amp;amp;ldquo;vcl: TabControl::ImplGetTabRect negative height leads to X_CreatePixmap BadAlloc&amp;amp;rdquo;&lt;br /&gt;
** {{issue|116125}} &amp;amp;ldquo;qadevOOo/qa/complex/junitskeleton failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|116156}} &amp;amp;ldquo;toolkit/qa/unoapi crash in SwAccessibleMap::RemoveContext&amp;amp;rdquo;&lt;br /&gt;
** {{issue|116192}} &amp;amp;ldquo;[sw] fixed text fields sometimes get updated&amp;amp;rdquo;&lt;br /&gt;
** {{issue|116550}} &amp;amp;ldquo;toolkit/qa/unoapi crashes OOo in ~SwAccessibleParagraph vs. SwXTextDocument::close&amp;amp;rdquo;&lt;br /&gt;
** {{issue|116583}} &amp;amp;ldquo;comphelper/qa/complex/comphelper failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|116730}} &amp;amp;ldquo;vcl: crash with multiple threads in Window::ImplGrabFocus&amp;amp;rdquo;&lt;br /&gt;
** {{issue|116733}} &amp;amp;ldquo;sw: crash in ~SwDrawContact (forms/qa/unoapi)&amp;amp;rdquo;&lt;br /&gt;
* Known issues, disabled for now:&lt;br /&gt;
** {{issue|109517}} &amp;amp;ldquo;sc/qa/unoapi fails for ScAnnotationObj etc.&amp;amp;rdquo;&lt;br /&gt;
** {{issue|109518}} &amp;amp;ldquo;sd/qa/unoapi crash in SfxViewShell::GetController&amp;amp;rdquo;&lt;br /&gt;
** {{issue|109643}} &amp;amp;ldquo;toolkit/qa/unoapi tests fail when losing focus&amp;amp;rdquo;&lt;br /&gt;
** {{issue|109728}} &amp;amp;ldquo;~ScAutoFormatObj uses cleared ScGlobal&amp;amp;rdquo;&lt;br /&gt;
** {{issue|109917}} &amp;amp;ldquo;fragile unoapi test using OnUnfocus event&amp;amp;rdquo;&lt;br /&gt;
** {{issue|109939}} &amp;amp;ldquo;toolkit: inconsistent UnoControl locking schemes&amp;amp;rdquo;&lt;br /&gt;
** {{issue|110862}} &amp;amp;ldquo;sc/qa/unoapi fails for sc.ScDataPilotTableObj::com::sun::star::sheet::XDataPilotTable::refresh()&amp;amp;rdquo;&lt;br /&gt;
** {{issue|110988}} &amp;amp;ldquo;svtools/qa/unoapi fails for svtools.AccessibleBrowseBox etc.&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111006}} &amp;amp;ldquo;toolkit: deadlock between UnoControls&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111032}} &amp;amp;ldquo;sc/qa/unoapi sc.ScAccessibleCell::com::sun::star::accessibility::XAccessibleText getCharacterBounds() failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111042}} &amp;amp;ldquo;sd/qa/unoapi sd::DrawController::dispose crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111043}} &amp;amp;ldquo;sd/qa/unoapi sd::DrawController_OutlineView NullPointerException&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111102}} &amp;amp;ldquo;chart2: ChartModelHelper::findDiagram returns null&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111111}} &amp;amp;ldquo;xmloff.Impress.XMLImporter::com::sun::star::document::XImporter&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111113}} &amp;amp;ldquo;toolkit.AccessibleStatusBarItem unoapi failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111148}} &amp;amp;ldquo;forms/qa/unoapi forms.OImageControlModel::com::sun::star::beans::XMultiPropertySet deadlock&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111169}} &amp;amp;ldquo;svx.AccessiblePageShape unoapi failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111170}} &amp;amp;ldquo;sun/i18n/qa/unoapi &amp;quot;creating a drawdoc&amp;quot; failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111178}} &amp;amp;ldquo;sw/qa/unoapi SwView::SelectShell crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111180}} &amp;amp;ldquo;framework/qa/unoapi fwk.Desktop::com::sun::star::frame::XComponentLoader::loadComponentFromURL() failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111182}} &amp;amp;ldquo;Desktop::terminate -&amp;gt; ~DropTarget -&amp;gt; _objc_error crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111184}} &amp;amp;ldquo;sal/qa/osl/pipe uses fixed pipe names&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111186}} &amp;amp;ldquo;sw/qa/unoapi sw.PageStyle::com::sun::star::beans::XPropertySet::setPropertyValue() failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111190}} &amp;amp;ldquo;sw/qa/unoapi sw.SwXShape failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111194}} &amp;amp;ldquo;sw/qa/unoapi sw.XMLExporter crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111195}} &amp;amp;ldquo;toolkit/qa/unoapi toolkit.AccessibleScrollBar::com::sun::star::accessibility::XAccessibleValue::setCurrentValue() failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111197}} &amp;amp;ldquo;sw/qa/unoapi sw.SwAccessibleDocumentPageView failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111199}} &amp;amp;ldquo;sd/qa/unoapi sd.AccessibleOutlineView failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111200}} &amp;amp;ldquo;xmloff/qa/unoapi xmloff.Draw.XMLMetaImporter failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111216}} &amp;amp;ldquo;svx/qa/unoapi accessibility deadlock&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111218}} &amp;amp;ldquo;sw/qa/unoapi sw.SwAccessibleParagraphView::com::sun::star::accessibility::XAccessibleEventBroadcaster::removeEventListener() failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111220}} &amp;amp;ldquo;sw/qa/unoapi sw.XMLContentExporter::com::sun::star::document::XFilter::cancel() failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111224}} &amp;amp;ldquo;xmloff/qa/unoapi xmloff.Impress.XMLContentExporter crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111225}} &amp;amp;ldquo;toolkit/qa/unoapi toolkit.AccessibleStatusBar failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111252}} &amp;amp;ldquo;svx/qa/unoapi svx.AccessibleOLEShape deadlock&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111273}} &amp;amp;ldquo;sw/qa/unoapi sw.SwXTextEmbeddedObject::com::sun::star::document::XEmbeddedObjectSupplier::getEmbeddedObject() crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111278}} &amp;amp;ldquo;svx/qa/unoapi svx.AccessibleEditableTextPara failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111283}} &amp;amp;ldquo;sfx2/qa/unoapi sfx.StandaloneDocumentInfo failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111285}} &amp;amp;ldquo;forms/qa/unoapi forms.OButtonModel failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111287}} &amp;amp;ldquo;xmloff/qa/unoapi XMLSettingsIm-/Exporter crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111329}} &amp;amp;ldquo;sd/qa/unoapi SdXCustomPresentationAccess::getElementNames/ImpEditEngine::OnlineSpellHdl hang&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111332}} &amp;amp;ldquo;sw/qa/unoapi sw.XMLStylesExporter::com::sun::star::document::XFilter crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111333}} &amp;amp;ldquo;forms/qa/unoapi forms.OImageControlControl::com::sun::star::awt::XControl deadlock&amp;amp;rdquo;&lt;br /&gt;
** {{issue|112743}} &amp;amp;ldquo;starmath/qa/unoapi sm.XMLSettingsExporter failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|112746}} &amp;amp;ldquo;framework/qa/unoapi fwk.ModuleManager failure (X11 BadWindow)&amp;amp;rdquo;&lt;br /&gt;
** {{issue|112751}} &amp;amp;ldquo;testgraphical/qa/graphical failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|112778}} &amp;amp;ldquo;xmloff/qa/unoapi xmloff.Draw.XMLContentExporter failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|113020}} &amp;amp;ldquo;sw/qa/unoapi sw.SwXTextGraphicObject::com::sun::star::beans::XPropertySet failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|113103}} &amp;amp;ldquo;chart2: deadlock between DiagramHelper and Diagram&amp;amp;rdquo;&lt;br /&gt;
** {{issue|113136}} &amp;amp;ldquo;sw/qa/unoapi sw.SwAccessibleParagraphView::com::sun::star::accessibility::XAccessibleEditableText failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|113142}} &amp;amp;ldquo;sw/qa/unoapi SwAccessibleContext::RemoveFrmFromAccessibleMap crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|113161}} &amp;amp;ldquo;sd/qa/unoapi sd.SdLayer::com::sun::star::drawing::Layer::IsVisible failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|113201}} &amp;amp;ldquo;forms/qa/unoapi forms.OEditModel::com::sun::star::form::validation::XValidatableFormComponent failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|113245}} &amp;amp;ldquo;framework/qa/unoapi fwl.TypeDetection failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|113306}} &amp;amp;ldquo;sfx2/qa/unoapi sfx.DocumentTemplates failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|113386}} &amp;amp;ldquo;sd/qa/unoapi sd.AccessibleDrawDocumentView::com::sun::star::accessibility::XAccessibleComponent::containsPoint() failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|113489}} &amp;amp;ldquo;toolkit/qa/unoapi toolkit.AccessibleMenu{,Bar,Separator} failures&amp;amp;rdquo;&lt;br /&gt;
** {{issue|114205}} &amp;amp;ldquo;sw/qa/unoapi sw.SwAccessibleParagraphView::com::sun::star::accessibility::XAccessibleText::copyText() failed&amp;amp;rdquo;&lt;br /&gt;
** {{issue|114209}} &amp;amp;ldquo;forms/qa/unoapi forms.OGridControlModel::com::sun::star::view::XSelectionSupplier crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|114211}} &amp;amp;ldquo;xmloff/qa/unoapi xmloff.Draw.XMLStylesImporter::com::sun::star::lang::XInitialization crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|114213}} &amp;amp;ldquo;toolkit/qa/unoapi toolkit.AccessibleMenu::com::sun::star::accessibility::XAccessibleSelection failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|114636}} &amp;amp;ldquo;toolkit/qa/unoapi toolkit.AccessibleScrollBar::com::sun::star::accessibility::XAccessibleAction failure&amp;amp;rdquo;&lt;br /&gt;
** {{issue|114637}} &amp;amp;ldquo;sw/qa/unoapi sw.SwAccessibleFootnoteView(?) crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|114642}} &amp;amp;ldquo;svx/qa/unoapi svx: svx.SvxUnoTextContent::com::sun::star::style::CharacterProperties crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|114669}} &amp;amp;ldquo;forms/qa/unoapi forms.OListBoxControl crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|114889}} &amp;amp;ldquo;sw/qa/unoapi sw.SwXTextViewCursor::com::sun::star::view::XScreenCursor&amp;amp;rdquo;&lt;br /&gt;
** {{issue|116784}} &amp;amp;ldquo;[sfx2] CheckGlobalEventBroadcaster_writer1 fails&amp;amp;rdquo;&lt;br /&gt;
** {{issue|116813}} &amp;amp;ldquo;[sfx2] complex.sfx2.UndoManager checkBrokenScripts fails&amp;amp;rdquo;&lt;br /&gt;
** {{issue|116814}} &amp;amp;ldquo;[toolkit] unoapi test UnoControlDialogModel: XCloneable fails&amp;amp;rdquo;&lt;br /&gt;
* Missing tests:&lt;br /&gt;
** {{issue|109564}} &amp;amp;ldquo;qadevOOo/tests/java/ifc/awt/_XSystemChildFactory.java&amp;amp;rdquo;&lt;br /&gt;
* Sporadic failures:&lt;br /&gt;
** {{issue|111217}} &amp;amp;ldquo;BasicManager::SetGlobalUNOConstant crash during shutdown&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111246}} &amp;amp;ldquo;svx::FontHeightToolBoxControl::statusChanged crash (memory corruption)&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111271}} &amp;amp;ldquo;Mac OS X: crash during shutdown, __tcf_2 on stack&amp;amp;rdquo;&lt;br /&gt;
** {{issue|111400}} &amp;amp;ldquo;Extension Manager does not join spawned uno process (-&amp;gt; smoketestoo_native fails)&amp;amp;rdquo;&lt;br /&gt;
** {{issue|112070}} &amp;amp;ldquo;UNO API tests must not use random&amp;amp;rdquo;&lt;br /&gt;
** {{issue|113158}} &amp;amp;ldquo;crash with two threads in framework::ToolBarManager dtor&amp;amp;rdquo;&lt;br /&gt;
** {{issue|113197}} &amp;amp;ldquo;sw/qa/unoapi sw.SwXTextRange hangs&amp;amp;rdquo;&lt;br /&gt;
** {{issue|113367}} &amp;amp;ldquo;sysdtrans deadlock during shutdown&amp;amp;rdquo;&lt;br /&gt;
** {{issue|113464}} &amp;amp;ldquo;stoc_smgr::ORegistryServiceManager::dispose crash during shutdown&amp;amp;rdquo;&lt;br /&gt;
** {{issue|114207}} &amp;amp;ldquo;framework::ModuleUIConfigurationManager::dispose crash during shutdown&amp;amp;rdquo;&lt;br /&gt;
** {{issue|114675}} &amp;amp;ldquo;binary URP bridge race on shut down, crash&amp;amp;rdquo;&lt;br /&gt;
** {{issue|114718}} &amp;amp;ldquo;forms/qa/unoapi: crash in remote async release call&amp;amp;rdquo;&lt;br /&gt;
** {{issue|116131}} &amp;amp;ldquo;vcl: message unregisterDraggingDestinationHandler: sent to freed object&amp;amp;rdquo;&lt;br /&gt;
&lt;br /&gt;
[[Category:Effort]][[Category:Test]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide/Building_on_Windows&amp;diff=193046</id>
		<title>Documentation/Building Guide/Building on Windows</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide/Building_on_Windows&amp;diff=193046"/>
		<updated>2011-02-04T12:37:57Z</updated>

		<summary type="html">&lt;p&gt;Mst: make --disable-atl more prominent&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/Building Guide TOC&lt;br /&gt;
|ShowNextPage=none&lt;br /&gt;
|ShowPrevPage=none&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:Building on Windows}}&lt;br /&gt;
[[Category:Windows]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Windows| This document explains how to build the OpenOffice.org source code on Windows systems.}}&lt;br /&gt;
&lt;br /&gt;
For building OpenOffice.org Cygwin is needed, a Windows program that emulates a complete Unix command line environment. To use this document you need to be familiar with a command line, but you need not to be a UNIX shell wizard.&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Tip|If you have never used a Unix shell, you might want to take a look at the [http://tldp.org/LDP/GNU-Linux-Tools-Summary/html/index.html shell introduction at TLDP].}}&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Note|&amp;lt;code&amp;gt;$SRC_ROOT&amp;lt;/code&amp;gt; will denote the directory in which the source code of OpenOffice.org is stored.}}&lt;br /&gt;
{{Template:Documentation/Tip|You are advised to check the release notes for the release you are building to inform yourself about changes since previous releases.}}&lt;br /&gt;
&lt;br /&gt;
= Requirements =&lt;br /&gt;
== hardware requirements ==&lt;br /&gt;
&lt;br /&gt;
* 1 or more reasonable fast CPUs (x-way CPU recommended)&lt;br /&gt;
* 1 GB RAM (2 GB recommended)&lt;br /&gt;
* 10 GB free disk space (20 GB when debugging)&lt;br /&gt;
&lt;br /&gt;
== software requirements ==&lt;br /&gt;
* Windows XP/Vista&lt;br /&gt;
&lt;br /&gt;
The following table is placed here, so you can come back to it easily, when you want to use a link. The items are explained below. Here&amp;#039;s the list of files to download (with links) and the locations in the source tree where you must put them:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Where to get&lt;br /&gt;
! Place in&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin: [http://www.cygwin.com Cygwin Toolkit with (dll version 1.5.10) or later]&lt;br /&gt;
| (default)&lt;br /&gt;
|-&lt;br /&gt;
| C/C++ Compiler: free: [http://www.microsoft.com/express/download/ Visual C++ 2008 Express Compiler (basic install, no optional parts required)] official: Visual C++ 2008 Professional&lt;br /&gt;
| (default)&lt;br /&gt;
|-&lt;br /&gt;
| Java: [http://java.sun.com/javase/6/ JDK 1.6] for DEV300 milestones &amp;gt;= m37 and all OOo310 versions (older milestones will fail in the hsqldb module)&lt;br /&gt;
| (default)&lt;br /&gt;
|-&lt;br /&gt;
| [http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&amp;amp;displaylang=en Windows SDK for Windows Server 2008]&amp;lt;ref name=&amp;quot;Foot1&amp;quot;&amp;gt;{{Template:Documentation/Note|This also supported on Vista. This is either a DVD image or a net installer. You can either mount the DVD with a suitable tool, burn it do a DVD or use tools like winrar that can extract files from ISO files directly. You don&amp;#039;t need to install samples or documentation (saves a lot of disk space). It will also install the .NET Framework 3.5 SDK.&lt;br /&gt;
It might be best to install the Windows SDK into the default directory, and if not that into one without capital letters in the path. I used D:\Dev\Win_SDK\ and received some linking errors in the Python module (see {{Bug|88568}}).}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&amp;amp;displaylang=en GDI+ Redistributable] (Genuine Windows Validation required)&lt;br /&gt;
| external/gdiplus&lt;br /&gt;
|-&lt;br /&gt;
| Only for OOo2.x but due to {{Bug|88652}} in configure still needed for 3.x: [http://download.microsoft.com/download/b/7/5/b75eace3-00e2-4aa0-9a6f-0b6882c71642/unicows.exe unicows.dll from (Microsoft Layer for Unicode)]&amp;lt;ref name=&amp;quot;Foot2&amp;quot;&amp;gt; {{Template:Documentation/Note|unicows.dll is available from the Microsoft site and needs to be saved to $SRC_ROOT/external/unicows. Microsoft seems to enjoy changing the exact location of this file. You may have to search Microsoft&amp;#039;s website.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| external/unicows&lt;br /&gt;
|-&lt;br /&gt;
| [http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=CD1FC4B2-0885-47F4-AF45-7FD5E14DB6C0 dbghelp.dll]&amp;lt;ref name=&amp;quot;Foot3&amp;quot;&amp;gt;{{Template:Documentation/Note|dbghelp.dll is available from the Microsoft site and needs to be saved to $SRC_ROOT/external/dbghelp. Microsoft seems to enjoy changing the exact location of this file. You may have to search Microsoft&amp;#039;s website.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| external/dbghelp&lt;br /&gt;
|-&lt;br /&gt;
| [http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe instmsiw.exe] and [http://download.microsoft.com/download/WindowsInstaller/Install/2.0/W9XMe/EN-US/InstMsiA.exe instmsia.exe]&lt;br /&gt;
| external/msi&lt;br /&gt;
|-&lt;br /&gt;
| for 2005 compiler and Seamonkey libraries from OpenOffice.org 3.2 up: msvcp80.dll and msvcr80.dll (found in c:\WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd/msvc &lt;br /&gt;
| external/msvcp80&lt;br /&gt;
|-&lt;br /&gt;
| for 2008 compiler (until DEV300 m22): msvcp90.dll and msvcr90.dll (found in $(msvcdir)\Vc\redist\x86\Microsoft.VC90.CRT) &lt;br /&gt;
| external/msvcp90&lt;br /&gt;
|-&lt;br /&gt;
| for 2008 compiler starting with DEV300m23: Microsoft_VC90_CRT_x86.msm and policy_9_0_Microsoft_VC90_CRT_x86.msm for non debug builds and Microsoft_VC90_DebugCRT_x86.msm and policy_9_0_Microsoft_VC90_DebugCRT_x86.msm for debug builds&amp;lt;ref name=&amp;quot;Foot4&amp;quot;&amp;gt; {{Template:Documentation/Note|You can find these files in your directory c:\program files\common files\merge modules}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
. These merge modules are available in VS08 Express Edition and VS08 Professional Edtion. All *.msm files are located at c:\Program Files\Common Files\Merge Module. &lt;br /&gt;
| external/msm90&lt;br /&gt;
|-&lt;br /&gt;
| [http://archive.apache.org/dist/ant/binaries Apache Ant (version 1.6.5 or later)]&lt;br /&gt;
| (default)&lt;br /&gt;
|-&lt;br /&gt;
| [http://tools.openoffice.org/moz_prebuild/OOo3.2 Mozilla binary distribution] &lt;br /&gt;
&lt;br /&gt;
(WNTMSCIruntime.zip,WNTMSCIlib.zip,WNTMSCIinc.zip)&lt;br /&gt;
| moz/zipped&lt;br /&gt;
|-&lt;br /&gt;
| msvcr71.dll and msvcp71.dll for Mozilla libraries (Search for them in the Web or on your PC. These files should be named as all lower case. Sometimes when downloaded they are upper case and this will cause &amp;#039;file not found&amp;#039; errors towards the end of the build))&lt;br /&gt;
| external/msvcp71 &lt;br /&gt;
|-&lt;br /&gt;
| optional: [http://nsis.sourceforge.net/ Nullsoft Scriptable Install System (NSIS)]&amp;lt;ref name=&amp;quot;Foot5&amp;quot;&amp;gt;{{Template:Documentation/Note|If NSIS is available, a self contained Windows installer is created in addition to the MSI installer files.}}&lt;br /&gt;
{{Template:Documentation/Caution|It used to be that newer version of NSIS broke the build (see {{Bug|85657}}), but it seems that it now works for NSIS up to 2.3.7.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| optional: [http://msdn.microsoft.com/directx/directxdownloads/ Microsoft DirectX SDK]&amp;lt;ref name=&amp;quot;Foot6&amp;quot;&amp;gt; {{Template:Documentation/Note|If you don&amp;#039;t want to download it you can disable DirectX support in the configuration step (&amp;lt;code&amp;gt;--disable-directx&amp;lt;/code&amp;gt;).}}&lt;br /&gt;
{{Template:Documentation/Caution|Current (as of 2008/01) versions of the DirectX9 SDK and Windows Platform SDK do not fit to each other. To be able to build with DirextX enabled, you need to patch one file in the Platform SDK. See http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID2743771 for details.}}&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Caution|Do not use a DirectX10 SDK!}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== adding required files to the build tree ===&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Tip|Some of the files can be found in a suitable OOo installation set also, so you can save the download by “stealing” it from your OOo installation.}}&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Note|OOo uses some Mozilla libraries. Building the corresponding sources is only possible with the VC2003 compiler so you have to use precompiled libraries that require the msvx71 libraries mentioned above. On Windows the Mozilla libraries are needed only for Mozilla address book support. Unfortunately a bug in the module dependencies makes it necessary that the Mozilla libaries are used anyway as otherwise building the module &amp;lt;tt&amp;gt;xmlsecurity&amp;lt;/tt&amp;gt; fails (see below).}}&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Note|The default cygwin version offered on http://www.cygwin.com/ now is 1.7.x. For current milestones it is recommended to use this version as it fixes the .dll remapping probelm (see below) and is required for builds on Windows 7. If you need to build old versions of the source code, check out http://www.cygwin.com/win-9x.html}}&lt;br /&gt;
&lt;br /&gt;
= Installation and Preparation of Build Tools =&lt;br /&gt;
== setting up cygwin ==&lt;br /&gt;
&lt;br /&gt;
Go to http://www.cygwin.com/ and download and install the current version.&lt;br /&gt;
{{Template:Documentation/Caution|Make sure that you keep the filetype set to “Unix/binary”.}}&lt;br /&gt;
{{Template:Documentation/Caution|Make sure that the PATH variable in your cygwin shell does not contain any blanks and quotes, otherwise configure will not work}}&lt;br /&gt;
&lt;br /&gt;
=== required additional packages ===&lt;br /&gt;
Cygwin consists of some basic and a lot of optional packages. As building OOo needs some of these optional packages you have to select them in the installer.&lt;br /&gt;
Here&amp;#039;s a complete list of the needed packages:&lt;br /&gt;
* Category Archive:&lt;br /&gt;
** unzip&lt;br /&gt;
** zip&lt;br /&gt;
* Category Devel :&lt;br /&gt;
** autoconf&lt;br /&gt;
** bison&lt;br /&gt;
** flex&lt;br /&gt;
** gcc-g++&lt;br /&gt;
** gperf&lt;br /&gt;
** make&lt;br /&gt;
** openssl-devel (only needed for perl modules for CWS tooling, see below)&lt;br /&gt;
** mercurial (or cvs for 2.x-3.0, or subversion for 3.1 codeline)&lt;br /&gt;
** readline&lt;br /&gt;
* Category Libs&lt;br /&gt;
** openssl&lt;br /&gt;
* Category Net&lt;br /&gt;
** openssh&lt;br /&gt;
* Category Perl&lt;br /&gt;
** perl&lt;br /&gt;
* Category Shells&lt;br /&gt;
** mintty&lt;br /&gt;
* Category Utils&lt;br /&gt;
** patch&lt;br /&gt;
** gnupg&lt;br /&gt;
* Category Web&lt;br /&gt;
** wget&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Note|The installer will automatically check and download some more packages needed by thosed listed here. The whole process takes roughly 20 minutes.}}&lt;br /&gt;
&lt;br /&gt;
=== breaking links to executables ===&lt;br /&gt;
Within the Cygwin Toolkit, some executables might be symlinks: awk.exe and gunzip.exe, tar.exe (in older releases only). This can lead to a break of the build later, and the symlinks should be replaced by copies of the command they link to. &lt;br /&gt;
&lt;br /&gt;
To check this, execute:&lt;br /&gt;
&lt;br /&gt;
 ls -l /bin/awk.exe&lt;br /&gt;
&lt;br /&gt;
whether e.g. awk.exe is a symlink. In version 1.5.24-2 awk.exe is a link to gawk.exe. The shell will show this by putting out “awk.exe -&amp;gt; gawk.exe”. In this case gawk.exe must be copied to awk.exe by executing: &lt;br /&gt;
&lt;br /&gt;
 cd /bin&lt;br /&gt;
 rm awk.exe&lt;br /&gt;
 cp gawk.exe awk.exe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In case you overlook something here or you have a newer Cygwin version with additional symlinks not mentioned here it&amp;#039;s not a problem. You will get a helpful error message about an existing link in the configuration step (configure) later. The message will tell you which link you have to remove and you can do it following the advice given above for the awk.exe/gawk.exe pair.&lt;br /&gt;
&lt;br /&gt;
=== installing additional perl modules in cygwin ===&lt;br /&gt;
As explained some perl modules must be installed with CPAN. The necessary command in the cygwin shell is&lt;br /&gt;
&lt;br /&gt;
 perl -MCPAN -e shell&lt;br /&gt;
&lt;br /&gt;
If this command is executed the first time CPAN will ask for configuration. Choose autoconfiguration. &lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Caution|Please note that CPAN is not able to deal with usernames containing spaces. To work around this fact, when CPAN asks you to specify the &amp;#039;&amp;#039;CPAN build and cache directory&amp;#039;&amp;#039;, change the default suggestion to &amp;lt;tt&amp;gt;/cpan&amp;lt;/tt&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
At the end the CPAN shell appeared and is ready to accept commands for installations. Each module is installed by typing &amp;lt;code&amp;gt;install $MODULENAME&amp;lt;/code&amp;gt;. The modules that must be installed are:&lt;br /&gt;
&lt;br /&gt;
* Archive::Zip&lt;br /&gt;
* XML::Parser (though it seems that this is already installed; doesn&amp;#039;t hurt to do it)&lt;br /&gt;
* URI&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* Crypt::SSLeay&lt;br /&gt;
* SOAP::Lite&lt;br /&gt;
&lt;br /&gt;
CPAN will detect if a selected module depends on other modules and it will offer to download them also. As explained please just confirm this.&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Note|The last three modules are only needed if you want to use the cws tooling. These tools are necessary if you want to create and maintain your own [http://wiki.services.openoffice.org/wiki/CWS Child Workspaces] or if you want to build one of them. I recommend to install them anyway as sooner or later you want to work on a child workspace.}}&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Caution|I got an error message from CPAN somewhat like the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;C:\cygwin\bin\perl.exe: *** unable to remap C:\cygwin\bin\cygiconv-2.dll to same&lt;br /&gt;
address as parent(0x7C0000) != 0x7D0000&amp;lt;/pre&amp;gt;&lt;br /&gt;
To fix this, I had to exit the Cygwin shell, run cmd.exe, then type &amp;quot;c:\cygwin\bin\ash.exe&amp;quot; to start the minimal shell, then type &amp;lt;code&amp;gt;/bin/rebaseall&amp;lt;/code&amp;gt;. Then CPAN worked when I ran it again.}}&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Caution| I got another error when cygwin was performing &amp;lt;tt&amp;gt;make install&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;ERROR: Can&amp;#039;t create &amp;#039;/usr/bin&amp;#039;; Do not have write permissions on &amp;#039;/usr/bin&amp;#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
I can actually write to /usr/bin; however when I do &amp;lt;tt&amp;gt;ls -ld /usr/bin&amp;lt;/tt&amp;gt;, cygwin reports no write permission; and &amp;lt;tt&amp;gt;chmod u+w /usr/bin&amp;lt;/tt&amp;gt; gives &amp;lt;tt&amp;gt;Permission denied&amp;lt;/tt&amp;gt;.  This causes the install process to fail when it checks permissions. As a kludge, I installed vim, and edited line 368 of /usr/lib/perl5/5.10/ExtUtils/Install.pm, replacing this:&lt;br /&gt;
&amp;lt;pre&amp;gt;return -w $dir;&amp;lt;/pre&amp;gt;&lt;br /&gt;
with this:&lt;br /&gt;
&amp;lt;pre&amp;gt;return 1;&amp;lt;/pre&amp;gt;&lt;br /&gt;
which allowed installation to proceed.}}&lt;br /&gt;
&lt;br /&gt;
= Full Builds =&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Caution| Use a short absolute directory name to store OpenOffice.org source, such as &amp;lt;tt&amp;gt;C:\ooo&amp;lt;/tt&amp;gt;. Otherwise, there are weird issues during the building of the &amp;lt;tt&amp;gt;postprocess&amp;lt;/tt&amp;gt; module, because the command line length of some build actions is too long: &amp;lt;pre&amp;gt; 1 [main] perl 1972 C:\cygwin\bin\perl.exe: *** fatal error - fork: can&amp;#039;t reserve memory for stack 0x83C840 - 0x840000, &lt;br /&gt;
Win32 error 487&lt;br /&gt;
 &amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== configure ==&lt;br /&gt;
Finally the &amp;lt;code&amp;gt;configure&amp;lt;/code&amp;gt; tool is used to create the environment. It checks that all software, hardware, and system requirements for the build are satisfied, and creates configuration files called winenv.set (for tcsh) and winenv.set.sh (for bash) that are used to set all necessary build environment variables. Before running configure, make sure that all needed programs are in the system path or start configure with the appropriate command line switches. If configure detects a problem it will stop and give you a useful hint how to fix it.&lt;br /&gt;
&lt;br /&gt;
You will find the &amp;lt;code&amp;gt;configure&amp;lt;/code&amp;gt; script in &amp;lt;code&amp;gt;$SRC_ROOT&amp;lt;/code&amp;gt;. The resulting configuration files are created there too.&lt;br /&gt;
&lt;br /&gt;
==== sample configure calls ====&lt;br /&gt;
&lt;br /&gt;
You can get short explanations for all parameters by using ./configure --help.&lt;br /&gt;
&lt;br /&gt;
minimum (requires the most prerequisites) - pathes of course are machine dependent:&lt;br /&gt;
&lt;br /&gt;
 ./configure &lt;br /&gt;
  --disable-build-mozilla &lt;br /&gt;
  --with-mozilla-build=&amp;quot;/cygdrive/d/OOo/mozilla-build-1.3&amp;quot; \&lt;br /&gt;
  --with-cl-home=&amp;quot;/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC&amp;quot; \&lt;br /&gt;
  --with-mspdb-path=&amp;quot;/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/Common7/IDE&amp;quot; \&lt;br /&gt;
  --with-frame-home=&amp;quot;/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1&amp;quot; \&lt;br /&gt;
  --with-psdk-home=&amp;quot;/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1&amp;quot; \&lt;br /&gt;
  --with-midl-path=&amp;quot;/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1/Bin&amp;quot; \&lt;br /&gt;
  --with-asm-home=&amp;quot;/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/Bin&amp;quot; \&lt;br /&gt;
  --with-csc-path=&amp;quot;/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5&amp;quot; \&lt;br /&gt;
  --with-jdk-home=&amp;quot;/cygdrive/c/j2sdk1.5.0.06&amp;quot; \&lt;br /&gt;
  --with-directx-home=&amp;quot;/cygdrive/d/OOo/DirectXSDK&amp;quot; \&lt;br /&gt;
  --with-ant-home=/ant \&lt;br /&gt;
&lt;br /&gt;
some further settings that might help to get rid of some prerequisites that not every developer needs (but be aware, this will also remove some parts from the final build result):&lt;br /&gt;
&lt;br /&gt;
  --disable-mozilla \&lt;br /&gt;
  --disable-activex \&lt;br /&gt;
  --disable-directx \&lt;br /&gt;
  --disable-atl \&lt;br /&gt;
  --without-junit \&lt;br /&gt;
  --disable-binfilter \&lt;br /&gt;
  --disable-odk \&lt;br /&gt;
&lt;br /&gt;
for all builds on code lines older than OOo330 or older than milestone m77 on the DEV300 code line:&lt;br /&gt;
&lt;br /&gt;
  --with-use-shell=bash&lt;br /&gt;
&lt;br /&gt;
some other settings worth considering: &lt;br /&gt;
&lt;br /&gt;
  --enable-pch \&lt;br /&gt;
  --enable-werror \&lt;br /&gt;
  --enable-dbgutil \&lt;br /&gt;
&lt;br /&gt;
in case you want to have several workspaces on your hard disk, it might be a good idea to share external source tarballs:&lt;br /&gt;
&lt;br /&gt;
  --with-external-tar=d:/OOo/ext_sources \&lt;br /&gt;
&lt;br /&gt;
==== configure settings tips ====&lt;br /&gt;
{{Template:Documentation/Caution|Make sure that the &amp;lt;code&amp;gt;PATH&amp;lt;/code&amp;gt; variable in your cygwin shell does not contain any blanks and quotes.}}&lt;br /&gt;
{{Template:Documentation/Caution|Paths might have problems with spaces. Install requirements into pathes without them. Alternatively, feel free to install the various packages using the default path containing spaces and then use the mixed short path for the configure stage. The mixed short path can be obtained using Cygwin&amp;#039;s cygpath tool, eg:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ cygpath -m -s &amp;quot;c:\Program Files\Microsoft Visual Studio 9.0\VC&amp;quot;&lt;br /&gt;
 c:/PROGRA~1/MICROS~1.0/VC&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;with-psdk-home&amp;lt;/code&amp;gt; setting needs a case-sensitive path name. I recommend to use case-sensitive usage in all cases - it&amp;#039;s good to get used to case sensitivity if you are going to work with Cygwin.}}&lt;br /&gt;
{{Template:Documentation/Caution|Beware of using &amp;lt;code&amp;gt;/c/&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;/cygdrive/c/&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
{{Template:Documentation/Caution|Avoid trailing slashes in configure parameters. They sure cause problems for &amp;lt;code&amp;gt;--with-psdk-home&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
{{Template:Documentation/Note|Paths to dependencies might be different for your installation. The pathes containing &amp;quot;msvc&amp;quot; and &amp;quot;msdk&amp;quot; should be self-explanatory.}}&lt;br /&gt;
{{Template:Documentation/Tip|There are a number of options that you can use with the configure script. To display these options, type the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --help&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
{{Template:Documentation/Tip|If you run into problems with early DEV300 releases, check your settings in winenv.set.sh for &amp;lt;code&amp;gt;WINDOWS_VISTA_PSDK&amp;lt;/code&amp;gt; to be set &amp;lt;code&amp;gt;TRUE&amp;lt;/code&amp;gt;. This is important if &amp;lt;code&amp;gt;configure&amp;lt;/code&amp;gt; fails to detect the Windows platform SDK version correctly. The detection failure results from the way how configure searches for the Vista PSDK in older releases: it will be found only if it is installed into the default location.}} &lt;br /&gt;
{{Template:Documentation/Caution|If you run into problems compiling on an &amp;quot;Express Edition&amp;quot; (such as &amp;lt;tt&amp;gt;Cannot open include files: &amp;#039;atlbase.h&amp;#039;: No such files or directory&amp;lt;/tt&amp;gt;), check your settings in winenv.set.sh for &amp;lt;code&amp;gt;DISABLE_ATL&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;DISABLE_ACTIVEX&amp;lt;/code&amp;gt;: all have to be set &amp;lt;code&amp;gt;TRUE&amp;lt;/code&amp;gt;. Visual Studio Express compilers do not contain everything needed to build the OOo ActiveX control, OLE automation and native Windows OLE support, so disable support for them via &amp;lt;code&amp;gt;--disable-atl --disable-activex&amp;lt;/code&amp;gt;. A &amp;quot;complete&amp;quot; Visual Studio (no “Express” version) is not limited in that way.}}&lt;br /&gt;
{{Template:Documentation/Tip|As DirectX is not needed for most developers, its SDK consumes a lot of disk space and is prone to incompatibilities I recommend to build without DirecX support by using &amp;lt;code&amp;gt;--disable-directx&amp;lt;/code&amp;gt; as shown above. Otherwise you have to provide the path to the SDK in &amp;lt;code&amp;gt;--with-directx-home&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
{{Template:Documentation/Tip|OOo uses some Mozilla components. It is not possible to build them from the sources using the Visual Studio 2005 compiler. Disabling the Mozilla components with &amp;lt;code&amp;gt;--disable-mozilla&amp;lt;/code&amp;gt; completely currently does might not work due to a bug in the module dependencies.}}&lt;br /&gt;
{{Template:Documentation/Tip|If you experiment with the newest sources, mind that it can happen sometimes that &amp;lt;code&amp;gt;configure.in&amp;lt;/code&amp;gt; was updated, but it was forgotten to update configure too. The configure script itself is created from &amp;lt;code&amp;gt;configure.in&amp;lt;/code&amp;gt; using the &amp;lt;code&amp;gt;autoreconf&amp;lt;/code&amp;gt; command. The perl script &amp;lt;code&amp;gt;set_soenv&amp;lt;/code&amp;gt; is created when you run configure from &amp;lt;code&amp;gt;set_soenv.in&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
{{Template:Documentation/Tip|csc.exe comes from the &amp;lt;code&amp;gt;c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322&amp;lt;/code&amp;gt; directory, you might need &amp;lt;code&amp;gt;--with-csc-path&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
{{Template:Documentation/Tip|If you fail to getting together a working installation of Cygwin, one possibility is to use a known-to-work combination of Cygwin packages, i.e. a direct copy of some other user&amp;#039;s Cygwin tree. [[User:TorLillqvist]] has such a tree (from late 2006) zipped up at http://download.go-oo.org/tstnvl/tml/tml-cygwin.zip . Don&amp;#039;t hesitate to ask for advice if necessary.}}&lt;br /&gt;
&lt;br /&gt;
== bootstrap ==&lt;br /&gt;
After running configure you must create the dmake make utility that is needed for the build of OpenOffice.org. This done from the SRC_ROOT directory by calling&lt;br /&gt;
&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Note|1=Starting with DEV300m77, the sources for external modules (e.g. libxml2) were moved out of the source repository. The bootstrap step will now create a directory called &amp;quot;ext_sources&amp;quot; beside the repository and populate it with the required file via HTTP.&lt;br /&gt;
If need to change that behavior, checkout the configure switches &lt;br /&gt;
 --with-external-tar=&amp;lt;TARFILE PATH&amp;gt;  : Specify path to tarfiles manually&lt;br /&gt;
 --disable-fetch-external            : Disables fetching external tarballs from web sources.}}&lt;br /&gt;
&lt;br /&gt;
== setting the enviroment ==&lt;br /&gt;
&lt;br /&gt;
When the configure script has been run successfully a file &amp;lt;code&amp;gt;winenv.Set.sh&amp;lt;/code&amp;gt; was created&amp;lt;ref name=&amp;quot;Foot7&amp;quot;&amp;gt;{{Template:Documentation/Note|When you want to use tcsh instead of bash, you will need to use the file &amp;lt;code&amp;gt;winenv.Set&amp;lt;/code&amp;gt; instead:&lt;br /&gt;
&amp;lt;pre&amp;gt; source winenv.Set&lt;br /&gt;
 rehash&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you do not use tcsh, it is better to delete that file, as it will get in the way for tab-completion sooner or later.}}&amp;lt;/ref&amp;gt;. Do this:&lt;br /&gt;
&lt;br /&gt;
 source winenv.Set.sh&lt;br /&gt;
&lt;br /&gt;
to set up the enviroment for the build.&lt;br /&gt;
&lt;br /&gt;
== starting the build ==&lt;br /&gt;
Build the software by typing the following in &amp;lt;code&amp;gt;$SRC_ROOT&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;Foot8&amp;quot;&amp;gt;{{Template:Documentation/Note|You can also run:&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
but GNU/make will just start dmake. You can also run the following in the &amp;lt;code&amp;gt;instetoo_native&amp;lt;/code&amp;gt; module:&lt;br /&gt;
&amp;lt;pre&amp;gt;build --all&amp;lt;/pre&amp;gt;&lt;br /&gt;
For details run:&lt;br /&gt;
&amp;lt;pre&amp;gt;build --help&amp;lt;/pre&amp;gt;}}&amp;lt;/ref&amp;gt;:&lt;br /&gt;
 dmake&lt;br /&gt;
&lt;br /&gt;
The building procedure will take at least an hour (on a 3 GHz Quad-Core with 8GB RAM).&lt;br /&gt;
&lt;br /&gt;
There are some special things in the way how OOo builds its modules. Every module has an “output” folder (with some subfolders for the different kinds of generated output) that is created the first time a build is done in the module. The name of this folder is “wntmsci10.pro” for builds with MSVC++2003, “wntmsci11.pro” for builds with MSVC++2005 and &amp;quot;wntmsci12.pro&amp;quot; for builds with MSVC++2008 (for the meaning of the &amp;quot;pro&amp;quot; extension see below). After a successful build of a module some of the generated files are copied to the output folder of the “solver” module by executing a tool called “deliver” (this is automatically called by build --all for each of the modules). Other modules will take these “delivered” files (header files, libraries etc.) to resolve their dependencies. The content of the solver module will also be used to pack the installation sets in the final step.&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Tip|Using some not quite latest cygwin releases (1.5.18/1.5.19) can lead to tcsh freezing in places - the build will appear to hang. You can fix this by running &amp;#039;&amp;#039;ls /proc/$nnn/fd&amp;#039;&amp;#039; where $nnn is the number of the process. Or just run&lt;br /&gt;
&amp;lt;pre&amp;gt;ls /proc/*/fd&amp;lt;/pre&amp;gt;&lt;br /&gt;
to &amp;quot;unhang&amp;quot; the process. See {{Bug|51560}} for more info...}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Partial Builds =&lt;br /&gt;
There are two ways to do partial builds:&lt;br /&gt;
* compatible&lt;br /&gt;
* incompatible&lt;br /&gt;
Only do compatible partial builds if you know exactly what you are doing.&lt;br /&gt;
{{Documentation/Note|For more information, see [[Compatible Builds]].}}&lt;br /&gt;
== rebuilding from a module (incompatible build) ==&lt;br /&gt;
&lt;br /&gt;
If you decide to change a module in an incompatible way, you will need to rebuild all modules depending on it (directly or indirectly):&lt;br /&gt;
&lt;br /&gt;
 cd $SRC_ROOT/instsetoo_native&lt;br /&gt;
 build --from $INCOMPATIPLEMODULE --prepare&lt;br /&gt;
 build --from $INCOMPATIBLEMODULE&lt;br /&gt;
&lt;br /&gt;
== rebuilding a module (compatible build) ==&lt;br /&gt;
&lt;br /&gt;
To rebuild a module you can delete all output directories with, rebuild and redeliver into the solver with:&lt;br /&gt;
&lt;br /&gt;
 cd $MODULE&lt;br /&gt;
 build --from $MODULE --prepare&lt;br /&gt;
 build &amp;amp;&amp;amp; deliver&lt;br /&gt;
&lt;br /&gt;
A simple &amp;lt;code&amp;gt;build&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;$SRC_ROOT/instsetoo_native&amp;lt;/code&amp;gt; will recreate the installation sets, provided all other modules have already been build.&amp;lt;ref name=&amp;quot;Foot9&amp;quot;&amp;gt;{{Documentation/Caution|&amp;lt;code&amp;gt;build --all&amp;lt;/code&amp;gt; would rebuild changed/missing files. However, it does not check for incompatible modules. If unsure, use &amp;lt;code&amp;gt;build --from --prepare&amp;lt;/code&amp;gt;.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Building a Module with Debug Information =&lt;br /&gt;
&lt;br /&gt;
To rebuild a module with debug information and additional assertions and checks, run:&lt;br /&gt;
&lt;br /&gt;
 cd $MODULE&lt;br /&gt;
 build --from $MODULE --prepare # removes old output trees and solver&lt;br /&gt;
 build debug=true --from $MODULE&lt;br /&gt;
&lt;br /&gt;
Drop the newly created binaries into an existing installation. Building an installation set with them will not help, as binaries are stripped on packing by default.&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Tip|For details, see [[Windows Debugging]].}}&lt;br /&gt;
= Finding the Installation Sets =&lt;br /&gt;
After a successful build you will find the OOo installation set in &lt;br /&gt;
&lt;br /&gt;
 instsetoo_native/wntmscixx.pro/OpenOffice/msi/Install/en-US&lt;br /&gt;
&lt;br /&gt;
“instsetoo_native” is the module that packs the installation set.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Tip|If you already have a version of OOo installed you can install your freshly built version in parallel by installing it with setup /a that just unpacks all files without any system registration.}}&lt;br /&gt;
&lt;br /&gt;
= Tips And Tricks =&lt;br /&gt;
== ccache ==&lt;br /&gt;
For Windows: download from [http://artax.karlin.mff.cuni.cz/~kendy/ccache/ here], do the following:&lt;br /&gt;
&lt;br /&gt;
 export CCACHE_DIR=&amp;quot;some/place/with/space&amp;quot;&lt;br /&gt;
 ccache -M 2G -F 10000&lt;br /&gt;
 export CCACHE_CPP2=TRUE&lt;br /&gt;
 export CXX=&amp;quot;guw.pl ccache cl&amp;quot;&lt;br /&gt;
 # export USE_PCH=  if you experience trouble with precompiled headers&lt;br /&gt;
== dependencies ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you set the environment variable &amp;lt;code&amp;gt;nodep&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;TRUE&amp;lt;/code&amp;gt;, then dependendy information files are not created - the build finishes faster.&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Caution|But only enable that on a clean build. Once you have built OOo and then made modifications, unset the variable again to be on the safe side.}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the &amp;lt;code&amp;gt;nodep&amp;lt;/code&amp;gt; variable, this one prevents the generation of HIDs (Help IDs) that are mainly used for automated testing - if you only want to build OOo, you don&amp;#039;t need those.&lt;br /&gt;
&lt;br /&gt;
== parallel builds ==&lt;br /&gt;
If you have a multiprocessor machine or similar, you can run a parallel build. There are two levels  of parallelism  - one operating on makefile (directory) level, the other one on the global level. The two levels of parallelism result from the two-step build procedure in the OOo build environment. The build script runs through all the directories it reads from the build.lst files in all modules and calls dmake for every directory. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;parallelism on the global level&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
For parallelism on the global level, you have to run build from &amp;lt;code&amp;gt;$SRC_ROOT&amp;gt;/instsetoo_native&amp;lt;/code&amp;gt; with the &amp;lt;code&amp;gt;-P&amp;lt;number&amp;gt;&amp;lt;/code&amp;gt; switch, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
build -P2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This takes build how many dmake processes it is allowd to start in parallel.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;parallelism on the directory level&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 export MAXPROCESS=&amp;lt;numer or processes&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This tells dmake how many targets it is allowed to build in parallel. When you don&amp;#039;t use build.pl but build a single directory (single makefile), you can achieve the same with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dmake -P2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;combining both levels&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you want to have parallelism on both levels, you can call&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
build -P2 -- -P2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;--&amp;quot; is a special build.pl parameter that passes every further parameters to the dmake processes it starts.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; Recommendation &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Experience tells that using the doubled number of cores in your machine is a good choice, using more threads does not make a big difference, except if the combined option is chosen. So even on single core machines using two threads will speed up the build considerably.&lt;br /&gt;
&lt;br /&gt;
== create prebuilt mozilla ==&lt;br /&gt;
For the mozilla-components you have the choice to either build from mozilla sources, to use precompiled packages or to use system-mozilla (the one installed on your buildsystem, not everything might work, depending on the version you got installed).&lt;br /&gt;
You can easily create your own version of the prepacked binaries if you wish to do so (either because you cannot use the official ones because of mismatch of compiler version used to build them/other technical reasons or because you want to use stuff you didn&amp;#039;t build yourself).&lt;br /&gt;
To do so:&lt;br /&gt;
&lt;br /&gt;
* build the &amp;lt;code&amp;gt;moz&amp;lt;/code&amp;gt; module from the mozilla sources&lt;br /&gt;
* use &amp;lt;code&amp;gt;--enable-build-mozilla&amp;lt;/code&amp;gt; when running configure and put the mozilla-source tarball to &amp;lt;code&amp;gt;moz/download&amp;lt;/code&amp;gt;&lt;br /&gt;
* in &amp;lt;code&amp;gt;moz&amp;lt;/code&amp;gt; run &amp;lt;code&amp;gt;dmake zip&amp;lt;/code&amp;gt; to create the zip files&lt;br /&gt;
* you&amp;#039;ll find the zips in &amp;lt;code&amp;gt;{platform}.pro/zipped&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy them to a location of your liking.&lt;br /&gt;
Now instead of using &amp;lt;code&amp;gt;--enable-build-mozilla&amp;lt;/code&amp;gt;, use &amp;lt;code&amp;gt;--disable-build-mozilla&amp;lt;/code&amp;gt; and copy the zips you created or downloaded to &amp;lt;code&amp;gt;moz/zipped&amp;lt;/code&amp;gt; and these will be used when compiling.&lt;br /&gt;
This will greatly reduce build-time (you save the time that would otherwise be spent on compiling mozilla).&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
{{Template:Documentation/Note|For more information on building OOo on Windows see:&lt;br /&gt;
* [[Building on Windows (older releases)]]&lt;br /&gt;
* [[CPAN_install| Perl modules installation with CPAN]]&lt;br /&gt;
* [http://tools.openoffice.org/dev_docs/build_windows_tcsh.html Documentation on tools.openoffice.org]&lt;br /&gt;
* [http://website.openoffice.org/support/en/howtos/1.html#1 Documentation on website.openoffice.org]}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
{{PDL1}}&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide/Getting_the_source&amp;diff=193043</id>
		<title>Documentation/Building Guide/Getting the source</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide/Getting_the_source&amp;diff=193043"/>
		<updated>2011-02-04T10:41:12Z</updated>

		<summary type="html">&lt;p&gt;Mst: move source tarballs below SCM access&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/Building Guide TOC&lt;br /&gt;
|ShowNextPage=none&lt;br /&gt;
|ShowPrevPage=none&lt;br /&gt;
}}&lt;br /&gt;
{{DISPLAYTITLE:Getting the source}}&lt;br /&gt;
&lt;br /&gt;
The source code can be fetched in several ways, as described below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= SCM access for the current development line (named DEV300) using Mercurial =&lt;br /&gt;
&lt;br /&gt;
Mercurial (hg) replaced Subversion in October 2009. You can clone the master repository with&lt;br /&gt;
&lt;br /&gt;
 hg clone http://hg.services.openoffice.org/DEV300 &amp;lt;working_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The OOo Mercurial repository is huge. Cloning the OOo repository as shown above my take some hours depending on the quality of your internet connection. We provide a nightly snapshot as Mercurial bundle which is currently about 1.3 GB in size. Utilizing this bundle is the fastest way to get an initial clone of the repository.&lt;br /&gt;
&lt;br /&gt;
Download the bundle here: http://hg.services.openoffice.org/bundle/DEV300.hg&lt;br /&gt;
 mkdir &amp;lt;working_dir&amp;gt;&lt;br /&gt;
 cd &amp;lt;working_dir&amp;gt;&lt;br /&gt;
 hg init&lt;br /&gt;
 hg unbundle &amp;lt;path_to_bundle&amp;gt;/DEV300.hg&lt;br /&gt;
 hg pull http://hg.services.openoffice.org/DEV300&lt;br /&gt;
 hg update&lt;br /&gt;
&lt;br /&gt;
Both methods will get you a repository and a working tree with the latest changes.&lt;br /&gt;
&lt;br /&gt;
List all available milestones (a stable development version released by RelEng):&lt;br /&gt;
 hg tags&lt;br /&gt;
&lt;br /&gt;
Checking out a milestone&lt;br /&gt;
 hg update -rDEV300_mXX&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Tip| For more information on using Mercurial with OOo, see:&lt;br /&gt;
* [[Mercurial]]&lt;br /&gt;
* [[:Category:Mercurial]]}}&lt;br /&gt;
&lt;br /&gt;
= SCM access for the 3.3 release code line (named OOO330) using Mercurial =&lt;br /&gt;
&lt;br /&gt;
The OOo Mercurial repository is huge. We provide a nightly snapshot as Mercurial bundle which is currently about 1.4 GB in size. Using this bundle is the fastest way to get an initial clone of the repository.&lt;br /&gt;
&lt;br /&gt;
Download the bundle here: http://hg.services.openoffice.org/bundle/OOO330.hg&lt;br /&gt;
&lt;br /&gt;
 mkdir &amp;lt;working_dir&amp;gt;&lt;br /&gt;
 cd &amp;lt;working_dir&amp;gt;&lt;br /&gt;
 hg init&lt;br /&gt;
 hg unbundle &amp;lt;path_to_bundle&amp;gt;/OOO330.hg&lt;br /&gt;
 hg pull http://hg.services.openoffice.org/OOO330&lt;br /&gt;
 hg update&lt;br /&gt;
&lt;br /&gt;
Checking out a milestone&lt;br /&gt;
 hg update -r OOO330_mXX&lt;br /&gt;
&lt;br /&gt;
You can clone the repository as well, but it will take much longer than the bundle&lt;br /&gt;
&lt;br /&gt;
 hg clone http://hg.services.openoffice.org/OOO330 &amp;lt;working_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= SCM access for the 3.2 release code line (named OOO320) using Mercurial =&lt;br /&gt;
&lt;br /&gt;
Download the bundle here: http://hg.services.openoffice.org/bundle/OOO320.hg&lt;br /&gt;
&lt;br /&gt;
Just look at the instructions for 3.3 above, and replace OOO330 with OOO320.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Source Tarballs (for package maintainers) =&lt;br /&gt;
&lt;br /&gt;
The latest release version of the source code can be downloaded as tarballs from [http://download.openoffice.org/ Download], see &amp;#039;&amp;#039;&amp;#039;Source&amp;#039;&amp;#039;&amp;#039; on the right.&lt;br /&gt;
&lt;br /&gt;
The source is pretty big and has therefore been split into several files.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Tarball&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_core.tar.bz2&lt;br /&gt;
|The necessary part for each build, the other tarballs depend on this one.&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_system.tar.bz2&lt;br /&gt;
|Libraries that usually exist on a standard Linux system&amp;lt;ref name=&amp;quot;Foot1&amp;quot;&amp;gt;{{Template:Documentation/Note|It&amp;#039;s not absolutely necessary to build own versions for these modules on Linux. If you intend to build on Linux &amp;#039;&amp;#039;&amp;#039;without&amp;#039;&amp;#039;&amp;#039; the &amp;#039;&amp;#039;&amp;#039;system&amp;#039;&amp;#039;&amp;#039; tarball:&lt;br /&gt;
* You will need to tell ./configure explicitly to use the system libraries for the software that is otherwise contained in this tarball. Otherwise the build will fail.&lt;br /&gt;
* System software is in active development. If it has changed significantly (and Mozilla sometimes does), the build may fail or OpenOffice.org may not work correctly.&lt;br /&gt;
* unowinreg.dll - Do not be fooled by the .dll extension. Without it, the build will fail on Linux and it is not included in the core package. Don&amp;#039;t worry about downloading this now because the build process will tell you where to get it and where to stick it to proceed.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ref&amp;gt;. For a Windows build this package is usually required.&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_binfilter.tar.bz2&lt;br /&gt;
|The filters for old binary StarOffice formats&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_l10n.tar.bz2&lt;br /&gt;
|Translations of the software for many languages&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_extensions.tar.bz2&lt;br /&gt;
|Extensions source package&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_testautomation.tar.bz2&lt;br /&gt;
|Automated test suite (optional)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For a full build you need them all. For development, the &amp;#039;&amp;#039;&amp;#039;core&amp;#039;&amp;#039;&amp;#039; package is usually all you need.&lt;br /&gt;
&lt;br /&gt;
Unpack the tarballs one at a time to a directory. They will create a new directory with the name of the milestone, such as &amp;lt;tt&amp;gt;OOO310_m11&amp;lt;/tt&amp;gt;. This folder will from now on be the &amp;lt;code&amp;gt;$SRC_ROOT&amp;lt;/code&amp;gt;, when you run &amp;lt;code&amp;gt;./configure&amp;lt;/code&amp;gt; it will create a shell-script that will set the environment variable to this path.&lt;br /&gt;
{{Template:Documentation/Caution|Avoid using winzip to extract the downloaded source archive. Observed problems include:&lt;br /&gt;
* CR-LF errors that can affect makefiles and cause compile errors&lt;br /&gt;
* Certain files unpacked into root folder, esp. likely when actual path is deeply nested (e.g. &amp;lt;code&amp;gt;foo/bar/source/foo/java/org/x/y/z/w/LongFileName.hmm&amp;lt;/code&amp;gt;) which again causes mysterious compile errors.&lt;br /&gt;
Use the tar from Cygwin instead:&lt;br /&gt;
&lt;br /&gt;
unzip for &amp;lt;tt&amp;gt;.gz&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvzf OOo_3.x.x_src_core.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
bzip2 for &amp;lt;tt&amp;gt;.bz2&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvjf OOo_3.x.x_src_core.tar.bz2&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Note|For pre-3.2 releases, see [[Getting the source (older versions)]].}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
{{PDL1}}&lt;br /&gt;
[[Category:SVN]][[Category:Mercurial]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Getting_the_source_(older_versions)&amp;diff=193042</id>
		<title>Getting the source (older versions)</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Getting_the_source_(older_versions)&amp;diff=193042"/>
		<updated>2011-02-04T10:37:57Z</updated>

		<summary type="html">&lt;p&gt;Mst: move SVN documentation for 3.1 here&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Build_System]][[Category:SCM]]&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Outdated}}&lt;br /&gt;
{{Documentation/Caution| This page is for the 3.1.x version. For the latest release, see the [[Documentation/Building Guide|Building Guide]].}}&lt;br /&gt;
&lt;br /&gt;
= SCM access for the 3.1 release code line (named OOO310) using Subversion =&lt;br /&gt;
&lt;br /&gt;
Checking out a milestone (a stable development version released by RelEng)&lt;br /&gt;
 svn checkout svn://svn.services.openoffice.org/ooo/tags/OOO310_mXX/&lt;br /&gt;
&lt;br /&gt;
Replace XX with the highest currently available milestone.&lt;br /&gt;
&lt;br /&gt;
The files will be placed in the current directory.&lt;br /&gt;
&lt;br /&gt;
See:&lt;br /&gt;
&lt;br /&gt;
 http://svn.services.openoffice.org/ooo/tags/&lt;br /&gt;
&lt;br /&gt;
for a list of available milestones.&lt;br /&gt;
{{Template:Documentation/Note|For more information on using Subversion with OOo, see:&lt;br /&gt;
* [[Setting up Subversion Access]]&lt;br /&gt;
* [[OOo and Subversion|Using Subversion and the new CWS Tooling]]}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Outdated}}&lt;br /&gt;
{{Documentation/Caution| This page is for the 2.4.x version. For the latest release, see the [[Documentation/Building Guide|Building Guide]].}}&lt;br /&gt;
&lt;br /&gt;
The source code can be fetched in several ways, as described below.&lt;br /&gt;
&lt;br /&gt;
== Downloading the source ==&lt;br /&gt;
&lt;br /&gt;
The 2.4.2 version of the source code can be downloaded as tarballs from [http://download.openoffice.org/2.4.2/source.html this page].&lt;br /&gt;
&lt;br /&gt;
The source is pretty big and has therefore been split into several files.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Tarball&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|OOo_2.4.x_src_core.tar.bz2&lt;br /&gt;
|The necessary part for each build, the other tarballs depend on this one.&lt;br /&gt;
|-&lt;br /&gt;
|OOo_2.4.x_src_system.tar.bz2&lt;br /&gt;
|Libraries that usually exist on a standard Linux system. It&amp;#039;s not absolutely necessary to build own version on Linux. For a Windows build this package is usually required.&lt;br /&gt;
|-&lt;br /&gt;
|OOo_2.4.x_src_binfilter.tar.bz2&lt;br /&gt;
|The filters for old binary [[StarOffice]] formats&lt;br /&gt;
|-&lt;br /&gt;
|OOo_2.4.x_src_l10n.tar.bz2&lt;br /&gt;
|Translations of the software for many languages&lt;br /&gt;
|-&lt;br /&gt;
|OOo_2.4.x_src_sdk.tar.bz2&lt;br /&gt;
|SDK source package&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Unpack these tarballs to a directory. They will create a new directory with the name of the milestone, such as &amp;#039;&amp;#039;&amp;#039;OOH680_m18&amp;#039;&amp;#039;&amp;#039;. This folder will from now on be the &amp;#039;&amp;#039;&amp;#039;$SRC_ROOT&amp;#039;&amp;#039;&amp;#039;, so set this environment variable to this path on your machine.&lt;br /&gt;
&lt;br /&gt;
If you intend to build on Linux &amp;lt;strong&amp;gt;without&amp;lt;/strong&amp;gt; the &amp;#039;&amp;#039;&amp;#039;system&amp;#039;&amp;#039;&amp;#039; tarball:&lt;br /&gt;
* You will need to tell ./configure explicitly to use the system libraries for the software that is otherwise contained in this tarball. Otherwise the build will fail.&lt;br /&gt;
* System software is in active development. If it has changed significantly (and Mozilla sometimes does), the build may fail or OpenOffice.org may not work correctly.&lt;br /&gt;
* unowinreg.dll - Do not be fooled by the .dll extension. Without it, the build will fail on Linux and it is not included in the core package. Don&amp;#039;t worry about downloading this now because the build process will tell you where to get it and where to stick it to proceed.&lt;br /&gt;
&lt;br /&gt;
For a full build you need them all. For development, &amp;lt;tt&amp;gt;src_core&amp;lt;/tt&amp;gt; is usually all you need (but see the caveats for &amp;lt;tt&amp;gt;src_system&amp;lt;/tt&amp;gt; above).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You might be interested particularly in the [http://tools.openoffice.org/dev_docs/build_linux.html#GetTheSourceCode Get the source code] section in the build guide.  It is written for Linux, but it is quite similar for all the platforms.&lt;br /&gt;
&lt;br /&gt;
 export &amp;#039;CVSROOT=:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;#039;&lt;br /&gt;
 cvs login&lt;br /&gt;
 (CVS password: anoncvs)&lt;br /&gt;
 cvs co -r &amp;lt;milestone&amp;gt; OpenOffice3&lt;br /&gt;
&lt;br /&gt;
The tool to browse project [http://tools.openoffice.org/source/browse/tools/ source code online] has some [http://tools.openoffice.org/servlets/ProjectSource additional hints].&lt;br /&gt;
&lt;br /&gt;
If you want just to test development releases, you can download already compiled builds from [http://download.openoffice.org/680/]. List of available Mac builds is in [[Mac OS X Development Builds]].&lt;br /&gt;
&lt;br /&gt;
== Checking out a CWS through CVS ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;This section is a draft!&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
First, find the CWS name such as picom.  Then, lookup the CWS name in EIS (e.g., [http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=5112&amp;amp;logon=true&amp;amp;OpenOnly=false&amp;amp;Section=All picom]).  Notice &amp;quot;Milestone (current)&amp;quot; is m222 (in this example as of time of writing): that is the base milestone.   Then, notice the affected modules listed under &amp;quot;Modules &amp;amp; Files.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You will checkout the base milestone from CVS.  The convention for base milestone is SRC680_m### (later DEV300_m###?). Then in each affected module (where a module is basically a directory), you will update the module with CVS.  The convention for the revision tag for the CWS is cws_src680_####.&lt;br /&gt;
&lt;br /&gt;
Here is a script.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 # configure these variables according to the particular CWS&lt;br /&gt;
 AFFECTED_MODULES=&amp;quot;basebmp basegfx canvas comphelper cppcanvas \&lt;br /&gt;
         desktop filter goodies offapi offuh psprint sal  \&lt;br /&gt;
         slideshow solenv testshl2 tools unotools vcl xpdf&amp;quot;&lt;br /&gt;
 BASE_MILESTONE_TAG=SRC680_m222&lt;br /&gt;
 CWS_TAG=cws_src680_picom&lt;br /&gt;
 export CVSROOT=&amp;#039;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;#039;&lt;br /&gt;
 echo &amp;#039;Enter the password is anoncvs&amp;#039;&lt;br /&gt;
 cvs login&lt;br /&gt;
 cvs co -r $BASE_MILESTONE_TAG OpenOffice2&lt;br /&gt;
 for d in $AFFECTED_MODULES&lt;br /&gt;
 do&lt;br /&gt;
        echo &amp;quot;updating module $d&amp;quot;&lt;br /&gt;
        pushd $d&lt;br /&gt;
        cvs up -dP -r $CWS_TAG&lt;br /&gt;
        popd&lt;br /&gt;
 done&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If&amp;#039;&amp;#039;&amp;#039; you have a working [[CWS#cws_config_file_.28.cwsrc.29 | ~/.cwsrc configuration file]] setup &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; the SOLARENV environment variable is set to an already existing &amp;lt;tt&amp;gt;solenv&amp;lt;/tt&amp;gt; directory of a previously checked out OOo tree, e.g. &amp;lt;code&amp;gt;export SOLARENV=&amp;quot;$HOME/ooo/SRC680/src.m222/solenv&amp;quot;&amp;lt;/code&amp;gt;, &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; &amp;lt;tt&amp;gt;PATH&amp;lt;/tt&amp;gt; contains the &amp;lt;tt&amp;gt;solenv/bin&amp;lt;/tt&amp;gt; directory, e.g. &amp;lt;code&amp;gt;export PATH=&amp;quot;$SOLARENV/bin:$PATH&amp;quot;&amp;lt;/code&amp;gt;, &amp;#039;&amp;#039;&amp;#039;then&amp;#039;&amp;#039;&amp;#039; the list of affected modules may be automatically obtained using&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
AFFECTED_MODULES=&amp;quot;$(cwsquery -m src680 -c picom modules)&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You also may use &amp;lt;tt&amp;gt;cwsquery&amp;lt;/tt&amp;gt; to obtain the current milestone of the CWS with&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
BASE_MILESTONE_TAG=&amp;quot;SRC680_$(cwsquery -m src680 -c picom current)&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When scripting this it is a good idea to check the exit code of &amp;lt;tt&amp;gt;cwsquery&amp;lt;/tt&amp;gt; commands in case your &amp;lt;tt&amp;gt;~/.cwsrc&amp;lt;/tt&amp;gt; is broken or the environment prerequisites aren&amp;#039;t met or the EIS database isn&amp;#039;t reachable, so add the following after each &amp;lt;tt&amp;gt;cwsquery&amp;lt;/tt&amp;gt; command:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 if [ $? -ne 0 ]; then&lt;br /&gt;
    echo &amp;#039;cwsquery unsuccessful.&amp;#039;&lt;br /&gt;
    exit 1&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already have &amp;lt;tt&amp;gt;~/.cwsrc&amp;lt;/tt&amp;gt; working and a milestone master build ready and want to work on a CWS based on that milestone see [[Tuning in to a CWS]], which offers a method that does not require to rebuild the entire tree.&lt;br /&gt;
&lt;br /&gt;
External links&lt;br /&gt;
* [http://cedric.bosdonnat.free.fr/wordpress/?p=78 Getting an OOo CWS]  Cedric&amp;#039;s blog (May 2008)&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
[[Building OpenOffice.org]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide/Getting_the_source&amp;diff=193041</id>
		<title>Documentation/Building Guide/Getting the source</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide/Getting_the_source&amp;diff=193041"/>
		<updated>2011-02-04T10:34:21Z</updated>

		<summary type="html">&lt;p&gt;Mst: argh... when was OOO320 migrated to hg?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/Building Guide TOC&lt;br /&gt;
|ShowNextPage=none&lt;br /&gt;
|ShowPrevPage=none&lt;br /&gt;
}}&lt;br /&gt;
{{DISPLAYTITLE:Getting the source}}&lt;br /&gt;
&lt;br /&gt;
The source code can be fetched in several ways, as described below.&lt;br /&gt;
&lt;br /&gt;
= Source Tarballs (for package maintainers) =&lt;br /&gt;
&lt;br /&gt;
The latest release version of the source code can be downloaded as tarballs from [http://download.openoffice.org/ Download], see &amp;#039;&amp;#039;&amp;#039;Source&amp;#039;&amp;#039;&amp;#039; on the right.&lt;br /&gt;
&lt;br /&gt;
The source is pretty big and has therefore been split into several files.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Tarball&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_core.tar.bz2&lt;br /&gt;
|The necessary part for each build, the other tarballs depend on this one.&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_system.tar.bz2&lt;br /&gt;
|Libraries that usually exist on a standard Linux system&amp;lt;ref name=&amp;quot;Foot1&amp;quot;&amp;gt;{{Template:Documentation/Note|It&amp;#039;s not absolutely necessary to build own versions for these modules on Linux. If you intend to build on Linux &amp;#039;&amp;#039;&amp;#039;without&amp;#039;&amp;#039;&amp;#039; the &amp;#039;&amp;#039;&amp;#039;system&amp;#039;&amp;#039;&amp;#039; tarball:&lt;br /&gt;
* You will need to tell ./configure explicitly to use the system libraries for the software that is otherwise contained in this tarball. Otherwise the build will fail.&lt;br /&gt;
* System software is in active development. If it has changed significantly (and Mozilla sometimes does), the build may fail or OpenOffice.org may not work correctly.&lt;br /&gt;
* unowinreg.dll - Do not be fooled by the .dll extension. Without it, the build will fail on Linux and it is not included in the core package. Don&amp;#039;t worry about downloading this now because the build process will tell you where to get it and where to stick it to proceed.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ref&amp;gt;. For a Windows build this package is usually required.&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_binfilter.tar.bz2&lt;br /&gt;
|The filters for old binary StarOffice formats&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_l10n.tar.bz2&lt;br /&gt;
|Translations of the software for many languages&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_extensions.tar.bz2&lt;br /&gt;
|Extensions source package&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_testautomation.tar.bz2&lt;br /&gt;
|Automated test suite (optional)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For a full build you need them all. For development, the &amp;#039;&amp;#039;&amp;#039;core&amp;#039;&amp;#039;&amp;#039; package is usually all you need.&lt;br /&gt;
&lt;br /&gt;
Unpack the tarballs one at a time to a directory. They will create a new directory with the name of the milestone, such as &amp;lt;tt&amp;gt;OOO310_m11&amp;lt;/tt&amp;gt;. This folder will from now on be the &amp;lt;code&amp;gt;$SRC_ROOT&amp;lt;/code&amp;gt;, when you run &amp;lt;code&amp;gt;./configure&amp;lt;/code&amp;gt; it will create a shell-script that will set the environment variable to this path.&lt;br /&gt;
{{Template:Documentation/Caution|Avoid using winzip to extract the downloaded source archive. Observed problems include:&lt;br /&gt;
* CR-LF errors that can affect makefiles and cause compile errors&lt;br /&gt;
* Certain files unpacked into root folder, esp. likely when actual path is deeply nested (e.g. &amp;lt;code&amp;gt;foo/bar/source/foo/java/org/x/y/z/w/LongFileName.hmm&amp;lt;/code&amp;gt;) which again causes mysterious compile errors.&lt;br /&gt;
Use the tar from Cygwin instead:&lt;br /&gt;
&lt;br /&gt;
unzip for &amp;lt;tt&amp;gt;.gz&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvzf OOo_3.x.x_src_core.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
bzip2 for &amp;lt;tt&amp;gt;.bz2&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvjf OOo_3.1.0_src_core.tar.bz2&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
= SCM-Access for the current development line (named DEV300) using Mercurial as SCM =&lt;br /&gt;
&lt;br /&gt;
Mercurial (hg) replaces Subversion end of October 2009. The mercurial master repository is already in place. You can clone the repository with&lt;br /&gt;
&lt;br /&gt;
 hg clone http://hg.services.openoffice.org/DEV300 &amp;lt;working_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The OOo Mercurial repository is huge. Cloning the OOo repository as shown above my take some hours depending on the quality of your internet connection. We provide a nightly snapshot as Mercurial bundle which is currently about 1.3 GB in size. Utilizing this bundle is the fastest way to get an initial clone of the repository.&lt;br /&gt;
&lt;br /&gt;
Download the bundle here: http://hg.services.openoffice.org/bundle/DEV300.hg&lt;br /&gt;
 mkdir &amp;lt;working_dir&amp;gt;&lt;br /&gt;
 cd &amp;lt;working_dir&amp;gt;&lt;br /&gt;
 hg init&lt;br /&gt;
 hg unbundle &amp;lt;path_to_bundle&amp;gt;/DEV300.hg&lt;br /&gt;
 hg pull http://hg.services.openoffice.org/DEV300&lt;br /&gt;
 hg update&lt;br /&gt;
&lt;br /&gt;
Both methods will get you a repository and a working tree with the latest changes.&lt;br /&gt;
&lt;br /&gt;
List all available milestones (a stable development version released by RelEng):&lt;br /&gt;
 hg tags&lt;br /&gt;
&lt;br /&gt;
Checking out a milestone&lt;br /&gt;
 hg update -rDEV300_mXX&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Tip| For more information on using Mercurial with OOo, see:&lt;br /&gt;
* [[Mercurial]]&lt;br /&gt;
* [[:Category:Mercurial]]}}&lt;br /&gt;
&lt;br /&gt;
= SCM access for the 3.3 release code line (named OOO330) using Mercurial =&lt;br /&gt;
&lt;br /&gt;
The OOo Mercurial repository is huge. We provide a nightly snapshot as Mercurial bundle which is currently about 1.4 GB in size. Using this bundle is the fastest way to get an initial clone of the repository.&lt;br /&gt;
&lt;br /&gt;
Download the bundle here: http://hg.services.openoffice.org/bundle/OOO330.hg&lt;br /&gt;
&lt;br /&gt;
 mkdir &amp;lt;working_dir&amp;gt;&lt;br /&gt;
 cd &amp;lt;working_dir&amp;gt;&lt;br /&gt;
 hg init&lt;br /&gt;
 hg unbundle &amp;lt;path_to_bundle&amp;gt;/OOO330.hg&lt;br /&gt;
 hg pull http://hg.services.openoffice.org/OOO330&lt;br /&gt;
 hg update&lt;br /&gt;
&lt;br /&gt;
Checking out a milestone&lt;br /&gt;
 hg update -r OOO330_mXX&lt;br /&gt;
&lt;br /&gt;
You can clone the repository as well, but it will take much longer than the bundle&lt;br /&gt;
&lt;br /&gt;
 hg clone http://hg.services.openoffice.org/OOO330 &amp;lt;working_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= SCM access for the 3.2 release code line (named OOO320) using Mercurial =&lt;br /&gt;
&lt;br /&gt;
Download the bundle here: http://hg.services.openoffice.org/bundle/OOO320.hg&lt;br /&gt;
&lt;br /&gt;
Just look at the instructions for 3.3 above, and replace OOO330 with OOO320.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Note|For pre-3.2 releases, see [[Getting the source (older versions)]].}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
{{PDL1}}&lt;br /&gt;
[[Category:SVN]][[Category:Mercurial]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide/Getting_the_source&amp;diff=193040</id>
		<title>Documentation/Building Guide/Getting the source</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide/Getting_the_source&amp;diff=193040"/>
		<updated>2011-02-04T10:09:16Z</updated>

		<summary type="html">&lt;p&gt;Mst: add info on OOO330 code line&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/Building Guide TOC&lt;br /&gt;
|ShowNextPage=none&lt;br /&gt;
|ShowPrevPage=none&lt;br /&gt;
}}&lt;br /&gt;
{{DISPLAYTITLE:Getting the source}}&lt;br /&gt;
&lt;br /&gt;
The source code can be fetched in several ways, as described below.&lt;br /&gt;
&lt;br /&gt;
= Source Tarballs (for package maintainers) =&lt;br /&gt;
&lt;br /&gt;
The latest release version of the source code can be downloaded as tarballs from [http://download.openoffice.org/ Download], see &amp;#039;&amp;#039;&amp;#039;Source&amp;#039;&amp;#039;&amp;#039; on the right.&lt;br /&gt;
&lt;br /&gt;
The source is pretty big and has therefore been split into several files.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Tarball&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_core.tar.bz2&lt;br /&gt;
|The necessary part for each build, the other tarballs depend on this one.&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_system.tar.bz2&lt;br /&gt;
|Libraries that usually exist on a standard Linux system&amp;lt;ref name=&amp;quot;Foot1&amp;quot;&amp;gt;{{Template:Documentation/Note|It&amp;#039;s not absolutely necessary to build own versions for these modules on Linux. If you intend to build on Linux &amp;#039;&amp;#039;&amp;#039;without&amp;#039;&amp;#039;&amp;#039; the &amp;#039;&amp;#039;&amp;#039;system&amp;#039;&amp;#039;&amp;#039; tarball:&lt;br /&gt;
* You will need to tell ./configure explicitly to use the system libraries for the software that is otherwise contained in this tarball. Otherwise the build will fail.&lt;br /&gt;
* System software is in active development. If it has changed significantly (and Mozilla sometimes does), the build may fail or OpenOffice.org may not work correctly.&lt;br /&gt;
* unowinreg.dll - Do not be fooled by the .dll extension. Without it, the build will fail on Linux and it is not included in the core package. Don&amp;#039;t worry about downloading this now because the build process will tell you where to get it and where to stick it to proceed.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ref&amp;gt;. For a Windows build this package is usually required.&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_binfilter.tar.bz2&lt;br /&gt;
|The filters for old binary StarOffice formats&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_l10n.tar.bz2&lt;br /&gt;
|Translations of the software for many languages&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_extensions.tar.bz2&lt;br /&gt;
|Extensions source package&lt;br /&gt;
|-&lt;br /&gt;
|OOo_3.x.x_src_testautomation.tar.bz2&lt;br /&gt;
|Automated test suite (optional)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For a full build you need them all. For development, the &amp;#039;&amp;#039;&amp;#039;core&amp;#039;&amp;#039;&amp;#039; package is usually all you need.&lt;br /&gt;
&lt;br /&gt;
Unpack the tarballs one at a time to a directory. They will create a new directory with the name of the milestone, such as &amp;lt;tt&amp;gt;OOO310_m11&amp;lt;/tt&amp;gt;. This folder will from now on be the &amp;lt;code&amp;gt;$SRC_ROOT&amp;lt;/code&amp;gt;, when you run &amp;lt;code&amp;gt;./configure&amp;lt;/code&amp;gt; it will create a shell-script that will set the environment variable to this path.&lt;br /&gt;
{{Template:Documentation/Caution|Avoid using winzip to extract the downloaded source archive. Observed problems include:&lt;br /&gt;
* CR-LF errors that can affect makefiles and cause compile errors&lt;br /&gt;
* Certain files unpacked into root folder, esp. likely when actual path is deeply nested (e.g. &amp;lt;code&amp;gt;foo/bar/source/foo/java/org/x/y/z/w/LongFileName.hmm&amp;lt;/code&amp;gt;) which again causes mysterious compile errors.&lt;br /&gt;
Use the tar from Cygwin instead:&lt;br /&gt;
&lt;br /&gt;
unzip for &amp;lt;tt&amp;gt;.gz&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvzf OOo_3.x.x_src_core.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
bzip2 for &amp;lt;tt&amp;gt;.bz2&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvjf OOo_3.1.0_src_core.tar.bz2&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
= SCM-Access for the current development line (named DEV300) using Mercurial as SCM =&lt;br /&gt;
&lt;br /&gt;
Mercurial (hg) replaces Subversion end of October 2009. The mercurial master repository is already in place. You can clone the repository with&lt;br /&gt;
&lt;br /&gt;
 hg clone http://hg.services.openoffice.org/DEV300 &amp;lt;working_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The OOo Mercurial repository is huge. Cloning the OOo repository as shown above my take some hours depending on the quality of your internet connection. We provide a nightly snapshot as Mercurial bundle which is currently about 1.3 GB in size. Utilizing this bundle is the fastest way to get an initial clone of the repository.&lt;br /&gt;
&lt;br /&gt;
Download the bundle here: http://hg.services.openoffice.org/bundle/DEV300.hg&lt;br /&gt;
 mkdir &amp;lt;working_dir&amp;gt;&lt;br /&gt;
 cd &amp;lt;working_dir&amp;gt;&lt;br /&gt;
 hg init&lt;br /&gt;
 hg unbundle &amp;lt;path_to_bundle&amp;gt;/DEV300.hg&lt;br /&gt;
 hg pull http://hg.services.openoffice.org/DEV300&lt;br /&gt;
 hg update&lt;br /&gt;
&lt;br /&gt;
Both methods will get you a repository and a working tree with the latest changes.&lt;br /&gt;
&lt;br /&gt;
List all available milestones (a stable development version released by RelEng):&lt;br /&gt;
 hg tags&lt;br /&gt;
&lt;br /&gt;
Checking out a milestone&lt;br /&gt;
 hg update -rDEV300_mXX&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Tip| For more information on using Mercurial with OOo, see:&lt;br /&gt;
* [[Mercurial]]&lt;br /&gt;
* [[:Category:Mercurial]]}}&lt;br /&gt;
&lt;br /&gt;
= SCM access for the 3.3 release code line (named OOO330) using Mercurial as SCM =&lt;br /&gt;
&lt;br /&gt;
The OOo Mercurial repository is huge. We provide a nightly snapshot as Mercurial bundle which is currently about 1.4 GB in size. Using this bundle is the fastest way to get an initial clone of the repository.&lt;br /&gt;
&lt;br /&gt;
Download the bundle here: http://hg.services.openoffice.org/bundle/OOO330.hg&lt;br /&gt;
&lt;br /&gt;
 mkdir &amp;lt;working_dir&amp;gt;&lt;br /&gt;
 cd &amp;lt;working_dir&amp;gt;&lt;br /&gt;
 hg init&lt;br /&gt;
 hg unbundle &amp;lt;path_to_bundle&amp;gt;/OOO330.hg&lt;br /&gt;
 hg pull http://hg.services.openoffice.org/OOO330&lt;br /&gt;
 hg update&lt;br /&gt;
&lt;br /&gt;
Checking out a milestone&lt;br /&gt;
 hg update -r OOO330_mXX&lt;br /&gt;
&lt;br /&gt;
You can clone the repository as well, but it will take much longer than the bundle&lt;br /&gt;
&lt;br /&gt;
 hg clone http://hg.services.openoffice.org/OOO330 &amp;lt;working_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= SCM-Access for the 3.2 release code line (named OOO320) using Subversion as SCM =&lt;br /&gt;
Checking out a milestone (a stable development version released by RelEng)&lt;br /&gt;
&lt;br /&gt;
 svn checkout svn://svn.services.openoffice.org/ooo/tags/DEV300_mXX/&lt;br /&gt;
&lt;br /&gt;
Replace XX with the highest currently available milestone.&lt;br /&gt;
&lt;br /&gt;
The files will be placed in the current directory.&lt;br /&gt;
&lt;br /&gt;
See:&lt;br /&gt;
&lt;br /&gt;
 http://svn.services.openoffice.org/ooo/tags/&lt;br /&gt;
&lt;br /&gt;
for a list of available milestones.&lt;br /&gt;
{{Template:Documentation/Note|For more information on using Subversion with OOo, see:&lt;br /&gt;
* [[Setting up Subversion Access]]&lt;br /&gt;
* [[OOo and Subversion|Using Subversion and the new CWS Tooling]]}}&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
{{Template:Documentation/Note|For pre-3.1 releases, see [[Getting the source (older versions)]].}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
{{PDL1}}&lt;br /&gt;
[[Category:SVN]][[Category:Mercurial]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Build_Environment_Effort/Module_Migration&amp;diff=192496</id>
		<title>Build Environment Effort/Module Migration</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Build_Environment_Effort/Module_Migration&amp;diff=192496"/>
		<updated>2011-01-26T14:39:16Z</updated>

		<summary type="html">&lt;p&gt;Mst: add stuff on unit tests&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Build Environment Effort}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to convert an OOo module to the new Build Environment ==&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note|In CWS gnumake3 there are templates for various kinds of makefiles in &amp;lt;code&amp;gt;solenv/gbuild/templates&amp;lt;/code&amp;gt;, which should make this task a lot easier.}}&lt;br /&gt;
&lt;br /&gt;
=== Step 1: Get a makefile in the module root ===&lt;br /&gt;
&lt;br /&gt;
Put a copy of the module makefile in your module root. This file is the same in all modules, so you can simply copy it over from an already migrated module. There is no need to do any modifications to this file.&lt;br /&gt;
&lt;br /&gt;
=== Step 2: Declare the module ===&lt;br /&gt;
&lt;br /&gt;
Create a file with the name Module_${NAME}.mk (Module_tools.mk in our case) in the module root and fill it with this basic content:&lt;br /&gt;
&lt;br /&gt;
 # ...&lt;br /&gt;
 $(eval $(call gb_Module_Module,tools))&lt;br /&gt;
 $(eval $(call gb_Module_add_targets,tools,\&lt;br /&gt;
 ))&lt;br /&gt;
&lt;br /&gt;
=== Step 3: Declare the headers ===&lt;br /&gt;
&lt;br /&gt;
Create a file in the module root called Package_inc.mk and declare the header to be delivered to the solver in it.&lt;br /&gt;
&lt;br /&gt;
 # ...&lt;br /&gt;
 $(eval $(call gb_Package_Package,tools_inc,$(SRCDIR)/tools/inc))&lt;br /&gt;
 $(eval $(call gb_Package_add_file,tools_inc,inc/tools/StringListResource.hxx,tools/StringListResource.hxx))&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
Then add the Package with the headers to the module in Module_tools.mk (in our case, for other modules, use the name of that module)&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 $(eval $(call gb_Module_add_targets,tools,\&lt;br /&gt;
     Package_inc \&lt;br /&gt;
 ))&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
=== Step 4: Add declarations for the libraries and executables ===&lt;br /&gt;
&lt;br /&gt;
To create a library in the module, create a file Library_${NAME}.mk (Library_tl.mk in our case) and add the following content to it:&lt;br /&gt;
&lt;br /&gt;
 $(eval $(call gb_Library_Library,tl))&lt;br /&gt;
&lt;br /&gt;
This declares the library with the name &amp;quot;tl&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 $(eval $(call gb_Library_add_package_headers,tl,tools_inc))&lt;br /&gt;
&lt;br /&gt;
We need to declare the package headers of the libraries. This ensures the headers to be in solver (called $(OUTDIR) according to GNU make code conventions in the new build system) before object files from libraries linking against this library are compiled. The first argument is the library name (a bit like the self argument in object-oriented Python) and the second is the package name we declared earlier.&lt;br /&gt;
&lt;br /&gt;
 $(eval $(call gb_Library_add_precompiled_header,tl,$(SRCDIR)/tools/inc/pch/precompiled_tools))&lt;br /&gt;
&lt;br /&gt;
We also declare a precompiled header file (currently only used on Windows) if the library uses one. The first argument is again the library name, the second is the stem of the path to the PCH file. $(SRCDIR) expands to the OpenOffice.org source tree root directory (gbuild supports multiple source roots/&amp;quot;repositories&amp;quot; -- more on that in a later post).&lt;br /&gt;
&lt;br /&gt;
 $(eval $(call gb_Library_set_include,tl,\&lt;br /&gt;
     $$(INCLUDE) \&lt;br /&gt;
     -I$(OUTDIR)/inc \&lt;br /&gt;
     ...&lt;br /&gt;
 ))&lt;br /&gt;
&lt;br /&gt;
Here we are declaring the include paths to use when compiling the objects of the library. $$(INCLUDE) expands to the old include paths, which, since we have not modified them yet, are the default paths.&lt;br /&gt;
&lt;br /&gt;
 $(eval $(call gb_Library_set_defs,tl,\&lt;br /&gt;
     $$(DEFS) \&lt;br /&gt;
     -DSHARED_LIB \&lt;br /&gt;
     ...&lt;br /&gt;
 ))&lt;br /&gt;
&lt;br /&gt;
This is just the same for the defines.&lt;br /&gt;
&lt;br /&gt;
 $(eval $(call gb_Library_add_linked_libs,tl,\&lt;br /&gt;
     basegfx \&lt;br /&gt;
     comphelper \&lt;br /&gt;
     ... &lt;br /&gt;
 ))&lt;br /&gt;
&lt;br /&gt;
Here we declare the libraries we are linking against. In addition the setting the link flags it also sets the dependencies right:&lt;br /&gt;
&lt;br /&gt;
* Before an object of a library is compiled, all header of the library and all libraries it links against have to be delivered to the $(OUTDIR). This is why we explicitly declared the package headers of the library before.&lt;br /&gt;
* Before an library is linked, all libraries it links against are linked and copied to the $(OUTDIR).&lt;br /&gt;
&lt;br /&gt;
 $(eval $(call gb_Library_add_exception_objects,tl,\&lt;br /&gt;
     tools/source/communi/geninfo \&lt;br /&gt;
     ...&lt;br /&gt;
 ))&lt;br /&gt;
&lt;br /&gt;
Here we enumerate all the objects files are compiled with exceptions enabled, that should be linked into the library. For other types of objects there are the:&lt;br /&gt;
&lt;br /&gt;
* gb_Library_add_noexceptionobjects&lt;br /&gt;
* gb_Library_add_cobjects and&lt;br /&gt;
* gb_Library_add_objcxxobjects macros.&lt;br /&gt;
&lt;br /&gt;
Finally we would need to do some platform specific fixes (like system libraries) to end up with this Library_tl.mk. Then the last thing to do is to add the file to the Repository.mk in the the source root:&lt;br /&gt;
&lt;br /&gt;
 $(eval $(call gb_Helper_register_libraries,OOOLIBS, \&lt;br /&gt;
     ...&lt;br /&gt;
     tl \&lt;br /&gt;
     ...&lt;br /&gt;
 ))&lt;br /&gt;
&lt;br /&gt;
This allows other libraries to link against it by telling gbuild:&lt;br /&gt;
&lt;br /&gt;
* The name of the library on the various platforms.&lt;br /&gt;
* The layer where the library will end up at runtime and thus how the rpath or its equivalent should be set on various platforms.&lt;br /&gt;
&lt;br /&gt;
Repeat the steps for all executables and libraries.&lt;br /&gt;
&lt;br /&gt;
=== Step 5: Unit tests ===&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note|Unit test support is new in CWS gnumake3.}}&lt;br /&gt;
&lt;br /&gt;
* For each CppUnit test, create a CppunitTest_foo.mk makefile from the template.&lt;br /&gt;
In Module_foo.mk, use &amp;lt;code&amp;gt;gb_Module_add_check_targets&amp;lt;/code&amp;gt; to activate the test.&lt;br /&gt;
* For each unoapi/complex test, create a JunitTest_foo.mk makefile from the template.&lt;br /&gt;
In Module_foo.mk, use &amp;lt;code&amp;gt;gb_Module_add_subsequentcheck_targets&amp;lt;/code&amp;gt; to activate the test.&lt;br /&gt;
&lt;br /&gt;
=== Step 6: Finishing touches ===&lt;br /&gt;
&lt;br /&gt;
* Add the migrated module to the Module_ooo.mk at the source root.&lt;br /&gt;
* Put a copy of the bridge makefile in the prj directory of the module for dmake.&lt;br /&gt;
* Clear the prj/build.lst, add just the prj directory for the bridge makefile.&lt;br /&gt;
* Clear the prj/d.lst and remove the old dmake makefiles.&lt;br /&gt;
&lt;br /&gt;
Done!&lt;br /&gt;
&lt;br /&gt;
I hope this tutorial gives you a good start with the new build system. If you are interested in migrating a module and you do not care which one it would be great if you chose one of the &amp;quot;late&amp;quot; modules build after svx. Because once we have all modules from svx up migrated, we can build those in one GNU make process and get rid of build.pl for that part. To find out which modules are &amp;quot;late&amp;quot; take a look at the split build analysis Mathias published in the Build Environment Effort section of the OpenOffice.org wiki or at the build timeline I created as a record of the status quo.&lt;br /&gt;
&lt;br /&gt;
I have spend quite some time with the new build system and might already take some concepts for granted in the tutorial above that are not obvious for a newcomer. So if anything of the above is unclear do not hesitate to ask and comment. With the introduction of gnumake2 I will create a copy of the tutorial in the OpenOffice.org wiki so that it can be expanded and refined with your valued input.&lt;br /&gt;
&lt;br /&gt;
So happy hacking with the new build system!&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer/Debugging&amp;diff=190523</id>
		<title>Writer/Debugging</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer/Debugging&amp;diff=190523"/>
		<updated>2010-12-21T17:02:53Z</updated>

		<summary type="html">&lt;p&gt;Mst: Created page with &amp;#039;{{Writer Project|Category=Writer/CoreDoc}} Category:Debugging  == GDB functions to look at writer stuff ==  Here are some GDB functions to examine the writer model a bit. Put…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Writer Project|Category=Writer/CoreDoc}}&lt;br /&gt;
[[Category:Debugging]]&lt;br /&gt;
&lt;br /&gt;
== GDB functions to look at writer stuff ==&lt;br /&gt;
&lt;br /&gt;
Here are some GDB functions to examine the writer model a bit.&lt;br /&gt;
Put these into &amp;lt;tt&amp;gt;.gdbinit&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def p_indent&lt;br /&gt;
  set $indent_ = $arg0&lt;br /&gt;
  set $i_ = 0&lt;br /&gt;
  while ($i_ &amp;lt; $indent_)&lt;br /&gt;
    printf &amp;quot;  &amp;quot;&lt;br /&gt;
    set $i_ = $i_ + 1&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
# print SwNodes&lt;br /&gt;
def pna&lt;br /&gt;
  set $pna_nodes = $arg0&lt;br /&gt;
  set $pna_size = $pna_nodes.ppInf[0].nElem&lt;br /&gt;
  set $pna_i = 0&lt;br /&gt;
  set $pna_indent = 0&lt;br /&gt;
  printf &amp;quot;Nodes: %d\n&amp;quot;, $pna_size&lt;br /&gt;
  while ($pna_i &amp;lt; $pna_size)&lt;br /&gt;
    set $pna_node = (SwNode*) ($pna_nodes.ppInf[0].pData[$pna_i])&lt;br /&gt;
    if ($pna_node.nNodeType &amp;amp; ND_ENDNODE)&lt;br /&gt;
      set $pna_indent = $pna_indent - 1&lt;br /&gt;
    end&lt;br /&gt;
    p_indent $pna_indent&lt;br /&gt;
    printf &amp;quot;[%4d] %p &amp;quot;, $pna_i, $pna_node&lt;br /&gt;
    if ($pna_node.nNodeType &amp;amp; ND_STARTNODE)&lt;br /&gt;
      set $pna_indent = $pna_indent - 1&lt;br /&gt;
    end&lt;br /&gt;
#FIXME how to get the dynamic class? this is ugly...&lt;br /&gt;
    if ($pna_node.nNodeType == ND_TEXTNODE)&lt;br /&gt;
      printf &amp;quot;   TextNode &amp;quot;&lt;br /&gt;
      printf &amp;quot;content: &amp;quot;&lt;br /&gt;
      set $pna_txtnode = (SwTxtNode*) $pna_node&lt;br /&gt;
      ptu $pna_txtnode.m_Text&lt;br /&gt;
    else&lt;br /&gt;
      if ($pna_node.nNodeType == ND_OLENODE)&lt;br /&gt;
        printf &amp;quot;    OLENode &amp;quot;&lt;br /&gt;
      else&lt;br /&gt;
        if ($pna_node.nNodeType == ND_GRFNODE)&lt;br /&gt;
          printf &amp;quot;    GrfNode &amp;quot;&lt;br /&gt;
        else&lt;br /&gt;
          if ($pna_node.nNodeType == ND_SECTIONNODE)&lt;br /&gt;
            printf &amp;quot;SectionNode &amp;quot;&lt;br /&gt;
          else&lt;br /&gt;
            if ($pna_node.nNodeType &amp;amp; ND_STARTNODE)&lt;br /&gt;
              printf &amp;quot;  StartNode &amp;quot;&lt;br /&gt;
            else&lt;br /&gt;
              if ($pna_node.nNodeType &amp;amp; ND_ENDNODE)&lt;br /&gt;
                printf &amp;quot;    EndNode &amp;quot;&lt;br /&gt;
              end&lt;br /&gt;
            end&lt;br /&gt;
          end&lt;br /&gt;
        end&lt;br /&gt;
      end&lt;br /&gt;
      printf &amp;quot;\n&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
    set $pna_i = $pna_i + 1&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
# print SwDoc-&amp;gt;GetNodes()&lt;br /&gt;
def pdna&lt;br /&gt;
  pna $arg0.aNodes&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
# print SwPosition&lt;br /&gt;
def ppos&lt;br /&gt;
  set $ppos_pos = $arg0&lt;br /&gt;
  set $ppos_node = $ppos_pos.nNode.pNd&lt;br /&gt;
  printf &amp;quot;pos: [%4d] %p &amp;quot;, $ppos_node.nOffset, $ppos_node&lt;br /&gt;
  printf &amp;quot;index: %d\n&amp;quot;, $ppos_pos.nContent.nIndex&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
# print SwPaM&lt;br /&gt;
def ppam&lt;br /&gt;
  set $ppam_pam = $arg0&lt;br /&gt;
  printf &amp;quot;point: &amp;quot;&lt;br /&gt;
  ppos *$ppam_pam.m_pPoint&lt;br /&gt;
  if ($ppam_pam.m_pPoint != $ppam_pam.m_pMark)&lt;br /&gt;
    printf &amp;quot; mark: &amp;quot;&lt;br /&gt;
    ppos *$ppam_pam.m_pMark&lt;br /&gt;
  else&lt;br /&gt;
    printf &amp;quot;no mark.\n&amp;quot;&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== DBX functions to look at writer stuff ==&lt;br /&gt;
&lt;br /&gt;
Here are some DBX functions to examine the writer model a bit.&lt;br /&gt;
Put these into &amp;lt;tt&amp;gt;.dbxrc&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# print SwNodes&lt;br /&gt;
function pna&lt;br /&gt;
{&lt;br /&gt;
    : ${1?&amp;quot;usage: $0 SwNodes # print SwNodes&amp;quot;}&lt;br /&gt;
    typeset len=$[(long) ($1).ppInf[0].nElem]&lt;br /&gt;
    typeset i=$[0]&lt;br /&gt;
    while [ $i -lt $len ]&lt;br /&gt;
    do&lt;br /&gt;
#        print -d ((SwNode*)($1).aNodes.ppInf[0].pData[$i])&lt;br /&gt;
        typeset node=&amp;quot;(SwNode*)($1).ppInf[0].pData[$i]&amp;quot;&lt;br /&gt;
        print -d -p $node&lt;br /&gt;
        if $[((SwNode*)$node).nNodeType == ND_TEXTNODE]; then&lt;br /&gt;
            pu &amp;quot;((SwTxtNode*)$node).m_Text&amp;quot;&lt;br /&gt;
        fi&lt;br /&gt;
        i=$[$i+1]&lt;br /&gt;
    done&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# print SwDoc-&amp;gt;GetNodes()&lt;br /&gt;
function pdna&lt;br /&gt;
{&lt;br /&gt;
    : ${1?&amp;quot;usage: $0 SwDoc # print SwNodes&amp;quot;}&lt;br /&gt;
    pna &amp;quot;($1).aNodes&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# print SwPosition&lt;br /&gt;
function ppos&lt;br /&gt;
{&lt;br /&gt;
    : ${1?&amp;quot;usage: $0 SwPosition     # print SwPosition&amp;quot;}&lt;br /&gt;
    print ($1).nNode.pNd.nOffset&lt;br /&gt;
    print ($1).nContent.nIndex&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# print SwPaM&lt;br /&gt;
function ppam&lt;br /&gt;
{&lt;br /&gt;
    : ${1?&amp;quot;usage: $0 SwPaM          # print SwPaM&amp;quot;}&lt;br /&gt;
    print ($1).m_Bound1.nNode.pNd.nOffset&lt;br /&gt;
    print ($1).m_Bound1.nContent.nIndex&lt;br /&gt;
    print ($1).m_Bound2.nNode.pNd.nOffset&lt;br /&gt;
    print ($1).m_Bound2.nContent.nIndex&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=OpenOffice.org_Basic_in_NetBeans/files/language.nbs&amp;diff=190521</id>
		<title>OpenOffice.org Basic in NetBeans/files/language.nbs</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=OpenOffice.org_Basic_in_NetBeans/files/language.nbs&amp;diff=190521"/>
		<updated>2010-12-21T16:42:01Z</updated>

		<summary type="html">&lt;p&gt;Mst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.&lt;br /&gt;
#&lt;br /&gt;
# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.&lt;br /&gt;
#&lt;br /&gt;
# The contents of this file are subject to the terms of either the GNU&lt;br /&gt;
# General Public License Version 2 only (&amp;quot;GPL&amp;quot;) or the Common&lt;br /&gt;
# Development and Distribution License(&amp;quot;CDDL&amp;quot;) (collectively, the&lt;br /&gt;
# &amp;quot;License&amp;quot;). You may not use this file except in compliance with the&lt;br /&gt;
# License. You can obtain a copy of the License at&lt;br /&gt;
# http://www.netbeans.org/cddl-gplv2.html&lt;br /&gt;
# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the&lt;br /&gt;
# specific language governing permissions and limitations under the&lt;br /&gt;
# License.  When distributing the software, include this License Header&lt;br /&gt;
# Notice in each file and include the License file at&lt;br /&gt;
# nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this&lt;br /&gt;
# particular file as subject to the &amp;quot;Classpath&amp;quot; exception as provided&lt;br /&gt;
# by Sun in the GPL Version 2 section of the License file that&lt;br /&gt;
# accompanied this code. If applicable, add the following below the&lt;br /&gt;
# License Header, with the fields enclosed by brackets [] replaced by&lt;br /&gt;
# your own identifying information:&lt;br /&gt;
# &amp;quot;Portions Copyrighted [year] [name of copyright owner]&amp;quot;&lt;br /&gt;
#&lt;br /&gt;
# Contributor(s):&lt;br /&gt;
#&lt;br /&gt;
# The Original Software is NetBeans. The Initial Developer of the Original&lt;br /&gt;
# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun&lt;br /&gt;
# Microsystems, Inc. All Rights Reserved.&lt;br /&gt;
#&lt;br /&gt;
# If you wish your version of this file to be governed by only the CDDL&lt;br /&gt;
# or only the GPL Version 2, indicate your decision by adding&lt;br /&gt;
# &amp;quot;[Contributor] elects to include this software in this distribution&lt;br /&gt;
# under the [CDDL or GPL Version 2] license.&amp;quot; If you do not indicate a&lt;br /&gt;
# single choice of license, a recipient has the option to distribute&lt;br /&gt;
# your version of this file under either the CDDL, the GPL Version 2 or&lt;br /&gt;
# to extend the choice of license to its licensees as provided above.&lt;br /&gt;
# However, if you add GPL Version 2 code and therefore, elected the GPL&lt;br /&gt;
# Version 2 license, then the option applies only if the new code is&lt;br /&gt;
# made subject to such option by the copyright holder.&lt;br /&gt;
&lt;br /&gt;
# Maintainer: thorsten.bosbach@sun.com 01.03.2008&lt;br /&gt;
# OpenOffice.org VCL TestTool Support for .bas and .inc files&lt;br /&gt;
&lt;br /&gt;
# Extraction of keywords from the files:&lt;br /&gt;
# script/basic/source/runtime/stdobj.cxx&lt;br /&gt;
# script/basic/source/runtime/rtlproto.hxx&lt;br /&gt;
# util/automation/source/testtool/objtest.hxx&lt;br /&gt;
# util/automation/source/testtool/objtest.cxx&lt;br /&gt;
########### tokens #############################################################&lt;br /&gt;
&lt;br /&gt;
TOKEN:sb_type: (&lt;br /&gt;
  &amp;quot;Boolean&amp;quot;i&lt;br /&gt;
| &amp;quot;Date&amp;quot;i&lt;br /&gt;
| &amp;quot;Double&amp;quot;i&lt;br /&gt;
| &amp;quot;Integer&amp;quot;i&lt;br /&gt;
| &amp;quot;Long&amp;quot;i&lt;br /&gt;
| &amp;quot;Object&amp;quot;i&lt;br /&gt;
| &amp;quot;Single&amp;quot;i&lt;br /&gt;
| &amp;quot;String&amp;quot;i&lt;br /&gt;
| &amp;quot;Variant&amp;quot;i&lt;br /&gt;
| &amp;quot;Empty&amp;quot;i&lt;br /&gt;
| &amp;quot;Null&amp;quot;i&lt;br /&gt;
)&lt;br /&gt;
TOKEN:sb_deprecated: (&lt;br /&gt;
  &amp;quot;AboutStarBasic&amp;quot;i&lt;br /&gt;
| &amp;quot;SendKeys&amp;quot;i&lt;br /&gt;
| &amp;quot;DumpAllObjects&amp;quot;i&lt;br /&gt;
| &amp;quot;Load&amp;quot;i&lt;br /&gt;
| &amp;quot;Unload&amp;quot;i&lt;br /&gt;
| &amp;quot;LoadPicture&amp;quot;i&lt;br /&gt;
| &amp;quot;SavePicture&amp;quot;i&lt;br /&gt;
| &amp;quot;CreatePropertySet&amp;quot;i&lt;br /&gt;
| &amp;quot;CCur&amp;quot;i&lt;br /&gt;
| &amp;quot;StrConv&amp;quot;i&lt;br /&gt;
| &amp;quot;DateAdd&amp;quot;i&lt;br /&gt;
| &amp;quot;DateDiff&amp;quot;i&lt;br /&gt;
| &amp;quot;DatePart&amp;quot;i&lt;br /&gt;
)&lt;br /&gt;
TOKEN:sb_function: (&lt;br /&gt;
  &amp;quot;Abs&amp;quot;i&lt;br /&gt;
| &amp;quot;Array&amp;quot;i&lt;br /&gt;
| &amp;quot;Asc&amp;quot;i&lt;br /&gt;
| &amp;quot;Atn&amp;quot;i&lt;br /&gt;
| &amp;quot;Blue&amp;quot;i&lt;br /&gt;
| &amp;quot;CBool&amp;quot;i&lt;br /&gt;
| &amp;quot;CByte&amp;quot;i&lt;br /&gt;
| &amp;quot;CDateFromIso&amp;quot;i&lt;br /&gt;
| &amp;quot;CDateToIso&amp;quot;i&lt;br /&gt;
| &amp;quot;CDate&amp;quot;i&lt;br /&gt;
| &amp;quot;CDec&amp;quot;i&lt;br /&gt;
| &amp;quot;CDbl&amp;quot;i&lt;br /&gt;
| &amp;quot;CInt&amp;quot;i&lt;br /&gt;
| &amp;quot;CLng&amp;quot;i&lt;br /&gt;
| &amp;quot;CSng&amp;quot;i&lt;br /&gt;
| &amp;quot;CStr&amp;quot;i&lt;br /&gt;
| &amp;quot;CVar&amp;quot;i&lt;br /&gt;
| &amp;quot;CVErr&amp;quot;i&lt;br /&gt;
| &amp;quot;Choose&amp;quot;i&lt;br /&gt;
| &amp;quot;Chr&amp;quot;i&lt;br /&gt;
| &amp;quot;ConvertToUrl&amp;quot;i&lt;br /&gt;
| &amp;quot;ConvertFromUrl&amp;quot;i&lt;br /&gt;
| &amp;quot;Cos&amp;quot;i&lt;br /&gt;
| &amp;quot;CreateUnoDialog&amp;quot;i&lt;br /&gt;
| &amp;quot;CreateUnoListener&amp;quot;i&lt;br /&gt;
| &amp;quot;CreateUnoService&amp;quot;i&lt;br /&gt;
| &amp;quot;CreateUnoStruct&amp;quot;i&lt;br /&gt;
| &amp;quot;CreateUnoValue&amp;quot;i&lt;br /&gt;
| &amp;quot;CreateObject&amp;quot;i&lt;br /&gt;
| &amp;quot;CurDir&amp;quot;i&lt;br /&gt;
| &amp;quot;DateSerial&amp;quot;i&lt;br /&gt;
| &amp;quot;DateValue&amp;quot;i&lt;br /&gt;
| &amp;quot;Day&amp;quot;i&lt;br /&gt;
| &amp;quot;DimArray&amp;quot;i&lt;br /&gt;
| &amp;quot;Dir&amp;quot;i&lt;br /&gt;
| &amp;quot;Environ&amp;quot;i&lt;br /&gt;
| &amp;quot;EOF&amp;quot;i&lt;br /&gt;
| &amp;quot;EqualUnoObjects&amp;quot;i&lt;br /&gt;
| &amp;quot;Erl&amp;quot;i&lt;br /&gt;
| &amp;quot;Err&amp;quot;i&lt;br /&gt;
| &amp;quot;Error&amp;quot;i&lt;br /&gt;
| &amp;quot;On&amp;quot;i | &amp;quot;{Error&amp;quot;i |&amp;quot;GoTo&amp;quot;i| &amp;quot;Labelname&amp;quot;i | &amp;quot;GoTo&amp;quot;i | &amp;quot;0&amp;quot;i | &amp;quot;Resume&amp;quot;i | &amp;quot;Next}&amp;quot;i&lt;br /&gt;
| &amp;quot;Exp&amp;quot;i&lt;br /&gt;
| &amp;quot;FileAttr&amp;quot;i&lt;br /&gt;
| &amp;quot;FileDateTime&amp;quot;i&lt;br /&gt;
| &amp;quot;FileExists&amp;quot;i&lt;br /&gt;
| &amp;quot;FileLen&amp;quot;i&lt;br /&gt;
| &amp;quot;FindObject&amp;quot;i&lt;br /&gt;
| &amp;quot;FindPropertyObject&amp;quot;i&lt;br /&gt;
| &amp;quot;Fix&amp;quot;i&lt;br /&gt;
| &amp;quot;Format&amp;quot;i&lt;br /&gt;
| &amp;quot;FreeFile&amp;quot;i&lt;br /&gt;
| &amp;quot;FreeLibrary&amp;quot;i&lt;br /&gt;
| &amp;quot;GetAttr&amp;quot;i&lt;br /&gt;
| &amp;quot;GetDefaultContext&amp;quot;i&lt;br /&gt;
| &amp;quot;GetProcessServiceManager&amp;quot;i&lt;br /&gt;
| &amp;quot;GetSolarVersion&amp;quot;i&lt;br /&gt;
| &amp;quot;GetSystemTicks&amp;quot;i&lt;br /&gt;
| &amp;quot;GetGUIType&amp;quot;i&lt;br /&gt;
| &amp;quot;Green&amp;quot;i&lt;br /&gt;
| &amp;quot;HasUnoInterfaces&amp;quot;i&lt;br /&gt;
| &amp;quot;Hex&amp;quot;i&lt;br /&gt;
| &amp;quot;Hour&amp;quot;i&lt;br /&gt;
| &amp;quot;InStr&amp;quot;i&lt;br /&gt;
| &amp;quot;InputBox&amp;quot;i&lt;br /&gt;
| &amp;quot;Int&amp;quot;i&lt;br /&gt;
| &amp;quot;IsArray&amp;quot;i&lt;br /&gt;
| &amp;quot;IsDate&amp;quot;i&lt;br /&gt;
| &amp;quot;IsEmpty&amp;quot;i&lt;br /&gt;
| &amp;quot;IsError&amp;quot;i&lt;br /&gt;
| &amp;quot;IsMissing&amp;quot;i&lt;br /&gt;
| &amp;quot;IsNull&amp;quot;i&lt;br /&gt;
| &amp;quot;IsNumeric&amp;quot;i&lt;br /&gt;
| &amp;quot;IsObject&amp;quot;i&lt;br /&gt;
| &amp;quot;IsUnoStruct&amp;quot;i&lt;br /&gt;
| &amp;quot;Join&amp;quot;i&lt;br /&gt;
| &amp;quot;LBound&amp;quot;i&lt;br /&gt;
| &amp;quot;LCase&amp;quot;i&lt;br /&gt;
| &amp;quot;LTrim&amp;quot;i&lt;br /&gt;
| &amp;quot;Left&amp;quot;i&lt;br /&gt;
| &amp;quot;Len&amp;quot;i&lt;br /&gt;
| &amp;quot;Loc&amp;quot;i&lt;br /&gt;
| &amp;quot;Lof&amp;quot;i&lt;br /&gt;
| &amp;quot;Log&amp;quot;i&lt;br /&gt;
| &amp;quot;Mid&amp;quot;i&lt;br /&gt;
| &amp;quot;Minute&amp;quot;i&lt;br /&gt;
| &amp;quot;Month&amp;quot;i&lt;br /&gt;
| &amp;quot;MsgBox&amp;quot;i&lt;br /&gt;
| &amp;quot;Now&amp;quot;i&lt;br /&gt;
| &amp;quot;Oct&amp;quot;i&lt;br /&gt;
| &amp;quot;QBColor&amp;quot;i&lt;br /&gt;
| &amp;quot;Red&amp;quot;i&lt;br /&gt;
| &amp;quot;RGB&amp;quot;i&lt;br /&gt;
| &amp;quot;Right&amp;quot;i&lt;br /&gt;
| &amp;quot;RmDir&amp;quot;i&lt;br /&gt;
| &amp;quot;Rnd&amp;quot;i&lt;br /&gt;
| &amp;quot;RTrim&amp;quot;i&lt;br /&gt;
| &amp;quot;Second&amp;quot;i&lt;br /&gt;
| &amp;quot;Seek&amp;quot;i&lt;br /&gt;
| &amp;quot;Sgn&amp;quot;i&lt;br /&gt;
| &amp;quot;Shell&amp;quot;i&lt;br /&gt;
| &amp;quot;Sin&amp;quot;i&lt;br /&gt;
| &amp;quot;Space&amp;quot;i&lt;br /&gt;
| &amp;quot;Split&amp;quot;i&lt;br /&gt;
| &amp;quot;Sqr&amp;quot;i&lt;br /&gt;
| &amp;quot;Str&amp;quot;i&lt;br /&gt;
| &amp;quot;StrComp&amp;quot;i&lt;br /&gt;
| &amp;quot;String&amp;quot;i&lt;br /&gt;
| &amp;quot;Switch&amp;quot;i&lt;br /&gt;
| &amp;quot;Tan&amp;quot;i&lt;br /&gt;
| &amp;quot;Timer&amp;quot;i&lt;br /&gt;
| &amp;quot;TimeSerial&amp;quot;i&lt;br /&gt;
| &amp;quot;TimeValue&amp;quot;i&lt;br /&gt;
| &amp;quot;Trim&amp;quot;i&lt;br /&gt;
| &amp;quot;TwipsPerPixelX&amp;quot;i&lt;br /&gt;
| &amp;quot;TwipsPerPixelY&amp;quot;i&lt;br /&gt;
| &amp;quot;TypeName&amp;quot;i&lt;br /&gt;
| &amp;quot;UBound&amp;quot;i&lt;br /&gt;
| &amp;quot;UCase&amp;quot;i&lt;br /&gt;
| &amp;quot;Val&amp;quot;i&lt;br /&gt;
| &amp;quot;VarType&amp;quot;i&lt;br /&gt;
| &amp;quot;Weekday&amp;quot;i&lt;br /&gt;
| &amp;quot;Year&amp;quot;i&lt;br /&gt;
| &amp;quot;Pi&amp;quot;i&lt;br /&gt;
)&lt;br /&gt;
TOKEN:sb_operator: (&lt;br /&gt;
   &amp;quot;=&amp;quot; | &amp;quot;&amp;lt;&amp;quot; | &amp;quot;&amp;gt;&amp;quot; | &amp;quot;&amp;lt;=&amp;quot; | &amp;quot;&amp;gt;=&amp;quot; | &amp;quot;&amp;lt;&amp;gt;&amp;quot; &lt;br /&gt;
| &amp;quot;TRUE&amp;quot;i | &amp;quot;FALSE&amp;quot;i &lt;br /&gt;
| &amp;quot;AND&amp;quot;i |&amp;quot;Eqv&amp;quot;i| &amp;quot;Imp&amp;quot;i| &amp;quot;MOD&amp;quot;i| &amp;quot;NOT&amp;quot;i| &amp;quot;OR&amp;quot;i| &amp;quot;XOR&amp;quot;i&lt;br /&gt;
| &amp;quot;-&amp;quot; | &amp;quot;*&amp;quot; | &amp;quot;+&amp;quot; | &amp;quot;/&amp;quot; | &amp;quot;^&amp;quot;&lt;br /&gt;
| &amp;quot;(&amp;quot; | &amp;quot;)&amp;quot; &lt;br /&gt;
| &amp;quot;&amp;amp;&amp;quot; | &amp;quot;,&amp;quot; | &amp;quot;_&amp;quot; | &amp;quot;.&amp;quot; | &amp;quot;;&amp;quot;&lt;br /&gt;
)&lt;br /&gt;
TOKEN:sb_statement: (&lt;br /&gt;
  &amp;quot;Beep&amp;quot;i&lt;br /&gt;
| &amp;quot;Call&amp;quot;i&lt;br /&gt;
| &amp;quot;ChDir&amp;quot;i&lt;br /&gt;
| &amp;quot;ChDrive&amp;quot;i&lt;br /&gt;
| &amp;quot;Close&amp;quot;i&lt;br /&gt;
| &amp;quot;Const&amp;quot;i&lt;br /&gt;
| &amp;quot;Date&amp;quot;i&lt;br /&gt;
| &amp;quot;Declare&amp;quot;i&lt;br /&gt;
| &amp;quot;DefBool&amp;quot;i&lt;br /&gt;
| &amp;quot;DefDate&amp;quot;i&lt;br /&gt;
| &amp;quot;DefDbl&amp;quot;i&lt;br /&gt;
| &amp;quot;DefInt&amp;quot;i&lt;br /&gt;
| &amp;quot;DefLng&amp;quot;i&lt;br /&gt;
| &amp;quot;DefObj&amp;quot;i&lt;br /&gt;
| &amp;quot;DevVar&amp;quot;i&lt;br /&gt;
| &amp;quot;Dim&amp;quot;i&lt;br /&gt;
| &amp;quot;as&amp;quot;i&lt;br /&gt;
| &amp;quot;Do Loop&amp;quot;i&lt;br /&gt;
| &amp;quot;End,&amp;quot;i| &amp;quot;End Function,&amp;quot;i| &amp;quot;End If,&amp;quot;i| &amp;quot;End Select,&amp;quot;i| &amp;quot;End Sub&amp;quot;i&lt;br /&gt;
| &amp;quot;Exit&amp;quot;i&lt;br /&gt;
| &amp;quot;FileCopy&amp;quot;i&lt;br /&gt;
| &amp;quot;For Next&amp;quot;i&lt;br /&gt;
| &amp;quot;Function&amp;quot;i&lt;br /&gt;
| &amp;quot;Get&amp;quot;i&lt;br /&gt;
| &amp;quot;GoSub&amp;quot;i | &amp;quot;.....&amp;quot;i| &amp;quot;Return&amp;quot;i&lt;br /&gt;
| &amp;quot;GoTo&amp;quot;i&lt;br /&gt;
| &amp;quot;Iif&amp;quot;i&lt;br /&gt;
| &amp;quot;If&amp;quot;i| &amp;quot;...&amp;quot;i| &amp;quot;Then&amp;quot;i| &amp;quot;...&amp;quot;i| &amp;quot;Else&amp;quot;i| &amp;quot;ElseIf&amp;quot;i| &amp;quot;EndIf&amp;quot;i| &amp;quot;End If&amp;quot;i&lt;br /&gt;
| &amp;quot;Input&amp;quot;i&lt;br /&gt;
| &amp;quot;Kill&amp;quot;i&lt;br /&gt;
| &amp;quot;LSet&amp;quot;i&lt;br /&gt;
| &amp;quot;Let&amp;quot;i&lt;br /&gt;
| &amp;quot;Line Input&amp;quot;i&lt;br /&gt;
| &amp;quot;MkDir&amp;quot;i&lt;br /&gt;
| &amp;quot;Name&amp;quot;i&lt;br /&gt;
| &amp;quot;Open&amp;quot;i&lt;br /&gt;
| &amp;quot;Option Base&amp;quot;i&lt;br /&gt;
| &amp;quot;Option Explicit&amp;quot;i&lt;br /&gt;
| &amp;quot;Optional&amp;quot;i&lt;br /&gt;
| &amp;quot;Print&amp;quot;i&lt;br /&gt;
| &amp;quot;Public&amp;quot;i&lt;br /&gt;
| &amp;quot;Put&amp;quot;i&lt;br /&gt;
| &amp;quot;Randomize&amp;quot;i&lt;br /&gt;
| &amp;quot;ReDim&amp;quot;i&lt;br /&gt;
| &amp;quot;Rem&amp;quot;i&lt;br /&gt;
| &amp;quot;Reset&amp;quot;i&lt;br /&gt;
| &amp;quot;RSet&amp;quot;i&lt;br /&gt;
| &amp;quot;Select&amp;quot;i| &amp;quot;Case&amp;quot;i| &amp;quot;Case&amp;quot;i| &amp;quot;Else&amp;quot;i| &amp;quot;End&amp;quot;i| &amp;quot;Select&amp;quot;i&lt;br /&gt;
| &amp;quot;Set&amp;quot;i&lt;br /&gt;
| &amp;quot;SetAttr&amp;quot;i&lt;br /&gt;
| &amp;quot;Static&amp;quot;i&lt;br /&gt;
| &amp;quot;Stop&amp;quot;i&lt;br /&gt;
| &amp;quot;Sub&amp;quot;i&lt;br /&gt;
| &amp;quot;Time&amp;quot;i&lt;br /&gt;
| &amp;quot;Wait&amp;quot;i&lt;br /&gt;
| &amp;quot;While&amp;quot;i| &amp;quot;...Wend&amp;quot;i&lt;br /&gt;
| &amp;quot;With&amp;quot;i&lt;br /&gt;
| &amp;quot;Write&amp;quot;i&lt;br /&gt;
| &amp;quot;GlobalScope&amp;quot;i&lt;br /&gt;
| &amp;quot;CompatibilityMode&amp;quot;i&lt;br /&gt;
) &lt;br /&gt;
TOKEN:sb_undefined: (&lt;br /&gt;
  &amp;quot;Spc&amp;quot;i&lt;br /&gt;
| &amp;quot;TypeLen&amp;quot;i&lt;br /&gt;
| &amp;quot;DDEInitiate&amp;quot;i&lt;br /&gt;
| &amp;quot;DDETerminate&amp;quot;i&lt;br /&gt;
| &amp;quot;DDETerminateAll&amp;quot;i&lt;br /&gt;
| &amp;quot;DDERequest&amp;quot;i&lt;br /&gt;
| &amp;quot;DDEExecute&amp;quot;i&lt;br /&gt;
| &amp;quot;DDEPoke&amp;quot;i&lt;br /&gt;
| &amp;quot;WaitUntil&amp;quot;i&lt;br /&gt;
| &amp;quot;EnableReschedule&amp;quot;i&lt;br /&gt;
| &amp;quot;GetDialogZoomFactorX&amp;quot;i&lt;br /&gt;
| &amp;quot;GetDialogZoomFactorY&amp;quot;i&lt;br /&gt;
| &amp;quot;ResolvePath&amp;quot;i&lt;br /&gt;
| &amp;quot;GetSystemType&amp;quot;i&lt;br /&gt;
| &amp;quot;GetGUIVersion&amp;quot;i&lt;br /&gt;
| &amp;quot;GetPathSeparator&amp;quot;i&lt;br /&gt;
)&lt;br /&gt;
TOKEN:sb_compatibility: (&lt;br /&gt;
  &amp;quot;AscW&amp;quot;i&lt;br /&gt;
| &amp;quot;ChrW&amp;quot;i&lt;br /&gt;
| &amp;quot;FormatDateTime&amp;quot;i&lt;br /&gt;
| &amp;quot;Input&amp;quot;i&lt;br /&gt;
| &amp;quot;InStrRev&amp;quot;i&lt;br /&gt;
| &amp;quot;Me&amp;quot;i&lt;br /&gt;
| &amp;quot;MonthName&amp;quot;i&lt;br /&gt;
| &amp;quot;Round&amp;quot;i&lt;br /&gt;
| &amp;quot;RTL&amp;quot;i&lt;br /&gt;
| &amp;quot;StrReverse&amp;quot;i&lt;br /&gt;
| &amp;quot;WeekdayName&amp;quot;i&lt;br /&gt;
)&lt;br /&gt;
TOKEN:tt_function:(&lt;br /&gt;
  &amp;quot;Kontext&amp;quot;i&lt;br /&gt;
| &amp;quot;GetError&amp;quot;i&lt;br /&gt;
| &amp;quot;ErrorDummy&amp;quot;i&lt;br /&gt;
| &amp;quot;RecordError&amp;quot;i&lt;br /&gt;
| &amp;quot;Start&amp;quot;i&lt;br /&gt;
| &amp;quot;Kill&amp;quot;i&lt;br /&gt;
| &amp;quot;Reset&amp;quot;i&lt;br /&gt;
| &amp;quot;AppAbort&amp;quot;i&lt;br /&gt;
| &amp;quot;Dispatch&amp;quot;i&lt;br /&gt;
| &amp;quot;UNODispatch&amp;quot;i&lt;br /&gt;
| &amp;quot;Control&amp;quot;i&lt;br /&gt;
| &amp;quot;StartUse&amp;quot;i&lt;br /&gt;
| &amp;quot;Use&amp;quot;i&lt;br /&gt;
| &amp;quot;FinishUse&amp;quot;i&lt;br /&gt;
| &amp;quot;CaseLog&amp;quot;i&lt;br /&gt;
| &amp;quot;ExceptLog&amp;quot;i&lt;br /&gt;
| &amp;quot;PrintLog&amp;quot;i&lt;br /&gt;
| &amp;quot;WarnLog&amp;quot;i&lt;br /&gt;
| &amp;quot;ErrorLog&amp;quot;i&lt;br /&gt;
| &amp;quot;EnableQaErrors&amp;quot;i&lt;br /&gt;
| &amp;quot;QAErrorLog&amp;quot;i&lt;br /&gt;
| &amp;quot;MaybeAddErr&amp;quot;i&lt;br /&gt;
| &amp;quot;ClearError&amp;quot;i&lt;br /&gt;
| &amp;quot;GetNextCloseWindow&amp;quot;i&lt;br /&gt;
| &amp;quot;RemoteCommand&amp;quot;i&lt;br /&gt;
| &amp;quot;SaveIDs&amp;quot;i&lt;br /&gt;
| &amp;quot;AutoExecute&amp;quot;i&lt;br /&gt;
| &amp;quot;Execute&amp;quot;i&lt;br /&gt;
| &amp;quot;DialogHandler&amp;quot;i&lt;br /&gt;
| &amp;quot;GetUnoApp&amp;quot;i&lt;br /&gt;
| &amp;quot;GetIServer&amp;quot;i&lt;br /&gt;
| &amp;quot;RemoteCommandDelay&amp;quot;i&lt;br /&gt;
| &amp;quot;GetApplicationPath&amp;quot;i&lt;br /&gt;
| &amp;quot;GetCommonApplicationPath&amp;quot;i&lt;br /&gt;
| &amp;quot;MakeIniFileName&amp;quot;i&lt;br /&gt;
| &amp;quot;StringControl&amp;quot;i&lt;br /&gt;
| &amp;quot;Wait&amp;quot;i&lt;br /&gt;
| &amp;quot;GetErrorCount&amp;quot;i&lt;br /&gt;
| &amp;quot;GetWarningCount&amp;quot;i&lt;br /&gt;
| &amp;quot;GetQAErrorCount&amp;quot;i&lt;br /&gt;
| &amp;quot;GetUseFileWarningCount&amp;quot;i&lt;br /&gt;
| &amp;quot;GetErrorList&amp;quot;i&lt;br /&gt;
| &amp;quot;GetWarningList&amp;quot;i&lt;br /&gt;
| &amp;quot;GetQAErrorList&amp;quot;i&lt;br /&gt;
| &amp;quot;GetUseFileWarningList&amp;quot;i&lt;br /&gt;
| &amp;quot;GetTestCaseName&amp;quot;i&lt;br /&gt;
| &amp;quot;GetTestCaseFileName&amp;quot;i&lt;br /&gt;
| &amp;quot;GetTestCaseLineNr&amp;quot;i&lt;br /&gt;
| &amp;quot;StopOnSyntaxError&amp;quot;i&lt;br /&gt;
| &amp;quot;SetChildEnv&amp;quot;i&lt;br /&gt;
| &amp;quot;GetChildEnv&amp;quot;i&lt;br /&gt;
| &amp;quot;GetLinkDestination&amp;quot;i&lt;br /&gt;
| &amp;quot;GetRegistryValue&amp;quot;i&lt;br /&gt;
| &amp;quot;KillApp&amp;quot;i&lt;br /&gt;
| &amp;quot;HTTPSend&amp;quot;i&lt;br /&gt;
| &amp;quot;HTTPSetProxy&amp;quot;i&lt;br /&gt;
)&lt;br /&gt;
TOKEN:tt_constant: (&lt;br /&gt;
  &amp;quot;CTBrowseBox&amp;quot;i&lt;br /&gt;
| &amp;quot;CTValueSet&amp;quot;i&lt;br /&gt;
| &amp;quot;CTORoadmap&amp;quot;i&lt;br /&gt;
| &amp;quot;CTUnknown&amp;quot;i&lt;br /&gt;
| &amp;quot;ALIGN_LEFT&amp;quot;i&lt;br /&gt;
| &amp;quot;ALIGN_TOP&amp;quot;i&lt;br /&gt;
| &amp;quot;ALIGN_RIGHT&amp;quot;i&lt;br /&gt;
| &amp;quot;ALIGN_BOTTOM&amp;quot;i&lt;br /&gt;
| &amp;quot;FilePicker&amp;quot;i&lt;br /&gt;
| &amp;quot;FolderPicker&amp;quot;i&lt;br /&gt;
| &amp;quot;NodeTypeCharacter&amp;quot;i&lt;br /&gt;
| &amp;quot;NodeTypeElement&amp;quot;i&lt;br /&gt;
| &amp;quot;NodeTypeComment&amp;quot;i&lt;br /&gt;
| &amp;quot;ItemTypeText&amp;quot;i&lt;br /&gt;
| &amp;quot;ItemTypeBMP&amp;quot;i&lt;br /&gt;
| &amp;quot;ItemTypeCheckbox&amp;quot;i&lt;br /&gt;
| &amp;quot;ItemTypeContextBMP&amp;quot;i&lt;br /&gt;
| &amp;quot;ItemTypeUnknown&amp;quot;i&lt;br /&gt;
| &amp;quot;WSTimeout&amp;quot;i&lt;br /&gt;
| &amp;quot;WSAborted&amp;quot;i&lt;br /&gt;
| &amp;quot;WSFinished&amp;quot;i&lt;br /&gt;
)&lt;br /&gt;
TOKEN:tt_method: (&lt;br /&gt;
  &amp;quot;Select&amp;quot;i&lt;br /&gt;
| &amp;quot;SetNoSelection&amp;quot;i&lt;br /&gt;
| &amp;quot;SetText&amp;quot;i&lt;br /&gt;
| &amp;quot;More&amp;quot;i&lt;br /&gt;
| &amp;quot;Less&amp;quot;i&lt;br /&gt;
| &amp;quot;ToMin&amp;quot;i&lt;br /&gt;
| &amp;quot;ToMax&amp;quot;i&lt;br /&gt;
| &amp;quot;Check&amp;quot;i&lt;br /&gt;
| &amp;quot;UnCheck&amp;quot;i&lt;br /&gt;
| &amp;quot;TriState&amp;quot;i&lt;br /&gt;
| &amp;quot;SetPage&amp;quot;i&lt;br /&gt;
| &amp;quot;Click&amp;quot;i&lt;br /&gt;
| &amp;quot;Close&amp;quot;i&lt;br /&gt;
| &amp;quot;Cancel&amp;quot;i&lt;br /&gt;
| &amp;quot;OK&amp;quot;i&lt;br /&gt;
| &amp;quot;Help&amp;quot;i&lt;br /&gt;
| &amp;quot;Default&amp;quot;i&lt;br /&gt;
| &amp;quot;Yes&amp;quot;i&lt;br /&gt;
| &amp;quot;No&amp;quot;i&lt;br /&gt;
| &amp;quot;Repeat&amp;quot;i&lt;br /&gt;
| &amp;quot;Open&amp;quot;i&lt;br /&gt;
| &amp;quot;Pick&amp;quot;i&lt;br /&gt;
| &amp;quot;Move&amp;quot;i&lt;br /&gt;
| &amp;quot;Size&amp;quot;i&lt;br /&gt;
| &amp;quot;Minimize&amp;quot;i&lt;br /&gt;
| &amp;quot;Maximize&amp;quot;i&lt;br /&gt;
| &amp;quot;Dock&amp;quot;i&lt;br /&gt;
| &amp;quot;Undock&amp;quot;i&lt;br /&gt;
| &amp;quot;TypeKeys&amp;quot;i&lt;br /&gt;
| &amp;quot;MouseDown&amp;quot;i&lt;br /&gt;
| &amp;quot;MouseUp&amp;quot;i&lt;br /&gt;
| &amp;quot;MouseMove&amp;quot;i&lt;br /&gt;
| &amp;quot;MouseDoubleClick&amp;quot;i&lt;br /&gt;
| &amp;quot;SnapShot&amp;quot;i&lt;br /&gt;
| &amp;quot;SetNextToolBox&amp;quot;i&lt;br /&gt;
| &amp;quot;OpenContextMenu&amp;quot;i&lt;br /&gt;
| &amp;quot;MultiSelect&amp;quot;i&lt;br /&gt;
| &amp;quot;SetPath&amp;quot;i&lt;br /&gt;
| &amp;quot;SetCurFilter&amp;quot;i&lt;br /&gt;
| &amp;quot;SetPrinter&amp;quot;i&lt;br /&gt;
| &amp;quot;CheckRange&amp;quot;i&lt;br /&gt;
| &amp;quot;SetRangeText&amp;quot;i&lt;br /&gt;
| &amp;quot;SetFirstPage&amp;quot;i&lt;br /&gt;
| &amp;quot;SetLastPage&amp;quot;i&lt;br /&gt;
| &amp;quot;CheckCollate&amp;quot;i&lt;br /&gt;
| &amp;quot;SetPageId&amp;quot;i&lt;br /&gt;
| &amp;quot;SetPageNr&amp;quot;i&lt;br /&gt;
| &amp;quot;AnimateMouse&amp;quot;i&lt;br /&gt;
| &amp;quot;TearOff&amp;quot;i&lt;br /&gt;
| &amp;quot;FadeIn&amp;quot;i&lt;br /&gt;
| &amp;quot;FadeOut&amp;quot;i&lt;br /&gt;
| &amp;quot;Pin&amp;quot;i&lt;br /&gt;
| &amp;quot;UseMenu&amp;quot;i&lt;br /&gt;
| &amp;quot;OpenMenu&amp;quot;i&lt;br /&gt;
| &amp;quot;Restore&amp;quot;i&lt;br /&gt;
| &amp;quot;DisplayPercent&amp;quot;i&lt;br /&gt;
| &amp;quot;Exists&amp;quot;i&lt;br /&gt;
| &amp;quot;NotExists&amp;quot;i&lt;br /&gt;
| &amp;quot;IsEnabled&amp;quot;i&lt;br /&gt;
| &amp;quot;IsVisible&amp;quot;i&lt;br /&gt;
| &amp;quot;IsWritable&amp;quot;i&lt;br /&gt;
| &amp;quot;GetPage&amp;quot;i&lt;br /&gt;
| &amp;quot;IsChecked&amp;quot;i&lt;br /&gt;
| &amp;quot;IsTristate&amp;quot;i&lt;br /&gt;
| &amp;quot;GetState&amp;quot;i&lt;br /&gt;
| &amp;quot;GetText&amp;quot;i&lt;br /&gt;
| &amp;quot;GetSelCount&amp;quot;i&lt;br /&gt;
| &amp;quot;GetSelIndex&amp;quot;i&lt;br /&gt;
| &amp;quot;GetSelText&amp;quot;i&lt;br /&gt;
| &amp;quot;GetItemCount&amp;quot;i&lt;br /&gt;
| &amp;quot;GetItemText&amp;quot;i&lt;br /&gt;
| &amp;quot;IsOpen&amp;quot;i&lt;br /&gt;
| &amp;quot;Caption&amp;quot;i&lt;br /&gt;
| &amp;quot;IsMax&amp;quot;i&lt;br /&gt;
| &amp;quot;IsDocked&amp;quot;i&lt;br /&gt;
| &amp;quot;GetRT&amp;quot;i&lt;br /&gt;
| &amp;quot;GetPageId&amp;quot;i&lt;br /&gt;
| &amp;quot;GetPageCount&amp;quot;i&lt;br /&gt;
| &amp;quot;GetPosX&amp;quot;i&lt;br /&gt;
| &amp;quot;GetPosY&amp;quot;i&lt;br /&gt;
| &amp;quot;GetSizeX&amp;quot;i&lt;br /&gt;
| &amp;quot;GetSizeY&amp;quot;i&lt;br /&gt;
| &amp;quot;GetNextToolBox&amp;quot;i&lt;br /&gt;
| &amp;quot;GetButtonCount&amp;quot;i&lt;br /&gt;
| &amp;quot;GetButtonId&amp;quot;i&lt;br /&gt;
| &amp;quot;IsFadeIn&amp;quot;i&lt;br /&gt;
| &amp;quot;IsPin&amp;quot;i&lt;br /&gt;
| &amp;quot;StatusGetText&amp;quot;i&lt;br /&gt;
| &amp;quot;StatusIsProgress&amp;quot;i&lt;br /&gt;
| &amp;quot;StatusGetItemCount&amp;quot;i&lt;br /&gt;
| &amp;quot;StatusGetItemId&amp;quot;i&lt;br /&gt;
| &amp;quot;GetMouseStyle&amp;quot;i&lt;br /&gt;
| &amp;quot;GetCheckBoxText&amp;quot;i&lt;br /&gt;
| &amp;quot;HasScrollBar&amp;quot;i&lt;br /&gt;
| &amp;quot;IsScrollBarEnabled&amp;quot;i&lt;br /&gt;
| &amp;quot;_IsEnabled&amp;quot;i&lt;br /&gt;
| &amp;quot;GetFixedTextCount&amp;quot;i&lt;br /&gt;
| &amp;quot;GetFixedText&amp;quot;i&lt;br /&gt;
| &amp;quot;IsMin&amp;quot;i&lt;br /&gt;
| &amp;quot;IsRestore&amp;quot;i&lt;br /&gt;
| &amp;quot;GetItemType&amp;quot;i&lt;br /&gt;
| &amp;quot;GetColumnCount&amp;quot;i&lt;br /&gt;
| &amp;quot;GetRowCount&amp;quot;i&lt;br /&gt;
| &amp;quot;IsEditing&amp;quot;i&lt;br /&gt;
| &amp;quot;IsItemEnabled&amp;quot;i&lt;br /&gt;
)&lt;br /&gt;
TOKEN:tt_remotecommand:(&lt;br /&gt;
  &amp;quot;AppAbort&amp;quot;i&lt;br /&gt;
| &amp;quot;SetClipboard&amp;quot;i&lt;br /&gt;
| &amp;quot;NoDebug&amp;quot;i&lt;br /&gt;
| &amp;quot;Debug&amp;quot;i&lt;br /&gt;
| &amp;quot;GPF&amp;quot;i&lt;br /&gt;
| &amp;quot;DisplayHid&amp;quot;i&lt;br /&gt;
| &amp;quot;AppDelay&amp;quot;i&lt;br /&gt;
| &amp;quot;UseBindings&amp;quot;i&lt;br /&gt;
| &amp;quot;Profile&amp;quot;i&lt;br /&gt;
| &amp;quot;MenuSelect&amp;quot;i&lt;br /&gt;
| &amp;quot;SetControlType&amp;quot;i&lt;br /&gt;
| &amp;quot;Kill&amp;quot;i&lt;br /&gt;
| &amp;quot;RmDir&amp;quot;i&lt;br /&gt;
| &amp;quot;MkDir&amp;quot;i&lt;br /&gt;
| &amp;quot;FileCopy&amp;quot;i&lt;br /&gt;
| &amp;quot;Name&amp;quot;i&lt;br /&gt;
| &amp;quot;CaptureAssertions&amp;quot;i&lt;br /&gt;
| &amp;quot;Assert&amp;quot;i&lt;br /&gt;
| &amp;quot;MenuOpen&amp;quot;i&lt;br /&gt;
| &amp;quot;TypeKeysDelay&amp;quot;i&lt;br /&gt;
| &amp;quot;ShowBar&amp;quot;i&lt;br /&gt;
| &amp;quot;LoadURL&amp;quot;i&lt;br /&gt;
| &amp;quot;CloseSysDialog&amp;quot;i&lt;br /&gt;
| &amp;quot;SAXRelease&amp;quot;i&lt;br /&gt;
| &amp;quot;RecordMacro&amp;quot;i&lt;br /&gt;
| &amp;quot;ActivateDocument&amp;quot;i&lt;br /&gt;
| &amp;quot;CatchGPF&amp;quot;i&lt;br /&gt;
| &amp;quot;GetClipboard&amp;quot;i&lt;br /&gt;
| &amp;quot;WinTree&amp;quot;i&lt;br /&gt;
| &amp;quot;ResetApplication&amp;quot;i&lt;br /&gt;
| &amp;quot;GetNextCloseWindow&amp;quot;i&lt;br /&gt;
| &amp;quot;ApplicationBusy&amp;quot;i&lt;br /&gt;
| &amp;quot;MenuGetItemCount&amp;quot;i&lt;br /&gt;
| &amp;quot;MenuGetItemId&amp;quot;i&lt;br /&gt;
| &amp;quot;MenuGetItemPos&amp;quot;i&lt;br /&gt;
| &amp;quot;MenuIsSeperator&amp;quot;i&lt;br /&gt;
| &amp;quot;MenuIsItemChecked&amp;quot;i&lt;br /&gt;
| &amp;quot;MenuIsItemEnabled&amp;quot;i&lt;br /&gt;
| &amp;quot;MenuGetItemText&amp;quot;i&lt;br /&gt;
| &amp;quot;Dir&amp;quot;i&lt;br /&gt;
| &amp;quot;FileLen&amp;quot;i&lt;br /&gt;
| &amp;quot;FileDateTime&amp;quot;i&lt;br /&gt;
| &amp;quot;Translate&amp;quot;i&lt;br /&gt;
| &amp;quot;GetMouseStyle&amp;quot;i&lt;br /&gt;
| &amp;quot;UnpackStorage&amp;quot;i&lt;br /&gt;
| &amp;quot;IsBarVisible&amp;quot;i&lt;br /&gt;
| &amp;quot;MenuGetItemCommand&amp;quot;i&lt;br /&gt;
| &amp;quot;ExistsSysDialog&amp;quot;i&lt;br /&gt;
| &amp;quot;SAXCheckWellformed&amp;quot;i&lt;br /&gt;
| &amp;quot;SAXReadFile&amp;quot;i&lt;br /&gt;
| &amp;quot;SAXGetNodeType&amp;quot;i&lt;br /&gt;
| &amp;quot;SAXGetElementName&amp;quot;i&lt;br /&gt;
| &amp;quot;SAXGetChars&amp;quot;i&lt;br /&gt;
| &amp;quot;SAXGetChildCount&amp;quot;i&lt;br /&gt;
| &amp;quot;SAXGetAttributeCount&amp;quot;i&lt;br /&gt;
| &amp;quot;SAXGetAttributeName&amp;quot;i&lt;br /&gt;
| &amp;quot;SAXGetAttributeValue&amp;quot;i&lt;br /&gt;
| &amp;quot;SAXSeekElement&amp;quot;i&lt;br /&gt;
| &amp;quot;SAXHasElement&amp;quot;i&lt;br /&gt;
| &amp;quot;SAXGetElementPath&amp;quot;i&lt;br /&gt;
| &amp;quot;GetDocumentCount&amp;quot;i&lt;br /&gt;
| &amp;quot;GetSystemLanguage&amp;quot;i&lt;br /&gt;
| &amp;quot;IsProduct&amp;quot;i&lt;br /&gt;
| &amp;quot;MenuHasSubMenu&amp;quot;i&lt;br /&gt;
| &amp;quot;UsePostEvents&amp;quot;i&lt;br /&gt;
| &amp;quot;WaitSlot&amp;quot;i&lt;br /&gt;
)&lt;br /&gt;
TOKEN:tt_statement: (&lt;br /&gt;
  &amp;quot;trya&amp;quot; | &amp;quot;caatch&amp;quot; | &amp;quot;endcaatch&amp;quot;&lt;br /&gt;
| &amp;quot;testcase&amp;quot; | &amp;quot;endcase&amp;quot;&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
TOKEN:identifier:( [&amp;quot;a&amp;quot;-&amp;quot;z&amp;quot;&amp;quot;A&amp;quot;-&amp;quot;Z&amp;quot;][&amp;quot;a&amp;quot;-&amp;quot;z&amp;quot;&amp;quot;A&amp;quot;-&amp;quot;Z&amp;quot;&amp;quot;0&amp;quot;-&amp;quot;9&amp;quot;]* )&lt;br /&gt;
TOKEN:whitespace:( [&amp;quot; &amp;quot; &amp;quot;\t&amp;quot; &amp;quot;\n&amp;quot; &amp;quot;\r&amp;quot;]+ )&lt;br /&gt;
TOKEN:comment: (&amp;#039;\&amp;#039;&amp;#039; [^&amp;quot;\t&amp;quot;&amp;quot;\n&amp;quot;]*)&lt;br /&gt;
TOKEN:string: (&amp;quot;\&amp;quot;&amp;quot; [^ &amp;quot;\&amp;quot;&amp;quot; &amp;quot;\r&amp;quot; &amp;quot;\n&amp;quot;]* &amp;quot;\&amp;quot;&amp;quot;)&lt;br /&gt;
TOKEN:number: ([&amp;quot;0&amp;quot;-&amp;quot;9&amp;quot;]*)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# parser should ignore whitespaces&lt;br /&gt;
SKIP:whitespace&lt;br /&gt;
SKIP:comment&lt;br /&gt;
&lt;br /&gt;
# definition of grammar&lt;br /&gt;
S = (Statement)*;&lt;br /&gt;
Statement = WhileStatement | IfStatement | ExpressionStatement | KeywordStatement | &amp;lt;string&amp;gt; | &amp;lt;operator&amp;gt; | &amp;lt;number&amp;gt;&lt;br /&gt;
| &amp;lt;sb_type&amp;gt; | &amp;lt;sb_deprecated&amp;gt; | &amp;lt;sb_function&amp;gt; | &amp;lt;sb_operator&amp;gt; | &amp;lt;sb_statement&amp;gt; | &amp;lt;sb_undefined&amp;gt; | &amp;lt;sb_compatibility&amp;gt;&lt;br /&gt;
| &amp;lt;tt_function&amp;gt; | &amp;lt;tt_constant&amp;gt; | &amp;lt;tt_method&amp;gt; | &amp;lt;tt_remotecommand&amp;gt; | &amp;lt;tt_statement&amp;gt;;&lt;br /&gt;
SubStatementBeginn = &amp;quot;sub&amp;quot; &amp;lt;identifier&amp;gt;;&lt;br /&gt;
SubStatementEnd = &amp;quot;end sub&amp;quot;;&lt;br /&gt;
WhileStatement = &amp;quot;while&amp;quot; ConditionalExpression ;&lt;br /&gt;
IfStatement = &amp;quot;if&amp;quot; ConditionalExpression [&amp;quot;then&amp;quot;];&lt;br /&gt;
Block = SubStatementBeginn (Statement)* SubStatementEnd ;&lt;br /&gt;
ConditionalExpression = &amp;lt;identifier&amp;gt;;&lt;br /&gt;
ExpressionStatement = &amp;lt;identifier&amp;gt;;&lt;br /&gt;
KeywordStatement = &amp;lt;keyword&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
# code folding&lt;br /&gt;
FOLD:Block&lt;br /&gt;
FOLD:comment&lt;br /&gt;
&lt;br /&gt;
# navigator support&lt;br /&gt;
NAVIGATOR:WhileStatement: {&lt;br /&gt;
    display_name: &amp;quot;$ConditionalExpression$&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# brace completion&lt;br /&gt;
COMPLETE &amp;quot;{:}&amp;quot;&lt;br /&gt;
COMPLETE &amp;quot;(:)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# brace matching&lt;br /&gt;
BRACE &amp;quot;{:}&amp;quot;&lt;br /&gt;
BRACE &amp;quot;(:)&amp;quot;&lt;br /&gt;
BRACE &amp;quot;if:endif&amp;quot;&lt;br /&gt;
BRACE &amp;quot;testcase:endcase&amp;quot;&lt;br /&gt;
BRACE &amp;quot;begin:end&amp;quot;&lt;br /&gt;
BRACE &amp;quot;sub:sub&amp;quot;&lt;br /&gt;
BRACE &amp;quot;query:end&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# indentation support&lt;br /&gt;
INDENT &amp;quot;{:}&amp;quot;&lt;br /&gt;
INDENT &amp;quot;(:)&amp;quot;&lt;br /&gt;
#INDENT &amp;quot;\\s*(((if|while)\\s*\\(|else\\s*|else\\s+if\\s*\\(|for\\s*\\(.*\\))[^{;]*)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# error highlighting&lt;br /&gt;
#MARK:ERROR: {&lt;br /&gt;
#    type:&amp;quot;Error&amp;quot;;&lt;br /&gt;
#    message:&amp;quot;Syntax error.&amp;quot;;&lt;br /&gt;
#}&lt;br /&gt;
#MARK:error: {&lt;br /&gt;
#    type:&amp;quot;Error&amp;quot;;&lt;br /&gt;
#    message:&amp;quot;Unexpected character.&amp;quot;;&lt;br /&gt;
#}&lt;br /&gt;
&lt;br /&gt;
# code completion&lt;br /&gt;
COMPLETION:keyword, operator, identifier, whitespace: {&lt;br /&gt;
    text1:&amp;quot;while&amp;quot;;&lt;br /&gt;
    text2:&amp;quot;if&amp;quot;;&lt;br /&gt;
    text3:&amp;quot;else&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
NAVIGATOR:identifier: {&lt;br /&gt;
    display_name: &amp;quot;$identifier$&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
COLOR:sb_type: {&lt;br /&gt;
    foreground_color: &amp;quot;blue&amp;quot;;&lt;br /&gt;
    default_coloring: &amp;quot;keyword&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
COLOR:sb_deprecated: {&lt;br /&gt;
    foreground_color: &amp;quot;red&amp;quot;;&lt;br /&gt;
    default_coloring: &amp;quot;keyword&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
COLOR:sb_function: {&lt;br /&gt;
    foreground_color: &amp;quot;green&amp;quot;;&lt;br /&gt;
    default_coloring: &amp;quot;keyword&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
COLOR:sb_operator: {&lt;br /&gt;
    foreground_color: &amp;quot;magenta&amp;quot;;&lt;br /&gt;
    default_coloring: &amp;quot;operator&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
COLOR:sb_statement: {&lt;br /&gt;
    foreground_color: &amp;quot;green&amp;quot;;&lt;br /&gt;
    default_coloring: &amp;quot;keyword&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
COLOR:sb_undefined: {&lt;br /&gt;
    foreground_color: &amp;quot;red&amp;quot;;&lt;br /&gt;
    default_coloring: &amp;quot;keyword&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
COLOR:sb_compatibility: {&lt;br /&gt;
    foreground_color: &amp;quot;red&amp;quot;;&lt;br /&gt;
    default_coloring: &amp;quot;keyword&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
COLOR:tt_function: {&lt;br /&gt;
    foreground_color: &amp;quot;orange&amp;quot;;&lt;br /&gt;
    default_coloring: &amp;quot;keyword&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
COLOR:tt_constant: {&lt;br /&gt;
    foreground_color: &amp;quot;orange&amp;quot;;&lt;br /&gt;
    default_coloring: &amp;quot;keyword&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
COLOR:tt_method: {&lt;br /&gt;
    foreground_color: &amp;quot;orange&amp;quot;;&lt;br /&gt;
    default_coloring: &amp;quot;keyword&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
COLOR:tt_remotecommand: {&lt;br /&gt;
    foreground_color: &amp;quot;orange&amp;quot;;&lt;br /&gt;
    default_coloring: &amp;quot;keyword&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
COLOR:tt_statement: {&lt;br /&gt;
    foreground_color: &amp;quot;orange&amp;quot;;&lt;br /&gt;
    default_coloring: &amp;quot;keyword&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
COLOR:number: {&lt;br /&gt;
    foreground_color: &amp;quot;darkGray&amp;quot;;&lt;br /&gt;
    default_coloring: &amp;quot;number&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:API]]&lt;br /&gt;
[[Category:NetBeans]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=OpenOffice.org_Basic_in_NetBeans&amp;diff=190520</id>
		<title>OpenOffice.org Basic in NetBeans</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=OpenOffice.org_Basic_in_NetBeans&amp;diff=190520"/>
		<updated>2010-12-21T16:41:46Z</updated>

		<summary type="html">&lt;p&gt;Mst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the starting point, to use NetBeans as an IDE for OpenOffice.org Basic, especially with VCL TestTool and the testautomation project.&lt;br /&gt;
&lt;br /&gt;
Current features:&lt;br /&gt;
* Syntax highlighting of StarBasic commands&lt;br /&gt;
* Highlighting of VCL TestTool commands&lt;br /&gt;
* Highlighting of comments, operators, numbers&lt;br /&gt;
* Detection of updates to the module (A new .nbm is available)&lt;br /&gt;
&lt;br /&gt;
Open:&lt;br /&gt;
* Code Folding&lt;br /&gt;
* Semantc detection&lt;br /&gt;
* Use colors for syntaxhighlighting from NetBeans&lt;br /&gt;
&lt;br /&gt;
The development preview is available at http://extensions.services.openoffice.org/files/testtool/org-openoffice-vcltesttoolsupport.nbm&lt;br /&gt;
&lt;br /&gt;
Development files:&lt;br /&gt;
* [[OpenOffice.org_Basic_in_NetBeans/files/language.nbs | language.nbs]]&lt;br /&gt;
* [[OpenOffice.org_Basic_in_NetBeans/files/project....| NetBeans project file]]&lt;br /&gt;
&lt;br /&gt;
Links:&lt;br /&gt;
* [http://wiki.netbeans.org/GLFTutorial Generic Languages Framework Tutorial]&lt;br /&gt;
* [http://wiki.netbeans.org/SchliemannNBSLanguageDescription NBS Language Description]&lt;br /&gt;
* [http://blogs.sun.com/geertjan/date/20070316 Quick Start Guide for Schliemann]&lt;br /&gt;
* [http://www.netbeans.org/community/magazine/html/04/schliemann.html NetBeans Magazine, Issue 4 . Schliemann in the Field]&lt;br /&gt;
&lt;br /&gt;
[[Category:API]]&lt;br /&gt;
[[Category:NetBeans]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=OpenOffice_NetBeans_Integration/Releases/Release_2.0&amp;diff=190519</id>
		<title>OpenOffice NetBeans Integration/Releases/Release 2.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=OpenOffice_NetBeans_Integration/Releases/Release_2.0&amp;diff=190519"/>
		<updated>2010-12-21T16:41:36Z</updated>

		<summary type="html">&lt;p&gt;Mst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Release 2.0 ==&lt;br /&gt;
&lt;br /&gt;
{|cellpadding=5 cellspacing=0 border=1 style=&amp;quot;border-collapse:collapse; margin-left: 2em; margin-right: 2em; border-color: #333;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color: #DEDEDE;&amp;quot;&lt;br /&gt;
! align=left | Planned Feature !! &amp;amp;nbsp;Status&amp;amp;nbsp; !! &amp;amp;nbsp;Milestone&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Update support for description.xml with all features (display name, icon) || bgcolor=lightyellow align=center| planned || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Introduce ODF files as own file type in Netbeans, offer OpenOffice.org as editor || bgcolor=lightyellow align=center| planned || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Support NetBeans 7 (will be only in beta status for this release) || bgcolor=lightyellow align=center| planned || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:API]]&lt;br /&gt;
[[Category:NetBeans]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=OpenOffice_NetBeans_Integration/Releases/Release_1.2&amp;diff=190518</id>
		<title>OpenOffice NetBeans Integration/Releases/Release 1.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=OpenOffice_NetBeans_Integration/Releases/Release_1.2&amp;diff=190518"/>
		<updated>2010-12-21T16:41:28Z</updated>

		<summary type="html">&lt;p&gt;Mst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The 1.2 release date is not finally planned. For this release we will focus on improvements for the existing project types and the overall workflow.&lt;br /&gt;
&lt;br /&gt;
{|cellpadding=5 cellspacing=0 border=1 style=&amp;quot;border-collapse:collapse; margin-left: 2em; margin-right: 2em; border-color: #333;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color: #DEDEDE;&amp;quot;&lt;br /&gt;
! align=left | Planned Feature !! &amp;amp;nbsp;Status&amp;amp;nbsp; !! &amp;amp;nbsp;Milestone&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| NetBeans 6 support (building the plugin as well using it with NetBeans 6) || bgcolor=lightyellow align=center| planned || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Specialized UNO object file types&amp;lt;br&amp;gt;Similar to specialized project types we will provide specialized file types for Calc Add-ins and Add-On objects. || bgcolor=lightyellow align=center| planned || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Extended and improved help files for the plugin || bgcolor=lightyellow align=center| planned || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Support for option pages. That means new xcs for new options, adapted xcu for the option page, code skeleton for event handler, adapted manifest, dialog editor support. || bgcolor=lightyellow align=center| planned || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Integration of extensible help for extensions (includes packaging of help files in the oxt, appropriate manifest entry, registration of xhp as xml file types) || bgcolor=lightyellow align=center| planned || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Upload action to extension repository (at least a menu entry to start a web browser with the extensions.services.openoffice.org repository. Later on when a web series would be available a smother integration is possible)  || bgcolor=lightyellow align=center| planned || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Extended and improved automated tests for the plugin (it&amp;#039;s more an implementation feature, plugin developer and QA feature) || bgcolor=lightyellow align=center| planned || align=center | -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Besides these planned features the whole wiki page should be reworked and updated. For example exchange screenshots with new ones, extend documentation etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Current issues concerning NetBeans 6 ===&lt;br /&gt;
&lt;br /&gt;
* Plugin cannot be built with NetBeans 6&lt;br /&gt;
&lt;br /&gt;
Not tried yet, but seems to be resolved. See [http://www.netbeans.org/issues/show_bug.cgi?id=118101&amp;amp;x=0&amp;amp;y=0 NetBeans issue 118101].&lt;br /&gt;
&lt;br /&gt;
* Error message while opening an IDL file&lt;br /&gt;
The IDL syntax highlighting uses a deprecated API in NetBeans, since there was no alternative in NB5. New API concepts for syntax highlighting have to be evaluated - and used.&lt;br /&gt;
&lt;br /&gt;
* Not recognized .class files generated from compiled IDL sources&lt;br /&gt;
This will not be fixed in NetBeans. See [http://www.netbeans.org/issues/show_bug.cgi?id=118100&amp;amp;x=0&amp;amp;y=0 NetBeans issue 118100]. We need to do a workaround for this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Due to the lack of resources there is no estimation possible when these issues will be fixed.&lt;br /&gt;
&lt;br /&gt;
[[Category:API]]&lt;br /&gt;
[[Category:NetBeans]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=OpenOffice_NetBeans_Integration/Releases/Release_1.1.x&amp;diff=190517</id>
		<title>OpenOffice NetBeans Integration/Releases/Release 1.1.x</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=OpenOffice_NetBeans_Integration/Releases/Release_1.1.x&amp;diff=190517"/>
		<updated>2010-12-21T16:41:23Z</updated>

		<summary type="html">&lt;p&gt;Mst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Release 1.1.1 ==&lt;br /&gt;
&lt;br /&gt;
{|cellpadding=5 cellspacing=0 border=1 style=&amp;quot;border-collapse:collapse; margin-left: 2em; margin-right: 2em; border-color: #333;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color: #DEDEDE;&amp;quot;&lt;br /&gt;
! align=left | Planned Feature !! &amp;amp;nbsp;Status&amp;amp;nbsp; !! &amp;amp;nbsp;Milestone&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| NetBeans 6 support: building the plugin with NetBeans 6 || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Support for integrating dialogs into OOo || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Integration of extensible help for extensions (includes packaging of help files in the oxt, appropriate manifest entry, registration of xhp as xml file types) || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Release 1.1.2 ==&lt;br /&gt;
&lt;br /&gt;
This release were bugfixes before JavaOne conference.&lt;br /&gt;
&lt;br /&gt;
{|cellpadding=5 cellspacing=0 border=1 style=&amp;quot;border-collapse:collapse; margin-left: 2em; margin-right: 2em; border-color: #333;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color: #DEDEDE;&amp;quot;&lt;br /&gt;
! align=left | Planned Feature !! &amp;amp;nbsp;Status&amp;amp;nbsp; !! &amp;amp;nbsp;Milestone&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| NetBeans 6 support: handle wrong &amp;amp;quot;cannot build project&amp;amp;quot; markings in extension projetcs  || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Bugfix: plugin takes over all Java file types || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Release 1.1.3 ==&lt;br /&gt;
&lt;br /&gt;
{|cellpadding=5 cellspacing=0 border=1 style=&amp;quot;border-collapse:collapse; margin-left: 2em; margin-right: 2em; border-color: #333;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color: #DEDEDE;&amp;quot;&lt;br /&gt;
! align=left | Planned Feature !! &amp;amp;nbsp;Status&amp;amp;nbsp; !! &amp;amp;nbsp;Milestone&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Support OpenOffice.org 3.0 (beta) || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Bugfix: cannot right click on non-OOo projects (NB 6.1) || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Bugfix: exception when creating non-OOo project (NB 6.1) || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:API]]&lt;br /&gt;
[[Category:NetBeans]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=OpenOffice_NetBeans_Integration/Releases/Release_1.1&amp;diff=190516</id>
		<title>OpenOffice NetBeans Integration/Releases/Release 1.1</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=OpenOffice_NetBeans_Integration/Releases/Release_1.1&amp;diff=190516"/>
		<updated>2010-12-21T16:41:10Z</updated>

		<summary type="html">&lt;p&gt;Mst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The 1.1 release is planned for September, 1th 2007. For this release we will focus on improvements for the existing project types and the overall workflow.&lt;br /&gt;
&lt;br /&gt;
{|cellpadding=5 cellspacing=0 border=1 style=&amp;quot;border-collapse:collapse; margin-left: 2em; margin-right: 2em; border-color: #333;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color: #DEDEDE;&amp;quot;&lt;br /&gt;
! align=left | Planned Feature !! &amp;amp;nbsp;Status&amp;amp;nbsp; !! &amp;amp;nbsp;Milestone&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Late initialization of the plugin&amp;lt;br&amp;gt;That means that the plugin asks for the necessary configuration data (office and SDK) when some functionality of the plugin is used the first time and not during the installation of the plugin. For example using a new project type. || bgcolor=#00ff00 align=center| done || align=center |-&lt;br /&gt;
|-&lt;br /&gt;
| Support of description.xml files for oxt packages&amp;lt;br&amp;gt; That means that the corresponding project types have a new context menu entry (later integration in project properties) to collect the necessary information like a unique identifier, version info, etc. For detailed information see [] || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Project update&amp;lt;br&amp;gt;We will introduce a mechanism to detect the current version of an UNO project and will update if necessary the UNO specific build scripts and property files so that these projects work with the latest plugin version. For example the support of the description.xml. || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Better manifest support&amp;lt;br&amp;gt;That means we will improve the UNO project specific ant targets to become more flexible and allow easier customization. || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Support of a central registration class&amp;lt;br&amp;gt;To support more than one UNO component implementation in one oxt package we will introduce a central registration class which do the registration for all UNO components object. || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| UNO object file type&amp;lt;br&amp;gt;Corresponding to the last point we will support a new file type wizard for UNO objects. This file type wizard is comparable to the project wizard and will support the same feature set but can be used more than once for an existing project. This makes the usage more comfortable and allows even more complex oxt packages. || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| To make own additions to the targets for packaging in the Ant scripts, two new targets exist now for the user to overwrite in the build.xml. These targets are executed before and after the .oxt file is created. The build.xml in new extension projects contains a short help for this. || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Support Mac OS X&amp;lt;br&amp;gt;This is the only operating system that is both supported by OpenOffice.org and NetBeans, but it is not supported by the plugin. Note: Mac is supported with this version and with OO.org 2.3. But with some limitation that depends on office problems. That is the simple bootstrap mechanism will not work and the deployment from the office directly will not work from NetBeans directly. Related to the last feature the debug feature won&amp;#039;t work also. These problems will be fixed asap in the office related code.|| bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Specialized UNO obect file types&amp;lt;br&amp;gt;Similar to specialized project types we will provide specialized file types for Calc Add-ins and Add-On objects.&amp;lt;br&amp;gt;Moved to the next release, [[OpenOffice_NetBeans_Integration/Releases/Release_1.2| see 1.2]]. || bgcolor=lightyellow align=center| canceled || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Run target to simply run an extension in the configured target office. Whereas the debug feature deploy and debug the extensions in a local user installation of the target office, this new run target will deploy and run the extension in the normal working user installation. This run target is a simple shortcut to start the office. || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|-&lt;br /&gt;
| Logging support, means that the plugin supports a new option to enable a logging feature. This feature is helpful to detect potential problems in the plugin itself and customer problems. || bgcolor=#00ff00 align=center| done || align=center | -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:API]]&lt;br /&gt;
[[Category:NetBeans]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=OpenOffice_NetBeans_Integration/Releases/Download_Statistic&amp;diff=190515</id>
		<title>OpenOffice NetBeans Integration/Releases/Download Statistic</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=OpenOffice_NetBeans_Integration/Releases/Download_Statistic&amp;diff=190515"/>
		<updated>2010-12-21T16:40:54Z</updated>

		<summary type="html">&lt;p&gt;Mst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;On this page you can find an overview of the download statistics of the OpenOffice.org API Plugin from the NetBeans Update Center.&lt;br /&gt;
&lt;br /&gt;
==Downloads==&lt;br /&gt;
{|cellpadding=5 cellspacing=0 border=1 style=&amp;quot;border-collapse:collapse; margin-left: 3em; border-color: #333;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color: #DEDEDE; font-weight: bold;&amp;quot;&lt;br /&gt;
| Month || Downloads || Plugin Version || NetBeans Update Center&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0ff;&amp;quot;&lt;br /&gt;
| May 2007 || 10543 || 1.0.0 || NB 5.5&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0ff;&amp;quot;&lt;br /&gt;
|  || 7474 || 1.0.1 || NB 5.5&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0ff;&amp;quot;&lt;br /&gt;
|  || 4453 || 1.0.2 || NB 5.5&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0ff;&amp;quot;&lt;br /&gt;
| align=right | &amp;amp;Sigma; || style=&amp;quot;font-weight: bold;&amp;quot; | 22470 ||  || &lt;br /&gt;
|- style=&amp;quot;background-color: #c0ffc0;&amp;quot;&lt;br /&gt;
| Juni 2007 || 2366 || 1.0.0 || NB 5.5.1&lt;br /&gt;
|- style=&amp;quot;background-color: #c0ffc0;&amp;quot;&lt;br /&gt;
|  || 4336 || 1.0.1 || NB 5.5.1&lt;br /&gt;
|- style=&amp;quot;background-color: #c0ffc0;&amp;quot;&lt;br /&gt;
|  || 10012 || 1.0.2 || NB 5.5&lt;br /&gt;
|- style=&amp;quot;background-color: #c0ffc0;&amp;quot;&lt;br /&gt;
| align=right | &amp;amp;Sigma; || style=&amp;quot;font-weight: bold;&amp;quot; | 16714 ||  || &lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0c0;&amp;quot;&lt;br /&gt;
| July 2007 || 2983 || 1.0.1 || NB 5.5.1&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0c0;&amp;quot;&lt;br /&gt;
|  || 2459 || 1.0.2 || NB 5.5.1&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0c0;&amp;quot;&lt;br /&gt;
|  || 6050 || 1.0.2 || NB 5.5&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0c0;&amp;quot;&lt;br /&gt;
| align=right | &amp;amp;Sigma; || style=&amp;quot;font-weight: bold;&amp;quot; | 11492 ||  || &lt;br /&gt;
|- style=&amp;quot;background-color: #c0c0ff;&amp;quot;&lt;br /&gt;
| August 2007 || 5903&amp;lt;br&amp;gt;1722 || 1.0.2 (stable)&amp;lt;br&amp;gt;pt-Br,zh-CN,es,ja || NB 5.5.1&lt;br /&gt;
|- style=&amp;quot;background-color: #c0c0ff;&amp;quot;&lt;br /&gt;
|  || 4319&amp;lt;br&amp;gt;544 || 1.0.2(stable)&amp;lt;br&amp;gt;pt-Br,zh-CN,es,ja,de || NB 5.5&lt;br /&gt;
|- style=&amp;quot;background-color: #c0c0ff;&amp;quot;&lt;br /&gt;
|  || 206 || 1.0.1 de || NB 5.5.1&lt;br /&gt;
|- style=&amp;quot;background-color: #c0c0ff;&amp;quot;&lt;br /&gt;
|  || 104 || 1.0.0 de || NB 5.5.1&lt;br /&gt;
|- style=&amp;quot;background-color: #c0c0ff;&amp;quot;&lt;br /&gt;
|  || 6 || 1.0.0 ja || NB 5.5&lt;br /&gt;
|- style=&amp;quot;background-color: #c0c0ff;&amp;quot;&lt;br /&gt;
| align=right | &amp;amp;Sigma; || style=&amp;quot;font-weight: bold;&amp;quot; | 12804 ||  || &lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0ff;&amp;quot;&lt;br /&gt;
| September 2007 || 1263&amp;lt;br&amp;gt;564 || 1.1.0 (stable)&amp;lt;br&amp;gt;pt-Br,zh-CN,es,ja || NB 5.5.1&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0ff;&amp;quot;&lt;br /&gt;
|  || 811&amp;lt;br&amp;gt;100 || 1.1.0(stable)&amp;lt;br&amp;gt;pt-Br,zh-CN,es,ja,de || NB 5.5&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0ff;&amp;quot;&lt;br /&gt;
|  || 3347&amp;lt;br&amp;gt;1072 || 1.0.2 (stable)&amp;lt;br&amp;gt;pt-Br,zh-CN,es,ja || NB 5.5.1&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0ff;&amp;quot;&lt;br /&gt;
|  || 2380&amp;lt;br&amp;gt;281 || 1.0.2(stable)&amp;lt;br&amp;gt;pt-Br,zh-CN,es,ja,de || NB 5.5&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0ff;&amp;quot;&lt;br /&gt;
|  || 136 || 1.0.1(stable, de) || NB 5.5.1&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0ff;&amp;quot;&lt;br /&gt;
|  || 44 || 1.0.0(stable, de) || NB 5.5.1&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0ff;&amp;quot;&lt;br /&gt;
|  || 5 || 1.0.0(stable, ja) || NB 5.5&lt;br /&gt;
|- style=&amp;quot;background-color: #ffc0ff;&amp;quot;&lt;br /&gt;
| align=right | &amp;amp;Sigma; || style=&amp;quot;font-weight: bold;&amp;quot; | 10003 ||  || &lt;br /&gt;
|- &lt;br /&gt;
| align=right | Overall &amp;amp;Sigma; || style=&amp;quot;font-weight: bold;&amp;quot; | 73483 ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Released Versions==&lt;br /&gt;
&lt;br /&gt;
* 1.0.0: org-openoffice-extensions.nbm (initial version)&lt;br /&gt;
* 1.0.1: org-openoffice-extensions.1.0.1.nbm (1. bugfix release)&lt;br /&gt;
* 1.0.2: org.openoffice-extensions.1.0.2.nbm (2. bugfix release)&lt;br /&gt;
* 1.1.0: org.openoffice-extensions.1.1.0.nbm (feature release)&lt;br /&gt;
&lt;br /&gt;
[[Category:API]]&lt;br /&gt;
[[Category:NetBeans]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=OpenOffice_NetBeans_Integration/Localization&amp;diff=190514</id>
		<title>OpenOffice NetBeans Integration/Localization</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=OpenOffice_NetBeans_Integration/Localization&amp;diff=190514"/>
		<updated>2010-12-21T16:40:34Z</updated>

		<summary type="html">&lt;p&gt;Mst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Localization of the OpenOffice.org API plugin for NetBeans ==&lt;br /&gt;
&lt;br /&gt;
The OpenOffice.org API plugin for NetBeans is localized for English, Japanese (ja) and Simplified Chinese (zh_CN), [http://www.openoffice.org/issues/show_bug.cgi?id=82673 Brazilian portuguese (pt_BR) patch].&lt;br /&gt;
&lt;br /&gt;
If someone wants to contribute by translating the plugin in another language supported &lt;br /&gt;
by NetBeans, this is what must be done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Check out the sources with NetBeans&lt;br /&gt;
&lt;br /&gt;
This is required so you can create your own&lt;br /&gt;
templates and check your localization. To do this with NetBeans, click on&lt;br /&gt;
CVS - Checkout... and enter &amp;#039;&amp;#039;&amp;#039;:pserver:&amp;lt;username&amp;gt;@cvs.openoffice.org:/cvs&amp;#039;&amp;#039;&amp;#039; as the connection&lt;br /&gt;
string. Use your own user name &amp;#039;&amp;#039;&amp;#039;instead of &amp;lt;username&amp;gt;&amp;#039;&amp;#039;&amp;#039;. You can checkout anonymously, use &amp;#039;&amp;#039;&amp;#039;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;#039;&amp;#039;&amp;#039; instead. After clicking &amp;#039;&amp;#039;Next&amp;#039;&amp;#039;, the connection &lt;br /&gt;
to the repository is established. Browse for a Module. The correct one is &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;/cvs -&amp;gt; api -&amp;gt; oonetbeansintegration -&amp;gt; ooextensions&amp;#039;&amp;#039;&amp;#039;. Check this out. Afterwards, &lt;br /&gt;
open &amp;#039;&amp;#039;&amp;#039;ooextensions&amp;#039;&amp;#039;&amp;#039; as project. This is the OpenOffice.org API plugin for NetBeans.&lt;br /&gt;
See http://tools.openoffice.org/source/browse/tools/ for details. Browse code at http://api.openoffice.org/source/browse/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Create template files for the new language&lt;br /&gt;
&lt;br /&gt;
In the project root of the new project, there is an Ant script for handling the&lt;br /&gt;
localizations. It is called &amp;#039;&amp;#039;l10n.xml&amp;#039;&amp;#039;. Open the context menu on it and choose&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Run Target -&amp;gt; create-new-language-templates&amp;#039;&amp;#039;&amp;#039;. A prompt appears where you have to&lt;br /&gt;
enter the language and country code - e.g. &amp;#039;&amp;#039;&amp;#039;zh_CN&amp;#039;&amp;#039;&amp;#039;. In the &amp;#039;&amp;#039;build/l10n&amp;#039;&amp;#039; directory,&lt;br /&gt;
a new set of files will be copied and created. The English original files are&lt;br /&gt;
copied and all files that must be translated are newly created from the English&lt;br /&gt;
original. When you open a file, the English text will be inside and must be&lt;br /&gt;
translated.&lt;br /&gt;
Be careful with calling the &amp;#039;&amp;#039;l10n.xml&amp;#039;&amp;#039; target several times. The first thing it does is&lt;br /&gt;
cleaning the build/l10n directory. If there are already translated files inside, &lt;br /&gt;
they will be lost.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Important for a valid Translation&lt;br /&gt;
  &lt;br /&gt;
In property files, there may be sections marked with NOI18N. These must not be translated.&lt;br /&gt;
&lt;br /&gt;
The help files in &amp;#039;&amp;#039;&amp;#039;org/openoffice/extensions/docs&amp;#039;&amp;#039;&amp;#039; require special attention.&lt;br /&gt;
In the base directory, only the file &amp;#039;&amp;#039;&amp;#039;extensions-hs_&amp;lt;lang&amp;gt;.xml&amp;#039;&amp;#039;&amp;#039; must be localized. In this file, only the entries marked with&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;title&amp;gt;...&amp;lt;/title&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;label&amp;gt;...&amp;lt;/label&amp;gt;&amp;#039;&amp;#039;&amp;#039; are relevant. Everything else must stay as it is.&lt;br /&gt;
&lt;br /&gt;
The pages to translate are all in the folder &amp;#039;&amp;#039;&amp;#039;org/openoffice/extensions/docs/&amp;lt;lang&amp;gt;&amp;#039;&amp;#039;&amp;#039;. The help files consist of html and xml files.&lt;br /&gt;
In the xml files, only sections with &amp;#039;&amp;#039;&amp;#039;text=&amp;quot;...&amp;quot;&amp;#039;&amp;#039;&amp;#039; must be localized.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Checking the translation&lt;br /&gt;
&lt;br /&gt;
To copy your translation back, open the context menu on &amp;#039;&amp;#039;l10n.xml&amp;#039;&amp;#039; and select&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;RunTarget -&amp;gt; copy-l10n-files-back&amp;#039;&amp;#039;&amp;#039;. Be careful, since this is a dumb target -&lt;br /&gt;
it will copy the English files back, too. If these were changed in the &amp;#039;&amp;#039;build/l10n&amp;#039;&amp;#039;&lt;br /&gt;
directory, the originals will be replaced.&lt;br /&gt;
Create your own NetBeans module (nbm file) by choosing &amp;#039;&amp;#039;&amp;#039;Create NBM&amp;#039;&amp;#039;&amp;#039; in the Projects&lt;br /&gt;
view of NetBeans. Register it on the machine with your locale and your translated&lt;br /&gt;
strings should appear.&lt;br /&gt;
Search for &amp;#039;&amp;#039;&amp;#039;nbm&amp;#039;&amp;#039;&amp;#039; in the NetBeans help for more information on the modules. See &lt;br /&gt;
especially the part &amp;#039;&amp;#039;&amp;#039;Installing Modules Offline&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Contributing your translation&lt;br /&gt;
&lt;br /&gt;
To add the translation to the OpenOffice.org API plugin, submit a &amp;#039;&amp;#039;zip&amp;#039;&amp;#039; file&lt;br /&gt;
containing your translation as a [http://api.openoffice.org/issues/enter_bug.cgi?component=sdk&amp;amp;issue_type=PATCH patch]. See &lt;br /&gt;
http://contributing.openoffice.org/programming.html (last paragraphs down on the page) on how to do this.&lt;br /&gt;
&lt;br /&gt;
Give us feedback on [mailto:dev@api.openoffice.org dev@api.openoffice.org] in case of any questions.&lt;br /&gt;
&lt;br /&gt;
[[Category:API]]&lt;br /&gt;
[[Category:NetBeans]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=VisualStudioVisualizer&amp;diff=190513</id>
		<title>VisualStudioVisualizer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=VisualStudioVisualizer&amp;diff=190513"/>
		<updated>2010-12-21T16:34:05Z</updated>

		<summary type="html">&lt;p&gt;Mst: category debugging&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Description ==&lt;br /&gt;
&lt;br /&gt;
It is quite inconvenient to work with containers in the Visual Studio debugger. To make things a bit better, &amp;quot;visualizers&amp;quot; can be written telling the debugger what it has to show for specific data types. Visualizers are described in the special file &amp;quot;AUTOEXP.DAT&amp;quot; which can be found in the directory &amp;lt;tt&amp;gt;[visual-studio-installation-path]\Common7\Packages\Debugger\&amp;lt;/tt&amp;gt;. To add the new visualizers, copy the code below and append it to this file.&lt;br /&gt;
&lt;br /&gt;
Note that the STL visualizers will only work for &amp;#039;&amp;#039;&amp;#039;stl_port&amp;#039;&amp;#039;&amp;#039; data types in Windows &amp;#039;&amp;#039;&amp;#039;debug&amp;#039;&amp;#039;&amp;#039; builds.&lt;br /&gt;
&lt;br /&gt;
Visualizers consist of two parts:&lt;br /&gt;
* The &amp;#039;&amp;#039;preview&amp;#039;&amp;#039; part describes what is shown in the tooltip and quick watch window.&lt;br /&gt;
* The &amp;#039;&amp;#039;children&amp;#039;&amp;#039; part describes what is shown when expanding the object to show its contents (debugger default behaviour is to show the members of classes and structs).&lt;br /&gt;
&lt;br /&gt;
== Supported Types ==&lt;br /&gt;
&lt;br /&gt;
=== Visualizers for common types ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;std::auto_ptr&amp;lt;T&amp;gt;&amp;lt;/tt&amp;gt;: The preview shows the address and the contents of the referenced object. The children tree shows the contents of the object.&lt;br /&gt;
&lt;br /&gt;
=== Visualizers for STL types ===&lt;br /&gt;
&lt;br /&gt;
* Vector&lt;br /&gt;
** &amp;lt;tt&amp;gt;[http://www.sgi.com/tech/stl/Vector.html std::vector&amp;lt;T&amp;gt;]&amp;lt;/tt&amp;gt;: The preview shows the memory address and size of the vector. The children tree shows all elements of the vector.&lt;br /&gt;
** &amp;lt;tt&amp;gt;std::vector&amp;lt;T&amp;gt;::iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::vector&amp;lt;T&amp;gt;::const_iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::vector&amp;lt;T&amp;gt;::reverse_iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::vector&amp;lt;T&amp;gt;::const_reverse_iterator&amp;lt;/tt&amp;gt;: The preview shows the data element pointed to, if the iterator is valid. Otherwise, one of the special values [invalid] (empty iterator) or [end] (iterator pointing to the end of the vector) is shown. The children tree shows the index of the element in the vector, the element data, and the complete vector containing the element.&lt;br /&gt;
* Deque&lt;br /&gt;
** &amp;lt;tt&amp;gt;[http://www.sgi.com/tech/stl/Deque.html std::deque&amp;lt;T&amp;gt;]&amp;lt;/tt&amp;gt;: The preview shows the memory address and size of the deque. The children tree shows all elements of the deque.&lt;br /&gt;
** &amp;lt;tt&amp;gt;std::deque&amp;lt;T&amp;gt;::iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::deque&amp;lt;T&amp;gt;::const_iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::deque&amp;lt;T&amp;gt;::reverse_iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::deque&amp;lt;T&amp;gt;::const_reverse_iterator&amp;lt;/tt&amp;gt;: Same as vector iterators, see above, except that the index of the element is not shown.&lt;br /&gt;
* List&lt;br /&gt;
** &amp;lt;tt&amp;gt;[http://www.sgi.com/tech/stl/List.html std::list&amp;lt;T&amp;gt;]&amp;lt;/tt&amp;gt;: The preview shows the memory address of the list. The children tree shows all elements of the list.&lt;br /&gt;
** &amp;lt;tt&amp;gt;std::list&amp;lt;T&amp;gt;::iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::list&amp;lt;T&amp;gt;::const_iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::list&amp;lt;T&amp;gt;::reverse_iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::list&amp;lt;T&amp;gt;::const_reverse_iterator&amp;lt;/tt&amp;gt;: Same as vector iterators, see above, except that the index of the element is not shown.&lt;br /&gt;
* Set, multiset&lt;br /&gt;
** &amp;lt;tt&amp;gt;[http://www.sgi.com/tech/stl/set.html std::set&amp;lt;T&amp;gt;]&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;[http://www.sgi.com/tech/stl/multiset.html std::multiset&amp;lt;T&amp;gt;]&amp;lt;/tt&amp;gt;: The preview shows the memory address and element count of the set or multiset. The children tree shows all elements of the set in ascending order.&lt;br /&gt;
** &amp;lt;tt&amp;gt;std::set&amp;lt;T&amp;gt;::iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::set&amp;lt;T&amp;gt;::const_iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::multiset&amp;lt;T&amp;gt;::iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::multiset&amp;lt;T&amp;gt;::const_iterator&amp;lt;/tt&amp;gt;: Same as vector iterators, see above, except that the index of the element is not shown.&lt;br /&gt;
* Map, multimap&lt;br /&gt;
** &amp;lt;tt&amp;gt;[http://www.sgi.com/tech/stl/Map.html std::map&amp;lt;K,T&amp;gt;]&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;[http://www.sgi.com/tech/stl/Miltimap.html std::multimap&amp;lt;K,T&amp;gt;]&amp;lt;/tt&amp;gt;: The preview shows the memory address and element count of the map or multimap. The children tree shows all elements of the map (key/data pairs) in ascending order.&lt;br /&gt;
** &amp;lt;tt&amp;gt;std::map&amp;lt;K,T&amp;gt;::iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::map&amp;lt;K,T&amp;gt;::const_iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::multimap&amp;lt;K,T&amp;gt;::iterator&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;std::multimap&amp;lt;K,T&amp;gt;::const_iterator&amp;lt;/tt&amp;gt;: Same as vector iterators, see above, except that the index of the element is not shown.&lt;br /&gt;
Visualizers for reverse set/map iterators are not implemented yet. In general, reverse iterators do not point to the element they refer to, but to their successor. While it is quite easy to find the predesessor in a vector or list, doing so in a red/black tree is a bit more complicated.&lt;br /&gt;
&lt;br /&gt;
=== Visualizers for UNO types ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;[http://api.openoffice.org/docs/cpp/ref/names/com/sun/star/uno/c-Sequence.html com::sun::star::uno::Sequence&amp;lt;T&amp;gt;]&amp;lt;/tt&amp;gt;: Similarly to the STL vector, the preview shows the memory address and size of the sequence, and the children tree shows all elements of the sequence.&lt;br /&gt;
* &amp;lt;tt&amp;gt;[http://api.openoffice.org/docs/cpp/ref/names/com/sun/star/uno/c-Any.html com::sun::star::uno::Any]&amp;lt;/tt&amp;gt;: Shows the contents of an Any for atomic types (boolean, integer, floating-point, enum, string). Complex types (structs, sequences, interfaces, etc.) are not supported.&lt;br /&gt;
&lt;br /&gt;
== Visualizers Source Code ==&lt;br /&gt;
&lt;br /&gt;
Append the following code to &amp;lt;tt&amp;gt;[visual-studio-installation-path]\Common7\Packages\Debugger\AUTOEXP.DAT&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Visualizer]&lt;br /&gt;
&lt;br /&gt;
; standard classes&lt;br /&gt;
&lt;br /&gt;
_STL::auto_ptr&amp;lt;*&amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if ($e._M_p == 0) (&lt;br /&gt;
      #( &amp;quot;[empty]&amp;quot; )&lt;br /&gt;
    ) #else (&lt;br /&gt;
      #( $e._M_p, &amp;quot; data=&amp;quot;, *($T1*)$e._M_p )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #if ($e._M_p != 0) (&lt;br /&gt;
      #( data : *($T1*)$e._M_p )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
; STL implementation structures&lt;br /&gt;
&lt;br /&gt;
_STL::_Rb_tree_node&amp;lt;_STL::pair&amp;lt;*,*&amp;gt; &amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #( &amp;quot;key=&amp;quot;, $e._M_value_field.first, &amp;quot; data=&amp;quot;, $e._M_value_field.second )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #(&lt;br /&gt;
      [key] : $e._M_value_field.first,&lt;br /&gt;
      data : $e._M_value_field.second&lt;br /&gt;
     )&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
; STL containers&lt;br /&gt;
&lt;br /&gt;
_STL::vector&amp;lt;*,*&amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if ($e._M_start &amp;gt;= $e._M_finish) (&lt;br /&gt;
      #( (void*)(&amp;amp;$e), &amp;quot; [empty]&amp;quot; )&lt;br /&gt;
    ) #else (&lt;br /&gt;
      #( (void*)(&amp;amp;$e), &amp;quot; {size=&amp;quot;, $e._M_finish - $e._M_start, &amp;quot;}&amp;quot; )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #array (&lt;br /&gt;
      expr : ($e._M_start)[$i],&lt;br /&gt;
      size : $e._M_finish - $e._M_start&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_STL::deque&amp;lt;*,*&amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if ($e._M_start._M_cur == $e._M_finish._M_cur) (&lt;br /&gt;
      #( (void*)(&amp;amp;$e), &amp;quot; [empty]&amp;quot; )&lt;br /&gt;
    ) #else (&lt;br /&gt;
      #(&lt;br /&gt;
        (void*)(&amp;amp;$e), &amp;quot; {size=&amp;quot;,&lt;br /&gt;
        ($e._M_finish._M_node - $e._M_start._M_node + 1) * ($e._M_start._M_last - $e._M_start._M_first) - ($e._M_start._M_cur - $e._M_start._M_first) - ($e._M_finish._M_last - $e._M_finish._M_cur),&lt;br /&gt;
        &amp;quot;}&amp;quot;&lt;br /&gt;
      )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #array (&lt;br /&gt;
      expr : ($e._M_start._M_node)[ ($i + $e._M_start._M_cur - $e._M_start._M_first) / ($e._M_start._M_last - $e._M_start._M_first) ][ ($i + $e._M_start._M_cur - $e._M_start._M_first) % ($e._M_start._M_last - $e._M_start._M_first) ],&lt;br /&gt;
      size : ($e._M_finish._M_node - $e._M_start._M_node + 1) * ($e._M_start._M_last - $e._M_start._M_first) - ($e._M_start._M_cur - $e._M_start._M_first) - ($e._M_finish._M_last - $e._M_finish._M_cur)&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_STL::list&amp;lt;*,*&amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if ($e._M_node._M_data-&amp;gt;_M_next == $e._M_node._M_data-&amp;gt;_M_prev) (&lt;br /&gt;
      #( (void*)(&amp;amp;$e), &amp;quot; [empty]&amp;quot; )&lt;br /&gt;
    ) #else (&lt;br /&gt;
      #( (void*)(&amp;amp;$e) )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #list (&lt;br /&gt;
      head : $e._M_node._M_data-&amp;gt;_M_next,&lt;br /&gt;
      skip : $e._M_node._M_data,&lt;br /&gt;
      next : _M_next&lt;br /&gt;
    ) : ((_STL::_List_node&amp;lt;$T1&amp;gt;*)(&amp;amp;$e))-&amp;gt;_M_data&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_STL::set&amp;lt;*,*,*&amp;gt;|_STL::multiset&amp;lt;*,*,*&amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if ($e._M_t._M_node_count &amp;lt;= 0) (&lt;br /&gt;
      #( (void*)(&amp;amp;$e), &amp;quot; [empty]&amp;quot; )&lt;br /&gt;
    ) #else (&lt;br /&gt;
      #( (void*)(&amp;amp;$e), &amp;quot; {size=&amp;quot;, $e._M_t._M_node_count, &amp;quot;}&amp;quot; )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #tree (&lt;br /&gt;
      head : $e._M_t._M_header._M_data-&amp;gt;_M_parent,&lt;br /&gt;
      skip : $e._M_t._M_header._M_data,&lt;br /&gt;
      left : _M_left,&lt;br /&gt;
      right : _M_right,&lt;br /&gt;
      size : $e._M_t._M_node_count&lt;br /&gt;
    ) : ((_STL::_Rb_tree_node&amp;lt;$T1&amp;gt;*)(&amp;amp;$e))-&amp;gt;_M_value_field&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_STL::map&amp;lt;*,*,*,*&amp;gt;|_STL::multimap&amp;lt;*,*,*,*&amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if ($e._M_t._M_node_count &amp;lt;= 0) (&lt;br /&gt;
      #( (void*)(&amp;amp;$e), &amp;quot; [empty]&amp;quot; )&lt;br /&gt;
    ) #else (&lt;br /&gt;
      #( (void*)(&amp;amp;$e), &amp;quot; {size=&amp;quot;, $e._M_t._M_node_count, &amp;quot;}&amp;quot; )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #tree (&lt;br /&gt;
      head : $e._M_t._M_header._M_data-&amp;gt;_M_parent,&lt;br /&gt;
      skip : $e._M_t._M_header._M_data,&lt;br /&gt;
      left : _M_left,&lt;br /&gt;
      right : _M_right,&lt;br /&gt;
      size : $e._M_t._M_node_count&lt;br /&gt;
    ) : *((_STL::_Rb_tree_node&amp;lt;_STL::pair&amp;lt;$T1 const ,$T2&amp;gt; &amp;gt;*)(&amp;amp;$e))&lt;br /&gt;
    ; there must be a space after &amp;quot;const&amp;quot; above!&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
; STL iterators&lt;br /&gt;
&lt;br /&gt;
_STL::_DBG_iter&amp;lt;_STL::__vector&amp;lt;*,*&amp;gt;,*&amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if (!$e._M_owner || !$e._M_owner-&amp;gt;_M_node._M_owner || !$e._M_iterator) (&lt;br /&gt;
      &amp;quot;[invalid]&amp;quot;&lt;br /&gt;
    ) #elif ($e._M_iterator &amp;gt;= ((_STL::vector&amp;lt;$T1,$T2&amp;gt;*)($e._M_owner-&amp;gt;_M_node._M_owner))-&amp;gt;_M_finish) (&lt;br /&gt;
      &amp;quot;[end]&amp;quot;&lt;br /&gt;
    ) #else (&lt;br /&gt;
      *$e._M_iterator&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #if ($e._M_owner &amp;amp;&amp;amp; $e._M_owner-&amp;gt;_M_node._M_owner &amp;amp;&amp;amp; $e._M_iterator) (&lt;br /&gt;
      #(&lt;br /&gt;
        [index] : $e._M_iterator - ((_STL::vector&amp;lt;$T1,$T2&amp;gt;*)($e._M_owner-&amp;gt;_M_node._M_owner))-&amp;gt;_M_start,&lt;br /&gt;
        data : *$e._M_iterator,&lt;br /&gt;
        parent : (_STL::vector&amp;lt;$T1,$T2&amp;gt;*)($e._M_owner-&amp;gt;_M_node._M_owner)&lt;br /&gt;
      )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_STL::reverse_iterator&amp;lt;_STL::_DBG_iter&amp;lt;_STL::__vector&amp;lt;*,*&amp;gt;,*&amp;gt; &amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if (!$e.current._M_owner || !$e.current._M_owner-&amp;gt;_M_node._M_owner || !$e.current._M_iterator) (&lt;br /&gt;
      &amp;quot;[invalid]&amp;quot;&lt;br /&gt;
    ) #elif ($e.current._M_iterator &amp;lt;= ((_STL::vector&amp;lt;$T1,$T2&amp;gt;*)($e.current._M_owner-&amp;gt;_M_node._M_owner))-&amp;gt;_M_start) (&lt;br /&gt;
      &amp;quot;[end]&amp;quot;&lt;br /&gt;
    ) #else (&lt;br /&gt;
      *($e.current._M_iterator-1)&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #if ($e.current._M_owner &amp;amp;&amp;amp; $e.current._M_owner-&amp;gt;_M_node._M_owner &amp;amp;&amp;amp; $e.current._M_iterator) (&lt;br /&gt;
      #(&lt;br /&gt;
        [index] : ((_STL::vector&amp;lt;$T1,$T2&amp;gt;*)($e.current._M_owner-&amp;gt;_M_node._M_owner))-&amp;gt;_M_finish - $e.current._M_iterator,&lt;br /&gt;
        data : *($e.current._M_iterator - 1),&lt;br /&gt;
        parent : (_STL::vector&amp;lt;$T1,$T2&amp;gt;*)($e.current._M_owner-&amp;gt;_M_node._M_owner)&lt;br /&gt;
      )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_STL::_DBG_iter&amp;lt;_STL::__deque&amp;lt;*,*&amp;gt;,*&amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if (!$e._M_owner || !$e._M_owner-&amp;gt;_M_node._M_owner || !$e._M_iterator._M_cur) (&lt;br /&gt;
      &amp;quot;[invalid]&amp;quot;&lt;br /&gt;
    ) #elif ($e._M_iterator._M_cur == ((_STL::deque&amp;lt;$T1,$T2&amp;gt;*)($e._M_owner-&amp;gt;_M_node._M_owner))-&amp;gt;_M_finish._M_cur) (&lt;br /&gt;
      &amp;quot;[end]&amp;quot;&lt;br /&gt;
    ) #else (&lt;br /&gt;
      *$e._M_iterator._M_cur&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #if ($e._M_owner &amp;amp;&amp;amp; $e._M_owner-&amp;gt;_M_node._M_owner &amp;amp;&amp;amp; $e._M_iterator._M_cur) (&lt;br /&gt;
      #(&lt;br /&gt;
        data : *$e._M_iterator._M_cur,&lt;br /&gt;
        parent : (_STL::deque&amp;lt;$T1,$T2&amp;gt;*)($e._M_owner-&amp;gt;_M_node._M_owner)&lt;br /&gt;
      )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_STL::reverse_iterator&amp;lt;_STL::_DBG_iter&amp;lt;_STL::__deque&amp;lt;*,*&amp;gt;,*&amp;gt; &amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if (!$e.current._M_owner || !$e.current._M_owner-&amp;gt;_M_node._M_owner || !$e.current._M_iterator._M_cur) (&lt;br /&gt;
      &amp;quot;[invalid]&amp;quot;&lt;br /&gt;
    ) #elif ($e.current._M_iterator._M_cur == ((_STL::deque&amp;lt;$T1,$T2&amp;gt;*)($e.current._M_owner-&amp;gt;_M_node._M_owner))-&amp;gt;_M_start._M_cur) (&lt;br /&gt;
      &amp;quot;[end]&amp;quot;&lt;br /&gt;
    ) #elif ($e.current._M_iterator._M_cur == $e.current._M_iterator._M_first) (&lt;br /&gt;
      ($e.current._M_iterator._M_node - 1)[ $e.current._M_iterator._M_last - $e.current._M_iterator._M_first - 1 ]&lt;br /&gt;
    ) #else (&lt;br /&gt;
      $e.current._M_iterator._M_cur[ -1 ]&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #if ($e.current._M_owner &amp;amp;&amp;amp; $e.current._M_owner-&amp;gt;_M_node._M_owner &amp;amp;&amp;amp; $e.current._M_iterator._M_cur) (&lt;br /&gt;
      #if ($e.current._M_iterator._M_cur == $e.current._M_iterator._M_first) (&lt;br /&gt;
        #(&lt;br /&gt;
          data : ($e.current._M_iterator._M_node - 1)[ $e.current._M_iterator._M_last - $e.current._M_iterator._M_first - 1 ],&lt;br /&gt;
          parent : (_STL::deque&amp;lt;$T1,$T2&amp;gt;*)($e.current._M_owner-&amp;gt;_M_node._M_owner)&lt;br /&gt;
        )&lt;br /&gt;
      ) #else (&lt;br /&gt;
        #(&lt;br /&gt;
          data : $e.current._M_iterator._M_cur[ -1 ],&lt;br /&gt;
          parent : (_STL::deque&amp;lt;$T1,$T2&amp;gt;*)($e.current._M_owner-&amp;gt;_M_node._M_owner)&lt;br /&gt;
        )&lt;br /&gt;
      )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_STL::_DBG_iter&amp;lt;_STL::__list&amp;lt;*,*&amp;gt;,*&amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if (!$e._M_owner || !$e._M_owner-&amp;gt;_M_node._M_owner || !$e._M_iterator._M_node) (&lt;br /&gt;
      &amp;quot;[invalid]&amp;quot;&lt;br /&gt;
    ) #elif ($e._M_iterator._M_node == ((_STL::list&amp;lt;$T1,$T2&amp;gt;*)($e._M_owner-&amp;gt;_M_node._M_owner))-&amp;gt;_M_node._M_data) (&lt;br /&gt;
      &amp;quot;[end]&amp;quot;&lt;br /&gt;
    ) #else (&lt;br /&gt;
      ((_STL::_List_node&amp;lt;$T1&amp;gt;*)($e._M_iterator._M_node))-&amp;gt;_M_data&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #if ($e._M_owner &amp;amp;&amp;amp; $e._M_owner-&amp;gt;_M_node._M_owner &amp;amp;&amp;amp; $e._M_iterator._M_node) (&lt;br /&gt;
      #(&lt;br /&gt;
        data : ((_STL::_List_node&amp;lt;$T1&amp;gt;*)($e._M_iterator._M_node))-&amp;gt;_M_data,&lt;br /&gt;
        parent : (_STL::list&amp;lt;$T1,$T2&amp;gt;*)($e._M_owner-&amp;gt;_M_node._M_owner)&lt;br /&gt;
      )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_STL::reverse_iterator&amp;lt;_STL::_DBG_iter&amp;lt;_STL::__list&amp;lt;*,*&amp;gt;,*&amp;gt; &amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if (!$e.current._M_owner || !$e.current._M_owner-&amp;gt;_M_node._M_owner || !$e.current._M_iterator._M_node) (&lt;br /&gt;
      &amp;quot;[invalid]&amp;quot;&lt;br /&gt;
    ) #elif ($e.current._M_iterator._M_node-&amp;gt;_M_prev == ((_STL::list&amp;lt;$T1,$T2&amp;gt;*)($e.current._M_owner-&amp;gt;_M_node._M_owner))-&amp;gt;_M_node._M_data) (&lt;br /&gt;
      &amp;quot;[end]&amp;quot;&lt;br /&gt;
    ) #else (&lt;br /&gt;
      ((_STL::_List_node&amp;lt;$T1&amp;gt;*)($e.current._M_iterator._M_node-&amp;gt;_M_prev))-&amp;gt;_M_data&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #if ($e.current._M_owner &amp;amp;&amp;amp; $e.current._M_owner-&amp;gt;_M_node._M_owner &amp;amp;&amp;amp; $e.current._M_iterator._M_node) (&lt;br /&gt;
      #(&lt;br /&gt;
        data : ((_STL::_List_node&amp;lt;$T1&amp;gt;*)($e.current._M_iterator._M_node-&amp;gt;_M_prev))-&amp;gt;_M_data,&lt;br /&gt;
        parent : (_STL::list&amp;lt;$T1,$T2&amp;gt;*)($e.current._M_owner-&amp;gt;_M_node._M_owner)&lt;br /&gt;
      )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_STL::_DBG_iter&amp;lt;_STL::__Rb_tree&amp;lt;*,_STL::pair&amp;lt;*,*&amp;gt;,*,*,*&amp;gt;,*&amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if (!$e._M_owner || !$e._M_owner-&amp;gt;_M_node._M_owner || !$e._M_iterator._M_node) (&lt;br /&gt;
      &amp;quot;[invalid]&amp;quot;&lt;br /&gt;
    ) #elif ($e._M_iterator._M_node == ((_STL::map&amp;lt;$T1,$T3,$T5,$T6&amp;gt;*)($e._M_owner-&amp;gt;_M_node._M_owner))-&amp;gt;_M_t._M_header._M_data) (&lt;br /&gt;
      &amp;quot;[end]&amp;quot;&lt;br /&gt;
    ) #else (&lt;br /&gt;
      #(&lt;br /&gt;
        &amp;quot;key=&amp;quot;, ((_STL::_Rb_tree_node&amp;lt;_STL::pair&amp;lt;$T2,$T3&amp;gt; &amp;gt;*)($e._M_iterator._M_node))-&amp;gt;_M_value_field.first,&lt;br /&gt;
        &amp;quot; data=&amp;quot;, ((_STL::_Rb_tree_node&amp;lt;_STL::pair&amp;lt;$T2,$T3&amp;gt; &amp;gt;*)($e._M_iterator._M_node))-&amp;gt;_M_value_field.second&lt;br /&gt;
      )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #if ($e._M_owner &amp;amp;&amp;amp; $e._M_owner-&amp;gt;_M_node._M_owner &amp;amp;&amp;amp; $e._M_iterator._M_node) (&lt;br /&gt;
      #(&lt;br /&gt;
        [key] : ((_STL::_Rb_tree_node&amp;lt;_STL::pair&amp;lt;$T2,$T3&amp;gt; &amp;gt;*)($e._M_iterator._M_node))-&amp;gt;_M_value_field.first,&lt;br /&gt;
        data : ((_STL::_Rb_tree_node&amp;lt;_STL::pair&amp;lt;$T2,$T3&amp;gt; &amp;gt;*)($e._M_iterator._M_node))-&amp;gt;_M_value_field.second,&lt;br /&gt;
        parent : (_STL::map&amp;lt;$T1,$T3,$T5,$T6&amp;gt;*)($e._M_owner-&amp;gt;_M_node._M_owner)&lt;br /&gt;
      )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_STL::_DBG_iter&amp;lt;_STL::__Rb_tree&amp;lt;*,*,*,*,*&amp;gt;,*&amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if (!$e._M_owner || !$e._M_owner-&amp;gt;_M_node._M_owner || !$e._M_iterator._M_node) (&lt;br /&gt;
      &amp;quot;[invalid]&amp;quot;&lt;br /&gt;
    ) #elif ($e._M_iterator._M_node == ((_STL::set&amp;lt;$T2,$T4,$T5&amp;gt;*)($e._M_owner-&amp;gt;_M_node._M_owner))-&amp;gt;_M_t._M_header._M_data) (&lt;br /&gt;
      &amp;quot;[end]&amp;quot;&lt;br /&gt;
    ) #else (&lt;br /&gt;
      ((_STL::_Rb_tree_node&amp;lt;$T2&amp;gt;*)($e._M_iterator._M_node))-&amp;gt;_M_value_field&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #if ($e._M_owner &amp;amp;&amp;amp; $e._M_owner-&amp;gt;_M_node._M_owner &amp;amp;&amp;amp; $e._M_iterator._M_node) (&lt;br /&gt;
      #(&lt;br /&gt;
        data : ((_STL::_Rb_tree_node&amp;lt;$T2&amp;gt;*)($e._M_iterator._M_node))-&amp;gt;_M_value_field,&lt;br /&gt;
        parent : (_STL::set&amp;lt;$T2,$T4,$T5&amp;gt;*)($e._M_owner-&amp;gt;_M_node._M_owner)&lt;br /&gt;
      )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
; UNO structures&lt;br /&gt;
&lt;br /&gt;
com::sun::star::uno::Sequence&amp;lt;*&amp;gt; {&lt;br /&gt;
  preview (&lt;br /&gt;
    #if (!$e._pSequence || ($e._pSequence-&amp;gt;nElements == 0)) (&lt;br /&gt;
      #( (void*)(&amp;amp;$e), &amp;quot; [empty]&amp;quot; )&lt;br /&gt;
    ) #else (&lt;br /&gt;
      #( (void*)(&amp;amp;$e), &amp;quot; {size=&amp;quot;, $e._pSequence-&amp;gt;nElements, &amp;quot;}&amp;quot; )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #array (&lt;br /&gt;
      expr : (($T1*)($e._pSequence-&amp;gt;elements))[$i],&lt;br /&gt;
      size : $e._pSequence-&amp;gt;nElements&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
com::sun::star::uno::Any {&lt;br /&gt;
  preview (&lt;br /&gt;
    #(&lt;br /&gt;
      (void*)(&amp;amp;$e),&lt;br /&gt;
      #switch ((int)$e._uno_Any.pType-&amp;gt;eTypeClass)&lt;br /&gt;
      #case 0 ( #( &amp;quot; &amp;lt;void&amp;gt;&amp;quot; ) )&lt;br /&gt;
      #case 2 ( #( &amp;quot; &amp;lt;sal_uInt8&amp;gt; {&amp;quot;, *((sal_uInt8*)$e._uno_Any.pData), &amp;quot;}&amp;quot; ) )&lt;br /&gt;
      #case 3 ( #( &amp;quot; &amp;lt;sal_Int8&amp;gt; {&amp;quot;, *((sal_Int8*)$e._uno_Any.pData), &amp;quot;}&amp;quot; ) )&lt;br /&gt;
      #case 4 ( #( &amp;quot; &amp;lt;sal_Int16&amp;gt; {&amp;quot;, *((sal_Int16*)$e._uno_Any.pData), &amp;quot;}&amp;quot; ) )&lt;br /&gt;
      #case 6 ( #( &amp;quot; &amp;lt;sal_Int32&amp;gt; {&amp;quot;, *((sal_Int32*)$e._uno_Any.pData), &amp;quot;}&amp;quot; ) )&lt;br /&gt;
      #case 7 ( #( &amp;quot; &amp;lt;sal_uInt32&amp;gt; {&amp;quot;, *((sal_uInt32*)$e._uno_Any.pData), &amp;quot;}&amp;quot; ) )&lt;br /&gt;
      #case 8 ( #( &amp;quot; &amp;lt;sal_Int64&amp;gt; {&amp;quot;, *((sal_Int64*)$e._uno_Any.pData), &amp;quot;}&amp;quot; ) )&lt;br /&gt;
      #case 9 ( #( &amp;quot; &amp;lt;sal_uInt64&amp;gt; {&amp;quot;, *((sal_uInt64*)$e._uno_Any.pData), &amp;quot;}&amp;quot; ) )&lt;br /&gt;
      #case 10 ( #( &amp;quot; &amp;lt;float&amp;gt; {&amp;quot;, *((float*)$e._uno_Any.pData), &amp;quot;}&amp;quot; ) )&lt;br /&gt;
      #case 11 ( #( &amp;quot; &amp;lt;double&amp;gt; {&amp;quot;, *((double*)$e._uno_Any.pData), &amp;quot;}&amp;quot; ) )&lt;br /&gt;
      #case 12 ( #( &amp;quot; &amp;lt;OUString&amp;gt; {&amp;quot;, *((rtl::OUString*)$e._uno_Any.pData), &amp;quot;}&amp;quot; ) )&lt;br /&gt;
      #case 15 ( #( &amp;quot; &amp;lt;&amp;quot;, [$e._uno_Any.pType-&amp;gt;pTypeName-&amp;gt;buffer,su], &amp;quot;&amp;gt; {&amp;quot;, *((sal_Int32*)$e._uno_Any.pData), &amp;quot;}&amp;quot; ) )&lt;br /&gt;
      #case 17 ( #( &amp;quot; &amp;lt;&amp;quot;, [$e._uno_Any.pType-&amp;gt;pTypeName-&amp;gt;buffer,su], &amp;quot;&amp;gt;&amp;quot; ) )&lt;br /&gt;
      #case 20 ( #( &amp;quot; &amp;lt;&amp;quot;, [$e._uno_Any.pType-&amp;gt;pTypeName-&amp;gt;buffer,su], &amp;quot;&amp;gt;&amp;quot; ) )&lt;br /&gt;
      #case 22 ( #( &amp;quot; &amp;lt;&amp;quot;, [$e._uno_Any.pType-&amp;gt;pTypeName-&amp;gt;buffer,su], &amp;quot;&amp;gt;&amp;quot; ) )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
  children (&lt;br /&gt;
    #(&lt;br /&gt;
      [raw] : [$e,!],&lt;br /&gt;
      #switch ((int)$e._uno_Any.pType-&amp;gt;eTypeClass)&lt;br /&gt;
      #case 2 ( #( data : *((sal_uInt8*)$e._uno_Any.pData) ) )&lt;br /&gt;
      #case 3 ( #( data : *((sal_Int8*)$e._uno_Any.pData) ) )&lt;br /&gt;
      #case 4 ( #( data : *((sal_Int16*)$e._uno_Any.pData) ) )&lt;br /&gt;
      #case 6 ( #( data : *((sal_Int32*)$e._uno_Any.pData) ) )&lt;br /&gt;
      #case 7 ( #( data : *((sal_uInt32*)$e._uno_Any.pData) ) )&lt;br /&gt;
      #case 8 ( #( data : *((sal_Int64*)$e._uno_Any.pData) ) )&lt;br /&gt;
      #case 9 ( #( data : *((sal_uInt64*)$e._uno_Any.pData) ) )&lt;br /&gt;
      #case 10 ( #( data : *((float*)$e._uno_Any.pData) ) )&lt;br /&gt;
      #case 11 ( #( data : *((double*)$e._uno_Any.pData) ) )&lt;br /&gt;
      #case 12 ( #( data : *((rtl::OUString*)$e._uno_Any.pData) ) )&lt;br /&gt;
      #case 15 ( #( data : *((sal_Int32*)$e._uno_Any.pData) ) )&lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Debugging]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Architecture/To-Dos&amp;diff=186901</id>
		<title>Architecture/To-Dos</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Architecture/To-Dos&amp;diff=186901"/>
		<updated>2010-10-20T16:24:31Z</updated>

		<summary type="html">&lt;p&gt;Mst: /* Remove unused code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;[[Category:Architecture]] [[Category:To-Do]]&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This page intends to collect various architectural deficiencies (aka the pet peeves of various people) of OpenOffice.org, and lists the areas where&amp;#039;s work in progress to improve on the architecture.&lt;br /&gt;
&lt;br /&gt;
Depending on the specific count algorithm, OOo consists of approximately 7E6 lines of code (the overwhelming lot being c++, all other being an order of magnitude less (Java, Perl, Basic, Python)). This sheer size in and of itself is a problem - the code base is notorious for crashing or slowing down to a crawl various software engineering tools, from debugger to dependency analysis to reverse design extraction.&lt;br /&gt;
&lt;br /&gt;
The code itself varies greatly in quality, style, and age (the latter invariably leading to the former, if you recall the history and evolvement of c++), with parts being there virtually unmodified for 10+ years, and others just recently written from scratch.&lt;br /&gt;
&lt;br /&gt;
Taken together, this leads to a lot of complexity and [http://artax.karlin.mff.cuni.cz/~kendy/ooo/cut-n-paste/src680-m154.txt.gz redundancy], which is very hard to remove.&lt;br /&gt;
&lt;br /&gt;
Facing this amount of code, the big rules must be:&lt;br /&gt;
*simplify&lt;br /&gt;
**remove internal redundancy&lt;br /&gt;
**remove external redundancy (use external projects, whereever possible)&lt;br /&gt;
**remove unused or dead code&lt;br /&gt;
**remove legacy functionality, which does no longer provide noticeable value (e.g. [[Framework/Modules/binfilter|binfilter]])&lt;br /&gt;
&lt;br /&gt;
*refactor for orthogonality&lt;br /&gt;
**make subsystems implement independent functionality&lt;br /&gt;
**enable combinations of those subsystems to be freely combinable&lt;br /&gt;
**carry that to the UI level (no artificial restrictions on what one can do with UI objects - e.g. shapes can be rotated, and clearly text frames should, too)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Architectural To-Dos==&lt;br /&gt;
&amp;lt;DPL&amp;gt;category=To-Do&lt;br /&gt;
category=Architecture&amp;lt;/DPL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Infrastructure Improvements==&lt;br /&gt;
&lt;br /&gt;
*[[BuildSpeedup | Speeding up the build system]], and maybe even make it consider global dependencies (currently, OOo has the notion of modules, which approximately map to toplevel directories in the build tree. Automatic build-time dependency calculation is currently only available on the intra-module level).&lt;br /&gt;
&lt;br /&gt;
*Making the actual design more accessible, improving upon existing solutions like [http://ooo.ximian.com/lxr/ LXR] or [http://ooo.ximian.com/bonsai/ Bonsai]. Ultimately, this should result in refactorings of the source code being both much easier and much safer than today, by providing information where and how specific functionality is used. A prerequisite for that would be a parser that &amp;#039;&amp;#039;really&amp;#039;&amp;#039; knows about c++ - [http://www.gccxml.org/ gccxml] might be a starting point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Runtime System Improvements==&lt;br /&gt;
&lt;br /&gt;
This is about making the implementation languages safer, and easier to use. What follows could also be subsumed under &amp;quot;transparency on the implementation level&amp;quot;. When something can be used transparently, or appears transparent to a user, it is an implementation aspect she need not care about. Being able to program in an environment which is transparent with regard to lots of aspects, empowers the developer to focus on the problem at hand, not having to litter her code with mundane tasks such as memory management or locking.&lt;br /&gt;
&lt;br /&gt;
*Make threading transparent. Currently, fulfilling the contract of a UNO component regarding thread-safeness is&lt;br /&gt;
#tedious work, because normally each involved object has to acquire and release a mutex on method entry and exit, respectively&lt;br /&gt;
#almost impossible to get right, let alone verified to work correctly (no races, no deadlocks), because of the sheer mass of involved objects and mutices (the number of distinct states that would have to be checked for a proper verification is intractable for anything but the most trivial examples). The upcoming [[Uno/Effort/Binary/Extend Threading-Model|extended Binary Uno threading-model]] makes thread-safeness transparent, by automatically locking and unlocking when entering or exiting components on a much coarser level than single methods.&lt;br /&gt;
&lt;br /&gt;
*Make other mundane stuff transparent. Like memory management (via garbage collection, or refcounting via [http://www.boost.org/libs/smart_ptr/index.html smart ptrs], [http://api.openoffice.org/docs/DevelopersGuide/ProfUNO/ProfUNO.htm#1+4+2+7+3+Mapping+of+Interface UNO reference]), or [http://en.wikipedia.org/wiki/Transaction_processing transactionality] (the mode of making changes take place either completely, or not at all. Having a component behave in a non-transactional way in the face of an error makes recovery rather hard. There&amp;#039;s more to transactionality than exception-safeness. Imagine two users collaborating on the same document).&lt;br /&gt;
&lt;br /&gt;
==General Refactoring Improvements==&lt;br /&gt;
For many reasons the OpenOffice.org codebase is difficult to understand and navigate.  On of the reasons is a lack of cleanup in the code.  There is a never ending list of things that ought to be done-- add some of your own.&lt;br /&gt;
&lt;br /&gt;
*Actually remove deprecated things.  Things like String and [http://go-oo.org/lxr/ident?i=UniString UniString] need to go.  svtools and tools have loads of stuff that is duplicated elsewhere or is deprecated.  Getting rid of these sorts of things will make maintaining application code much easier.  &lt;br /&gt;
&lt;br /&gt;
*Document things.  Some of the code has comments that at one time were correct.  Some code has German comments.  While most of the OpenOffice.org programmers sind Deutschschprachig, there is an unofficial understanding that German comments mean &amp;quot;don&amp;#039;t touch.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Code Improvements==&lt;br /&gt;
===Remove unused code===&lt;br /&gt;
Binary Loading/Saving stuff in ItemSets, depend on EditEngine Loading/Saving (only used for Clipboard) - MT&lt;br /&gt;
* has been removed now (along with the version mapping stuff in SfxItemPool) in CWS tl77&lt;br /&gt;
&lt;br /&gt;
===Remove duplicate code===&lt;br /&gt;
Consolidate slightly copied and modified code.&lt;br /&gt;
* BigPointerArray vs. SvPointerArray&lt;br /&gt;
* RTL Strings with Tools Strings&lt;br /&gt;
&lt;br /&gt;
Consolidate Text Engines&lt;br /&gt;
* Text Engine&lt;br /&gt;
* Writer Engine&lt;br /&gt;
* Edit Engine&lt;br /&gt;
&lt;br /&gt;
===Replace code with 3rd party===&lt;br /&gt;
Replace self made containers with STL containers.&lt;br /&gt;
* Tools Container,&lt;br /&gt;
* SvPointerArray ([http://www.openoffice.org/issues/show_bug.cgi?id=112395 Issue 112395]), &lt;br /&gt;
* BigPointerArray,&lt;br /&gt;
* &amp;quot;GetPos&amp;quot; is mostly used wrong -&amp;gt; remove it (algorithmic complexity to hight O(n*n)) - [http://svn.services.openoffice.org/opengrok/search?q=GetPos&amp;amp;project=/DEV300_m87 list of the GetPos usage]&lt;br /&gt;
&lt;br /&gt;
===Improve modularity===&lt;br /&gt;
?Clear &amp;quot;Mission Statements&amp;quot; for modules?&lt;br /&gt;
&lt;br /&gt;
===[[VCL]]===&lt;br /&gt;
get rid of internal event queue.&lt;br /&gt;
&lt;br /&gt;
==Framework Improvements==&lt;br /&gt;
&lt;br /&gt;
The framework module already has a very modular architecture solely based on UNO components. Amongst others, it manages menus and toolbars, but it does not manage docked windows like e.g. navigator or impress task pane. These windows are still managed in sfx2 and their implementations are based on sfx2 classes. No non-sfx2 based module can use them.&lt;br /&gt;
&lt;br /&gt;
Here&amp;#039;s the roadmap:&lt;br /&gt;
&lt;br /&gt;
* add a LayoutManager for DockingWindows to the framework module that works in the same way as the LayoutManager for toolbars&lt;br /&gt;
* implement docking handlers for the windows managed by this LayoutManager in the same way as for the toolbars&lt;br /&gt;
* provide factories for the sfx2 based implementations of Docking Windows&lt;br /&gt;
* simplify the frame classes in sfx2; without the sfx internal layout manager for DockingWindows only one &amp;quot;frame&amp;quot; class is necessary&lt;br /&gt;
* put the current container windows inside of task windows managed by a Task service (later they might become tabs in a tab bar)&lt;br /&gt;
* move the LayoutManager from the frame to the task (or add some &amp;quot;super manager&amp;quot;) so that frames can share their tools&lt;br /&gt;
&lt;br /&gt;
Amongst others this will allow to have more than one view to one (&amp;quot;split view&amp;quot;) or several documents in one system task window.&lt;br /&gt;
&lt;br /&gt;
===Status Quo===&lt;br /&gt;
&lt;br /&gt;
The new LayoutManager and the docking handlers are already worked on and nearly finished. Next step will be the mentioned factories. There also is a prototype for a task window and a task service that can be adjusted to our needs. The biggest challenge currently is the &amp;quot;super manager&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Application-specific Improvements==&lt;br /&gt;
One of the lingering problems on the application level is the fact that, in spite of modularized lower-level functionality, application functionality cannot be shared &amp;#039;&amp;#039;between&amp;#039;&amp;#039; OOo&amp;#039;s applications (except via embedding of a whole application (OLE)). This is because for neither Calc nor Writer, there are reusable application engines, like a text engine providing text editing and layouting functionality, or a table engine providing formula and calculation support. Draw/Impress already uses a shared engine, dubbed &amp;#039;Drawing Layer&amp;#039;. But there&amp;#039;s still considerable functionality hidden in the application code, which is worth extracting. Especially the missing Writer engine manifests itself in duplicated text editing functionality in EditEngine and TextEngine (used by Impress and Calc for their corresponding text functionality).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div name=&amp;quot;Example&amp;quot; class=&amp;quot;boilerplate metadata&amp;quot; id=&amp;quot;example&amp;quot; style=&amp;quot;background-color: #fee; margin: 0 1em; padding: 0 10px; border: 1px solid #aaa;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Example 1&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The Writer uses a different implementation when displaying pictures, opposed to Draw/Impress. Thus, if you insert a picture into a writer document, you have a different feature set available as in Draw/Impress or Calc. For example, the Writer graphic object is able to render a variety of border styles, but at the same time, is unable to rotate the picture. To have rotated pictures in Writer, one has to insert that picture in a Draw document, copy the resulting drawing layer object, and paste that into Writer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div name=&amp;quot;Example&amp;quot; class=&amp;quot;boilerplate metadata&amp;quot; id=&amp;quot;example&amp;quot; style=&amp;quot;background-color: #fee; margin: 0 1em; padding: 0 10px; border: 1px solid #aaa;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Example 2&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The Draw/Impress applications use a different implementation for displaying text, as opposed to the Writer. Thus, if you insert a text shape in Impress, you can&amp;#039;t have two-column layout with it, nor does it provide change tracking (&amp;#039;redlining&amp;#039;). On the other hand, the Writer&amp;#039;s fly frames, which superficially perform the same task as the Impress text shape, cannot be rotated.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another area of improvement is rendering. Currently, all application&amp;#039;s graphical output is based on the OutputDevice class, which provides only very basic rendering facilities (in fact, besides largely extended text output functionality (to handle OOo&amp;#039;s i18n requirements), this interface has basically remained unchanged for a long time). Specifically, things like performant alpha compositing or anti-aliased geometry rendering are extremely hard to achieve with the current design. Therefore, starting with OOo 2.0, the [http://api.openoffice.org/docs/common/ref/com/sun/star/rendering/XCanvas.html XCanvas] interface is slated to gradually replace OutputDevice in all applications.&lt;br /&gt;
&lt;br /&gt;
===Writer===&lt;br /&gt;
&lt;br /&gt;
*break up the monolith&lt;br /&gt;
*make the import filters more modular&lt;br /&gt;
*port rendering to XCanvas&lt;br /&gt;
&lt;br /&gt;
===Calc===&lt;br /&gt;
See [[Calc/To-Dos]]&lt;br /&gt;
&lt;br /&gt;
===Draw/Impress===&lt;br /&gt;
&lt;br /&gt;
*break up the monolith&lt;br /&gt;
*become more decoupled from sfx2&lt;br /&gt;
*redesign API ([[Impress_Performance | performance]])&lt;br /&gt;
&lt;br /&gt;
*port Drawing Layer to XCanvas (see [[DrawingPrimitives]] for one of the preconditions)&lt;br /&gt;
&lt;br /&gt;
*Allow slides to inherit animations from the master slide&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer/ToDo&amp;diff=186900</id>
		<title>Writer/ToDo</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer/ToDo&amp;diff=186900"/>
		<updated>2010-10-20T16:15:04Z</updated>

		<summary type="html">&lt;p&gt;Mst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{Writer Project|Category=Writer/Effort/Planned}}&lt;br /&gt;
__TOC__&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
= Intro: Development Opportunities =&lt;br /&gt;
&lt;br /&gt;
Here is a list of things that we would like to implement but until now didn&amp;#039;t find the time to do so. In our opinion all of these tasks can be done by experienced C++ developers that are willing to enter the interesting world of OOo [[Writer]].&lt;br /&gt;
They are great opportunities for interested developers as the list mostly contains features that have been demanded for by the OpenOffice.org community. So providing them surely would be appreciated by the users.&lt;br /&gt;
Of course interested developers are also invited to present their own ideas they would like to implement for the Writer project.&lt;br /&gt;
They can count on the support or the help of the regular Writer developers. If you are interested in working on one of these tasks please get in touch with us on our &amp;quot;dev&amp;quot; mailing list or via private mail to the Writer project lead. We can talk about existing specifications, ideas, stuff to read or hack etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Additional ToDo Pages =&lt;br /&gt;
&lt;br /&gt;
* [[Writer/ToDo/Layout|Writer Layouts]]&lt;br /&gt;
* [[Writer/ToDo/ODF_Enhancement|ODF Enhancements]]&lt;br /&gt;
* [[Writer/ToDo/PDF_Import|PDF Import]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
= Features with a high number of votes =&lt;br /&gt;
&lt;br /&gt;
== Statusbar control for line and column number in Writer ==&lt;br /&gt;
[http://www.openoffice.org/issues/show_bug.cgi?id=18004 Issue 18004]&lt;br /&gt;
&lt;br /&gt;
A statusbar control that shows the line and column number of the current cursor position. While this sounds easy for simple documents, it can become quite &amp;quot;interesting&amp;quot; for documents with tables, text frames etc.&lt;br /&gt;
&lt;br /&gt;
== Reveal Formatting Codes==&lt;br /&gt;
[http://www.openoffice.org/issues/show_bug.cgi?id=3395 Issue 3395]&lt;br /&gt;
&lt;br /&gt;
Especially former [[wikipedia:WordPerfect|WordPerfect]] users very often ask for a special view or tools window where the formatting at a particular cursor position can be made visible by showing some &amp;quot;tokens&amp;quot; representing the applied formats.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lotus WordPro filter ==&lt;br /&gt;
[http://www.openoffice.org/issues/show_bug.cgi?id=11215 Issue 11215]&lt;br /&gt;
&lt;br /&gt;
If you know something about the format of [[wikipedia:IBM Lotus Word Pro|Lotus WordPro]] - here&amp;#039;s the perfect task for you! Anything can be useful as a start, even a simple filter that just excerpts the pure text. A first patch is available but it doesn&amp;#039;t work good enough until now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MathML Export ==&lt;br /&gt;
&lt;br /&gt;
Exporting to HTML should turn Formulae into MathML (not GIFs). [http://qa.openoffice.org/issues/show_bug.cgi?id=24256 Issue 24256]&lt;br /&gt;
&lt;br /&gt;
[[Math]] already supports [[wikipedia:MathML|MathML]] export. The HTML export filter needs to be extended to use it instead of treating Math as an OLE object that is exported as a pixel graphic.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Issue Tracker queries =&lt;br /&gt;
&lt;br /&gt;
Here are some issue lists of things we would like to get implemented:&lt;br /&gt;
&lt;br /&gt;
*[http://qa.openoffice.org/issues/buglist.cgi?component=Word+processor&amp;amp;issue_status=UNCONFIRMED&amp;amp;issue_status=NEW&amp;amp;issue_status=STARTED&amp;amp;issue_status=REOPENED&amp;amp;issue_status=RESOLVED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;short_desc=&amp;amp;short_desc_type=allwords&amp;amp;long_desc=&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=substring&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=substring&amp;amp;keywords=rfe_eval_ok&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;namedcmd=mba+votes&amp;amp;newqueryname=&amp;amp;order=Reuse+same+sort+as+last+time&amp;amp;Submit+query=Submit+query Writer RFEs of the community]&lt;br /&gt;
&lt;br /&gt;
*[http://www.openoffice.org/issues/buglist.cgi?resort=1&amp;amp;Submit%20query=Submit%20query;component=Formula%20editor;component=lingucomponent;component=Word%20processor;issue_status=UNCONFIRMED;issue_status=NEW;issue_status=STARTED;issue_status=REOPENED;email1=;emailtype1=exact;emailassigned_to1=1;email2=;emailtype2=exact;emailreporter2=1;issueidtype=include;issue_id=;changedin=;votes=;chfieldfrom=;chfieldto=Now;chfieldvalue=;short_desc=;short_desc_type=allwords;long_desc=;long_desc_type=allwords;issue_file_loc=;issue_file_loc_type=substring;status_whiteboard=;status_whiteboard_type=substring;keywords=;keywords_type=anytokens;field0-0-0=votes;type0-0-0=greaterthan;value0-0-0=10;namedcmd=mba%202.3;newqueryname=&amp;amp;order=issues.votes%20desc%2C%20issues.votes%20desc%2C%20map_assigned_to.userid%2C%20issues.issue_id Issue with many votes]&lt;br /&gt;
&lt;br /&gt;
= Some other ideas =&lt;br /&gt;
&lt;br /&gt;
== More text import and export filters ==&lt;br /&gt;
&lt;br /&gt;
Perhaps you have experience with other file formats? Here&amp;#039;s something for you!&lt;br /&gt;
&lt;br /&gt;
== Shrinking text below a certain size ==&lt;br /&gt;
&lt;br /&gt;
A component to shrink a document size by a defined page count, so the user can produce documents without a final halffull page. The component may then use different steps (for example: shrink all font sizes, or shrink the paragraph distance, or shrink ...) to come to a sensible result.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Beautifier&amp;quot; for Writer ==&lt;br /&gt;
&lt;br /&gt;
Such a tool can modify existing documents in a way that the result looks the same but is optimized for whatever criteria the developer wants to fulfill: replace hard formatting (autostyles) by styles, detect multiple white spaces, detect superfluous hard formatting, optimize fonts, embed and resize pictures etc.&lt;br /&gt;
&lt;br /&gt;
== Integration of Mac Grammar Checker ==&lt;br /&gt;
&lt;br /&gt;
Since OOo 3.0.1 the Grammar Checking API of OOo is final. Some extensions based on this API already exist and it would be great to have an extension integrating the Mac Grammer Checker.&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:To-Do]]&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Integration of spell checking into the proof reading code ==&lt;br /&gt;
&lt;br /&gt;
OOo Writer calls Grammar Checkers from a new, multi threaded implementation that iterates over paragraphs and sentences. OTOH spell checkers are called from the main thread and just iterates over the single words of the text. For several reasons it would be desirable to integrate both iterations to a common one, where all spell checkers still can be called with single words as nowadays:&lt;br /&gt;
&lt;br /&gt;
* spell checkers that can be called with larger blocks of text can be served better by providing a specialized component (Mac spell checker!)&lt;br /&gt;
* some grammar checkers might also do spell checking, so calling them from different places in the code for both tasks is inefficient&lt;br /&gt;
* spell checking can happen in a parallel thread of execution&lt;br /&gt;
&lt;br /&gt;
== Integration of Grammar Checking into Calc, Draw and Impress ==&lt;br /&gt;
&lt;br /&gt;
Grammar Checkers can be used from Writer only, the other applications lack the necessary text iteration loops. Also an implementation of the text iteration API that is used to communicate with Grammar Checkers is not provided by the text engine that these applications use (&amp;quot;EditEngine&amp;quot;). For efficiency reasons this task should not be started before the task &amp;quot;integration of spell checking into the proof reading code&amp;quot; has been finished.&lt;br /&gt;
&lt;br /&gt;
== Integration of language guessing and selection into Calc, Draw and Impress ==&lt;br /&gt;
&lt;br /&gt;
[http://www.openoffice.org/issues/show_bug.cgi?id=66798 Issue 66798]&lt;br /&gt;
&lt;br /&gt;
The language status bar control together with its ability to propose a language for text and offer an easy selection of the correct language currently only works for flow text in Writer.&lt;br /&gt;
&lt;br /&gt;
== Visualization of RDF meta data ==&lt;br /&gt;
&lt;br /&gt;
[http://www.openoffice.org/issues/show_bug.cgi?id=109598 Issue 109598]&lt;br /&gt;
&lt;br /&gt;
OOo Writer supports RDF meta data according to the ODF 1.2 specification for a number of objects. We need a user interface component that shows them like e.g. our current comment (notes) sidebar. This would require to refactor the components of this sidebar so that they use an API that can support comments as well as meta data and change tracking comments.&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/RDF_metadata&amp;diff=186637</id>
		<title>Documentation/DevGuide/OfficeDev/RDF metadata</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/RDF_metadata&amp;diff=186637"/>
		<updated>2010-10-12T15:32:18Z</updated>

		<summary type="html">&lt;p&gt;Mst: document NestedTextContent and XChild&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/OfficeDevTOC&lt;br /&gt;
|OfficeDev2b=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/OfficeDev/OpenOffice.org Single Sign-On API&lt;br /&gt;
|NextPage=Documentation/DevGuide/Text/Text Documents&lt;br /&gt;
}}&lt;br /&gt;
{{Documentation/DevGuideLanguages|Documentation/DevGuide/OfficeDev/{{SUBPAGENAME}}}}&lt;br /&gt;
{{DISPLAYTITLE:RDF metadata}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;idltopic&amp;gt;com.sun.star.rdf&amp;lt;/idltopic&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ODF 1.2 introduces a new metadata mechanism based on RDF.&lt;br /&gt;
RDF expands to Resource Description Framework, and is an W3C standard.&lt;br /&gt;
Please refer to the W3C for information about RDF:&lt;br /&gt;
http://www.w3.org/RDF/&lt;br /&gt;
&lt;br /&gt;
Especially the first 2 sections of the RDF Primer are required reading&lt;br /&gt;
for understanding the (really quite simple) basic concepts of the RDF data model:&lt;br /&gt;
[http://www.w3.org/TR/rdf-primer/  RDF Primer]&lt;br /&gt;
&lt;br /&gt;
If you like reading an in-depth specification, please refer to:&lt;br /&gt;
[http://www.w3.org/TR/rdf-concepts/  RDF Concepts and Abstract Syntax]&lt;br /&gt;
&lt;br /&gt;
If you are interested in some motivational use cases, and an overview of the basic design from the ODF perspective, have a look at the&lt;br /&gt;
[http://www.oasis-open.org/committees/download.php/34796/09-10-22-ODF-Metadata-Examples.odt  ODF Metadata examples document].&lt;br /&gt;
&lt;br /&gt;
The {{PRODUCTNAME}} implementation of the RDF data model lives in the&lt;br /&gt;
&amp;lt;idlmodule&amp;gt;com.sun.star.rdf&amp;lt;/idlmodule&amp;gt; module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Nodes &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XNode;com.sun.star.rdf.XResource&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
First, there are the basic RDF &amp;#039;&amp;#039;node&amp;#039;&amp;#039; types:&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!RDF node type&lt;br /&gt;
!Interface&lt;br /&gt;
!Service&lt;br /&gt;
|-&lt;br /&gt;
|node&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|literal&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XLiteral&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.Literal&amp;lt;/idl&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|resource&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XResource&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|URI&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.URI&amp;lt;/idl&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|blank node&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XBlankNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.BlankNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XNode&lt;br /&gt;
{&lt;br /&gt;
    [readonly, attribute] string StringValue;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The interface &amp;lt;idls&amp;gt;com.sun.star.rdf.XResource&amp;lt;/idls&amp;gt; is only necessary to separate the literal, which is not a &amp;#039;&amp;#039;resource&amp;#039;&amp;#039;, from the blank node and URI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Literals &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XLiteral;com.sun.star.rdf.Literal&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Literals are represented by the service &amp;lt;idl&amp;gt;com.sun.star.rdf.Literal&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XLiteral : XNode&lt;br /&gt;
{&lt;br /&gt;
    [readonly, attribute] string Value;&lt;br /&gt;
    [readonly, attribute] string Language;&lt;br /&gt;
    [readonly, attribute] XURI   Datatype;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
service Literal : XLiteral&lt;br /&gt;
{&lt;br /&gt;
    create( [in] string Value );&lt;br /&gt;
&lt;br /&gt;
    createWithType( [in] string Value, [in] XURI Type );&lt;br /&gt;
&lt;br /&gt;
    createWithLanguage( [in] string Value, [in] string Language );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This service has three constructors, one for every distinct kind of literal in RDF.&lt;br /&gt;
&lt;br /&gt;
The simplest kind of literal is a plain value.&lt;br /&gt;
&lt;br /&gt;
A literal may also have a data type, which is represented by an URI.&lt;br /&gt;
Such literals are called &amp;#039;&amp;#039;typed literals&amp;#039;&amp;#039;.&lt;br /&gt;
The [http://www.w3.org/TR/xmlschema-2/  W3C XMLSchema Part 2] specification contains several widely used data types such as numbers, booleans, dates, and many more.&lt;br /&gt;
&lt;br /&gt;
It is also possible to create a literal with a specific language.&lt;br /&gt;
This makes it possible to have a multi-lingual RDF graph, where statements are repeated with the same subject and predicate, but different objects that contain the same text content in different languages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== URIs &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XURI;com.sun.star.rdf.URI&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
In RDF, URIs are used to denote resources.&lt;br /&gt;
URIs may be used as subjects or objects of a statement.&lt;br /&gt;
In contrast with other node types, URIs may also be used as the predicate of a statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
service URI : XURI&lt;br /&gt;
{&lt;br /&gt;
    create( [in] string Value )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
&lt;br /&gt;
    createNS( [in] string Namespace, [in] string LocalName )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
&lt;br /&gt;
    createKnown( [in] short Id )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The URI service has constructors &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:create&amp;lt;/idlm&amp;gt; and &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:createNS&amp;lt;/idlm&amp;gt;, which allow for creating an URI from a string.&lt;br /&gt;
These two constructors are very similar, but &amp;lt;code&amp;gt;createNS&amp;lt;/code&amp;gt; allows splitting the parameter into two parts, which may be useful when creating several URIs that share a prefix because they belong to the same vocabulary.&lt;br /&gt;
&lt;br /&gt;
There are many URIs that are well-known because they are specified in various standards, such as XMLSchema datatypes, RDF concepts, OWL, and ODF.&lt;br /&gt;
&lt;br /&gt;
There is a convenient way to construct such URIs:&lt;br /&gt;
using the &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:createKnown&amp;lt;/idlm&amp;gt; constructor, together with constants from the &amp;lt;idl&amp;gt;com.sun.star.rdf.URIs&amp;lt;/idl&amp;gt; constant group.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XURI xContentFile = rdf.URI.createKnown(rdf.URIs.ODF_CONTENTFILE);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, string literals would be easier to use, but unfortunately UNO IDL does not permit them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blank nodes &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XBlankNode;com.sun.star.rdf.BlankNode&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The other kind of RDF node is the blank node, which is a resource, but in contrast to an URI, is not unique.&lt;br /&gt;
Because blank nodes are not unique, you should only construct them with the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:createBlankNode&amp;lt;/idlm&amp;gt; method, not with the service constructor, and you should never use a blank node with a different repository than the one that created it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Statements &amp;lt;idltopic&amp;gt;com.sun.star.rdf.Statement&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Using these nodes, RDF &amp;#039;&amp;#039;statements&amp;#039;&amp;#039; can be constructed, which are&lt;br /&gt;
basically subject-predicate-object triples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
struct Statement&lt;br /&gt;
{&lt;br /&gt;
    XResource Subject;&lt;br /&gt;
    XURI      Predicate;&lt;br /&gt;
    XNode     Object;&lt;br /&gt;
    /// the named graph that contains this statement, or &amp;lt;NULL/&amp;gt;.&lt;br /&gt;
    XURI      Graph;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The subject of the statement is the entity that the statement is about.&lt;br /&gt;
The subject must be either an URI or a blank node; a literal is not allowed.&lt;br /&gt;
&lt;br /&gt;
The predicate denotes what the relationship between the subject and the object is.&lt;br /&gt;
In order to ensure that statements have a machine-readable semantics, only URIs are allowed as predicates.&lt;br /&gt;
&lt;br /&gt;
The object of the statement may be any kind of RDF node.&lt;br /&gt;
&lt;br /&gt;
If you put many statements together, and these statements share subjects and objects, then you will get a RDF &amp;#039;&amp;#039;graph&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Graphs &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Graphs are represented by the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idl&amp;gt;.&lt;br /&gt;
As the name implies, a &amp;#039;&amp;#039;named graph&amp;#039;&amp;#039; has a name, which is a URI.&lt;br /&gt;
This is why the &amp;lt;idls&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idls&amp;gt; interface inherits from &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | This means that you can easily create RDF statements about named graphs.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XNamedGraph : XURI&lt;br /&gt;
{&lt;br /&gt;
    XURI getName();&lt;br /&gt;
&lt;br /&gt;
    void clear()&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void addStatement(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void removeStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ getStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The individual methods will be discussed in subsequent sections.&lt;br /&gt;
There is no service for a named graph, because named graphs always live in a repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Repository &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XRepository;com.sun.star.rdf.XRepositorySupplier&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The repository is the centerpiece of the RDF API.&lt;br /&gt;
It is defined in the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XRepository&amp;lt;/idl&amp;gt;, and the service &amp;lt;idl&amp;gt;com.sun.star.rdf.Repository&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XRepository&lt;br /&gt;
{&lt;br /&gt;
    XBlankNode createBlankNode();&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph importGraph([in] /*FileFormat*/ short Format,&lt;br /&gt;
                [in] io::XInputStream InStream,&lt;br /&gt;
                [in] XURI GraphName, [in] XURI BaseURI)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                datatransfer::UnsupportedFlavorException,&lt;br /&gt;
                container::ElementExistException, ParseException,&lt;br /&gt;
                RepositoryException, io::IOException );&lt;br /&gt;
&lt;br /&gt;
    void exportGraph([in] /*FileFormat*/ short Format,&lt;br /&gt;
                [in] io::XOutputStream OutStream,&lt;br /&gt;
                [in] XURI GraphName, [in] XURI BaseURI)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                datatransfer::UnsupportedFlavorException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException,&lt;br /&gt;
                io::IOException );&lt;br /&gt;
&lt;br /&gt;
    sequence&amp;lt;XURI&amp;gt; getGraphNames()&lt;br /&gt;
        raises( RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph getGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph createGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::ElementExistException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void destroyGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ getStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;SELECT&amp;quot; query.&lt;br /&gt;
    XQuerySelectResult querySelect([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;CONSTRUCT&amp;quot; query.&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ queryConstruct([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;ASK&amp;quot; query.&lt;br /&gt;
    boolean queryAsk([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A RDF repository is basically a set of named RDF graphs.&lt;br /&gt;
The names of the contained graphs can be retrieved via the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getGraphNames&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
An individual graph can be retrieved via the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getGraph&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
&lt;br /&gt;
A repository may be created as a stand-alone service, or it may be associated with a loaded ODF document.&lt;br /&gt;
The graphs in a document repository correspond to streams in an ODF package, and thus the graph names consist of the URI of the ODF package and the relative path of the stream within the package.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | For a document repository, you should not call the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:createGraph&amp;lt;/idlm&amp;gt;, &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:destroyGraph&amp;lt;/idlm&amp;gt; or &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:importGraph&amp;lt;/idlm&amp;gt; methods directly; instead, call the respective methods of &amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;, as described below.}}&lt;br /&gt;
&lt;br /&gt;
Services that provide an RDF repository implement the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XRepositorySupplier&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XRepositorySupplier&lt;br /&gt;
{&lt;br /&gt;
    XRepository getRDFRepository();&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Document integration &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess;com.sun.star.rdf.XMetadatable&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The other main part of the RDF API is the integration in document models.&lt;br /&gt;
This purpose is served by the interface&lt;br /&gt;
&amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;, which is implemented&lt;br /&gt;
by the &amp;lt;code&amp;gt;Model&amp;lt;/code&amp;gt; service of documents.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | Because this interface derives from &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt;, you can easily create RDF statements about the document.}}&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Do not use methods such as &amp;lt;idlm&amp;gt;com.sun.star.frame.XModel:getURL&amp;lt;/idlm&amp;gt; to create a URI for the document.  Always use the &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt; interface of the model when you need the RDF URI for a document.}}&lt;br /&gt;
&lt;br /&gt;
Furthermore, there is the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idl&amp;gt;, which allows document content entities to be used as subjects or objects in the methods that manipulate RDF graphs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XMetadatable : XURI&lt;br /&gt;
{&lt;br /&gt;
    [attribute] beans::StringPair MetadataReference {&lt;br /&gt;
        set raises ( lang::IllegalArgumentException );&lt;br /&gt;
    };&lt;br /&gt;
&lt;br /&gt;
    void ensureMetadataReference();&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | The &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; interface has an attribute &amp;lt;idlm&amp;gt;com.sun.star.rdf.XMetadatable:MetadataReference&amp;lt;/idlm&amp;gt;.  This attribute is only meant to be set by import filters, such as the ODF import filter.  Extensions should use &amp;lt;idlm&amp;gt;com.sun.star.rdf.XMetadatable:ensureMetadataReference&amp;lt;/idlm&amp;gt;, or simply use a &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; as a parameter to &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:addStatement&amp;lt;/idlm&amp;gt;, which will automatically call &amp;lt;code&amp;gt;ensureMetadataReference()&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
=== Annotated text range &amp;lt;idltopic&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The service &amp;lt;idl&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idl&amp;gt; allows to add annotations to a range of text.&lt;br /&gt;
The range of text must be contained within a single paragraph, and annotations must not overlap (but they are allowed to nest).&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | In essence, this is a &amp;lt;code&amp;gt;span&amp;lt;/code&amp;gt; with a &amp;lt;code&amp;gt;xml:id&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    text.XText = xDoc.getText();&lt;br /&gt;
    text.XTextCursor xCursor = ... // position to where you want the annotation&lt;br /&gt;
    Object xMeta = xDocFactory.createInstance(&lt;br /&gt;
            &amp;quot;com.sun.star.text.InContentMetadata&amp;quot;);&lt;br /&gt;
    text.XTextContent xContent = (text.XTextContent)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XTextContent.class, xMeta);&lt;br /&gt;
    try {&lt;br /&gt;
        xDocText.insertTextContent(xCursor, xMeta, true);&lt;br /&gt;
    } catch (lang.IllegalArgumentException) {&lt;br /&gt;
        // overlap?&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the &amp;lt;code&amp;gt;InContentMetadata&amp;lt;/code&amp;gt; is successfully inserted, you can add metadata by just using it as the subject or object of an RDF statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xMetadatable = (rdf.XMetadatable)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XMetadatable.class, xContent);&lt;br /&gt;
    rdf.XURI xComment = rdf.URI.createKnown(rdf.URIs.RDFS_COMMENT);&lt;br /&gt;
    rdf.XLiteral xObj = rdf.Literal.create(&amp;quot;a most interesting description&amp;quot;);&lt;br /&gt;
    rdf.XNamedGraph xGraph = xDocRepository.getGraph(xMyGraphURI);&lt;br /&gt;
    xGraph.addStatement(xMetadatable, xComment, xObj);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Metadata field &amp;lt;idltopic&amp;gt;com.sun.star.text.MetadataField&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
There is a new text field that is explicitly designed for being used with RDF metadata: &amp;lt;idl&amp;gt;com.sun.star.text.textfield.MetadataField&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In contrast with the &amp;lt;code&amp;gt;InContentMetadata&amp;lt;/code&amp;gt;, where an &amp;#039;&amp;#039;existing&amp;#039;&amp;#039; range of text is being annotated with additional metadata, the metadata field allows for text content to be &amp;#039;&amp;#039;generated from&amp;#039;&amp;#039; RDF metadata.&lt;br /&gt;
&lt;br /&gt;
For example, a bibliography extension could use a metadata field to insert a citation.&lt;br /&gt;
The user could tell the bibliography extension which citation format should be used, and the extension will generate the content of all the citation metadata fields based on this choice.&lt;br /&gt;
The extension may use some bibliography database that may also be stored as an RDF graph.&lt;br /&gt;
&lt;br /&gt;
Metadata fields must be contained within a single paragraph, and must not overlap (but they are allowed to nest).&lt;br /&gt;
&lt;br /&gt;
To enable generating the content, the metadata field implements the &amp;lt;idl&amp;gt;com.sun.star.text.XText&amp;lt;/idl&amp;gt; interface.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    text.XTextContent xMetafield = ... ; // get an inserted metadata field&lt;br /&gt;
    text.XText xMetafieldText = (text.XText)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XText.class, xMetafield);&lt;br /&gt;
    xMetafieldText.setString(&amp;quot;&amp;quot;); // clear the field: delete all content&lt;br /&gt;
    text.XTextCursor xCursor = xMetafieldText.createCursor();&lt;br /&gt;
    xMetafieldText.insertString(xCursor, &amp;quot;field content&amp;quot;, true);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, you can not just insert plain text, but everything that you could insert into a paragraph.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    xCursor.gotoEnd(false);&lt;br /&gt;
    text.XTextContent xFootnote = ... ; // create and init footnote&lt;br /&gt;
    xMetafieldText.insertTextContent(xCursor, xFootnote, false);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Metadata fields have another interesting aspect: they can have a &amp;#039;&amp;#039;prefix&amp;#039;&amp;#039; and/or &amp;#039;&amp;#039;suffix&amp;#039;&amp;#039; text that is taken from one of the RDF graphs in the document.&lt;br /&gt;
In this way you can create a metadata field with text content that is automatically displayed (non-editable) based on an RDF statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xMetafield = ... ; // get an inserted metadata field&lt;br /&gt;
    rdf.XNamedGraph xGraph = xDocRepository.getGraph(xMyGraphURI);&lt;br /&gt;
    rdf.XURI xPrefix = rdf.URI.createKnown(rdf.URIs.ODF_PREFIX);&lt;br /&gt;
    xGraph.addStatement(xMetafield, xPrefix,&lt;br /&gt;
        &amp;quot;this text will be displayed as prefix content of the field&amp;quot;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Finding in-content metadata at a cursor position ===&lt;br /&gt;
&lt;br /&gt;
Assume you have a text cursor at some position, and you want to find out whether there is a annotated text range or a metadata field at the cursor position.&lt;br /&gt;
For this purpose in OOo 3.3 the property &amp;lt;code&amp;gt;NestedTextContent&amp;lt;/code&amp;gt; was added to the text cursor in Writer.&lt;br /&gt;
The following sample will retrieve the innermost nested text content at the current cursor position:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    XPropertySet xPropertySet = (XPropertySet)&lt;br /&gt;
        UnoRuntime.queryInterface(XPropertySet.class, xTextCursor);&lt;br /&gt;
    XTextContent xNTC = (XTextContent)&lt;br /&gt;
        UnoRuntime.queryInterface(XTextContent.class, xPropertySet.getPropertyValue(&amp;quot;NestedTextContent&amp;quot;));&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because annotated text ranges and metadata fields may be nested, it may be the case that there are actually several such text contents at a given cursor position.&lt;br /&gt;
In order to retrieve the outer nested text contents, use the &amp;lt;idl&amp;gt;com.sun.star.container.XChild&amp;lt;/idl&amp;gt; interface of the &amp;lt;code&amp;gt;InContentMetadata&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MetadataField&amp;lt;/code&amp;gt; services (also added in OOo 3.3).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    XChild xChild = (XChild)&lt;br /&gt;
        UnoRuntime.queryInterface(XChild.class, xNTC);&lt;br /&gt;
    XTextContent xOuter = (XTextContent)&lt;br /&gt;
        UnoRuntime.queryInterface(XTextContent.class, xChild.getParent());&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | As of OOo 3.3, the &amp;lt;code&amp;gt;NestedTextContent&amp;lt;/code&amp;gt; property has only &amp;lt;code&amp;gt;InContentMetadata&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MetadataField&amp;lt;/code&amp;gt; as values.  But this may change in future releases; for example, hyperlinks and ruby annotations could be represented as a service some day.  So please do not assume that the currently existing are the only possible values.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Other document entities ===&lt;br /&gt;
&lt;br /&gt;
In addition to the annotated text range and the metadata field, other document content entities implement the &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; interface as well.&lt;br /&gt;
These entities can thus be used in RDF statements.&lt;br /&gt;
The list of entities which can be thus annotated will grow in future releases of {{PRODUCTNAME}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Adding metadata to a document ===&lt;br /&gt;
&lt;br /&gt;
The metadata support in ODF 1.2 allows for adding RDF graphs to an ODF package.&lt;br /&gt;
Every RDF graph is stored as an &amp;lt;code&amp;gt;RDF/XML&amp;lt;/code&amp;gt; stream in the package.&lt;br /&gt;
&lt;br /&gt;
There is a special RDF graph called the &amp;#039;&amp;#039;metadata manifest&amp;#039;&amp;#039;.&lt;br /&gt;
This RDF graph belongs to a document and enumerates all the files relevant for metadata, such as the individual RDF/XML files.&lt;br /&gt;
&lt;br /&gt;
This manifest graph is maintained by {{PRODUCTNAME}} itself; extension authors should not modify it directly, but use the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In order to isolate different metadata users, every extension that wants to add metadata should create one (or several) own RDF graph(s).&lt;br /&gt;
It is recommended to give the new graphs a &amp;#039;&amp;#039;type&amp;#039;&amp;#039; that identifies what kind of information is contained, especially if a well-known RDF vocabulary is used.&lt;br /&gt;
With the method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:addMetadataFile&amp;lt;/idlm&amp;gt;, you can specify as many types as you want for a graph.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    try {&lt;br /&gt;
        rdf.XURI xGraphName = xDMA.addMetadataFile(&amp;quot;myextension/mygraph.rdf&amp;quot;,&lt;br /&gt;
            new rdf.XURI[] { xType } );&lt;br /&gt;
        rdf.XNamedGraph xGraph = xDMA.getRDFRepository().getGraph(xGraphName);&lt;br /&gt;
    } catch (container.ElementExistException e) { // filename exists?&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note| Choose a stream name that is unlikely to conflict with other extensions.  The preferred suffix is &amp;lt;code&amp;gt;.rdf&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Tip | The method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:importMetadataFile&amp;lt;/idlm&amp;gt; allows to import an existing RDF/XML file into the document RDF repository.}}&lt;br /&gt;
&lt;br /&gt;
Now you can simply insert RDF statements into the graph:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xElement = ...; // some document content entity&lt;br /&gt;
    rdf.XURI xLabel = rdf.URI.createKnown(rdf.URIs.RDFS_LABEL);&lt;br /&gt;
    rdf.XLiteral xObj = rdf.Literal.create(&amp;quot;a most interesting description&amp;quot;);&lt;br /&gt;
    xGraph.addStatement(xElement, xLabel, xObj);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reading metadata from a document ===&lt;br /&gt;
&lt;br /&gt;
In order to read metadata that is stored in a document, query the RDF repository of the document.&lt;br /&gt;
&lt;br /&gt;
There are basically two ways to do this.&lt;br /&gt;
One way is to use the getter methods at the named graph and repository interfaces.&lt;br /&gt;
The method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getStatements&amp;lt;/idlm&amp;gt; will return all statements in any graph in the repository that match the given parameters.&lt;br /&gt;
But note that this is not necessarily what you want.&lt;br /&gt;
Usually, an extension is only interested in the metadata it has itself inserted.&lt;br /&gt;
Thus it is better to first get the graph(s) that the extension is interested in, and then only query those graphs via &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:getStatements&amp;lt;/idlm&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    rdf.XURI[] GraphNames = xDMA.getMetadataGraphsWithType(xType);&lt;br /&gt;
    for (rdf.XURI xGraphName : GraphNames) {&lt;br /&gt;
        rdf.XNamedGraph xGraph = xDMA.getRDFRepository().getGraph(xGraphName);&lt;br /&gt;
        // replace nulls with interesting URIs&lt;br /&gt;
        container.XEnumeration xResult = xGraph.getStatements(null, null, null);&lt;br /&gt;
        while (xResult.hasMoreElements()) {&lt;br /&gt;
            rdf.Statement stmt = (rdf.Statement) xResult.nextElement();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The other way of getting information out of the repository is via the [http://www.w3.org/TR/rdf-sparql-query/  SPARQL query language].&lt;br /&gt;
&lt;br /&gt;
The same considerations as above apply: by default, the result will contain information from all graphs in the repository.&lt;br /&gt;
You can restrict the graphs via the &amp;lt;code&amp;gt;GRAPH&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;FROM&amp;lt;/code&amp;gt; clauses.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    rdf.XURI[] GraphNames = xDMA.getMetadataGraphsWithType(xType);&lt;br /&gt;
    if (GraphNames.length &amp;gt; 0) {&lt;br /&gt;
        String graphName = GraphNames[0].getStringValue();&lt;br /&gt;
        String query =&lt;br /&gt;
            &amp;quot;CONSTRUCT { ?s ?p ?o } WHERE { GRAPH &amp;lt;&amp;quot;&lt;br /&gt;
                + graphName + &amp;quot;&amp;gt; { ?s ?p ?o } . }&amp;quot;;&lt;br /&gt;
        container.XEnumeration xResult =&lt;br /&gt;
            xDMA.getRDFRepository().queryConstruct(query);&lt;br /&gt;
        while (xResult.hasMoreElements()) {&lt;br /&gt;
            rdf.Statement stmt = (rdf.Statement) xResult.nextElement();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Besides the &amp;lt;code&amp;gt;CONSTRUCT&amp;lt;/code&amp;gt; query shown above, there are also the methods &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:querySelect&amp;lt;/idlm&amp;gt;, which returns a table of results, and &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:queryAsk&amp;lt;/idlm&amp;gt;, which simply returns a &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt;.&lt;br /&gt;
There are different methods for the different query types because the return types differ.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Always use the query method that matches the query type.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mapping from URIs to document entities &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess;com.sun.star.rdf.XMetadatable&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Note that for a document content annotation the RDF repository will only give you an URI in its results, not the actual document content entity.&lt;br /&gt;
In order to map the URI to the document entity, use the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:getElementByURI&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xElemURI = ... // query the document repository&lt;br /&gt;
    rdf.XMetadatable xElement = xDMA.getElementByURI(xElemURI);&lt;br /&gt;
    text.XTextContent xElemContent = (text.XTextContent)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XTextContent.class, xElement);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Tip | You can check if an URI refers to a document entity: it does if it has as a prefix the &amp;#039;&amp;#039;base URI&amp;#039;&amp;#039; of the document, which is available as the &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt; implementation of the document model.  But please keep in mind that the document entity does not need to exist, because it may have been removed from the document.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Removing metadata from a document ===&lt;br /&gt;
&lt;br /&gt;
The named graph supports the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:removeStatements&amp;lt;/idlm&amp;gt; method, which removes all statements that match the parameters from the graph.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | There is no update operation.  If you want to update an RDF statement, you have to remove the existing statement, and insert a new one.}}&lt;br /&gt;
&lt;br /&gt;
Also, there is the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:clear&amp;lt;/idlm&amp;gt; method, which is equivalent to &amp;lt;code&amp;gt;removeStatements(null, null, null)&amp;lt;/code&amp;gt;, and removes all statements from the graph.&lt;br /&gt;
&lt;br /&gt;
For removing whole metadata streams from an ODF document, there is the method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:removeMetadataFile&amp;lt;/idlm&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Vocabulary ===&lt;br /&gt;
&lt;br /&gt;
Some notes on RDF vocabularies; of course, a comprehensive discussion of RDF design is beyond the scope of this guide.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Do not use URIs based on the document base URI as properties.  Properties should be independent of the location of the document.}}&lt;br /&gt;
&lt;br /&gt;
An important question when adding RDF metadata is: which vocabulary do you use?&lt;br /&gt;
First, it is usually a good idea to re-use an existing vocabulary.&lt;br /&gt;
This will improve the chances that other software, which also supports the existing vocabulary, is able to do something interesting and useful with the metadata that is added.&lt;br /&gt;
&lt;br /&gt;
For example, for basic datatypes you can use the types specified in [http://www.w3.org/TR/xmlschema-2/  W3C XMLSchema Part 2].&lt;br /&gt;
A well-known vocabulary for expressing social relations is [http://www.foaf-project.org/  Friend-of-a-Friend].&lt;br /&gt;
A directory of RDF schemata can be found at [http://schemaweb.info/  SchemaWeb].&lt;br /&gt;
Another useful resource might be [http://dbpedia.org/  DBPedia].&lt;br /&gt;
&lt;br /&gt;
If you do not find an existing vocabulary that matches your use case, here are some hints for designing your own:&lt;br /&gt;
The most important thing is that the URIs should really be unique.&lt;br /&gt;
If you have a DNS domain, then that is quite easy to achieve: use URIs like &amp;lt;code&amp;gt;http://example.com/myvocabulary/v1.0/foo&amp;lt;/code&amp;gt;.&lt;br /&gt;
It is probably a good idea to use a versioned namespace prefix like &amp;lt;code&amp;gt;http://example.com/myvocabulary/v1.0/&amp;lt;/code&amp;gt; for all URIs.&lt;br /&gt;
The version component allows you to evolve the vocabulary to meet future requirements.&lt;br /&gt;
Now you can use the versioned namespace prefix to denote the format, i.e., as a type for your metadata stream, making it easy to find.&lt;br /&gt;
You can also create an actual HTML page to document the vocabulary at the URI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Status ===&lt;br /&gt;
&lt;br /&gt;
As of OOo version 3.2, RDF metadata is only supported in Writer documents.&lt;br /&gt;
The generic RDF parts of the API are all implemented.&lt;br /&gt;
The document integration parts are not yet completely implemented:&lt;br /&gt;
most elements do not support the &amp;lt;code&amp;gt;xml:id&amp;lt;/code&amp;gt; that is required for use with RDF.&lt;br /&gt;
In OOo version 3.3, support for more elements was added.&lt;br /&gt;
The following elements can be annotated:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!ODF element&lt;br /&gt;
!Service&lt;br /&gt;
!description&lt;br /&gt;
!since&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:p&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Paragraph&amp;lt;/idl&amp;gt;&lt;br /&gt;
|paragraph&lt;br /&gt;
|3.2&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:h&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Paragraph&amp;lt;/idl&amp;gt;&lt;br /&gt;
|heading&lt;br /&gt;
|3.2&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:bookmark&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Bookmark&amp;lt;/idl&amp;gt;&lt;br /&gt;
|bookmark&lt;br /&gt;
|3.2&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:bookmark-start&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Bookmark&amp;lt;/idl&amp;gt;&lt;br /&gt;
|bookmark with range&lt;br /&gt;
|3.2&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:meta&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idl&amp;gt;&lt;br /&gt;
|annotated text range&lt;br /&gt;
|3.2&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:meta-field&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.textfield.MetadataField&amp;lt;/idl&amp;gt;&lt;br /&gt;
|text field whose content is generated from metadata&lt;br /&gt;
|3.2&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:section&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.TextSection&amp;lt;/idl&amp;gt;&lt;br /&gt;
|text section&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:index-title&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.TextSection&amp;lt;/idl&amp;gt;&lt;br /&gt;
|index title section&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:alphabetical-index&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.DocumentIndex&amp;lt;/idl&amp;gt;&lt;br /&gt;
|alphabetical index&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:user-index&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.UserDefinedIndex&amp;lt;/idl&amp;gt;&lt;br /&gt;
|user defined index&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:table-of-content&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.ContentIndex&amp;lt;/idl&amp;gt;&lt;br /&gt;
|table of content&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:table-index&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.TableIndex&amp;lt;/idl&amp;gt;&lt;br /&gt;
|table index&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:object-index&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.ObjectIndex&amp;lt;/idl&amp;gt;&lt;br /&gt;
|object index&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:illustration-index&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.IllustrationsIndex&amp;lt;/idl&amp;gt;&lt;br /&gt;
|illustration index&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:bibliography&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Bibliography&amp;lt;/idl&amp;gt;&lt;br /&gt;
|bibliography&lt;br /&gt;
|3.3&lt;br /&gt;
|}&lt;br /&gt;
&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>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/RDF_metadata&amp;diff=186634</id>
		<title>Documentation/DevGuide/OfficeDev/RDF metadata</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/RDF_metadata&amp;diff=186634"/>
		<updated>2010-10-12T14:45:22Z</updated>

		<summary type="html">&lt;p&gt;Mst: add new elements with xml:id in OOo 3.3&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/OfficeDevTOC&lt;br /&gt;
|OfficeDev2b=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/OfficeDev/OpenOffice.org Single Sign-On API&lt;br /&gt;
|NextPage=Documentation/DevGuide/Text/Text Documents&lt;br /&gt;
}}&lt;br /&gt;
{{Documentation/DevGuideLanguages|Documentation/DevGuide/OfficeDev/{{SUBPAGENAME}}}}&lt;br /&gt;
{{DISPLAYTITLE:RDF metadata}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;idltopic&amp;gt;com.sun.star.rdf&amp;lt;/idltopic&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ODF 1.2 introduces a new metadata mechanism based on RDF.&lt;br /&gt;
RDF expands to Resource Description Framework, and is an W3C standard.&lt;br /&gt;
Please refer to the W3C for information about RDF:&lt;br /&gt;
http://www.w3.org/RDF/&lt;br /&gt;
&lt;br /&gt;
Especially the first 2 sections of the RDF Primer are required reading&lt;br /&gt;
for understanding the (really quite simple) basic concepts of the RDF data model:&lt;br /&gt;
[http://www.w3.org/TR/rdf-primer/  RDF Primer]&lt;br /&gt;
&lt;br /&gt;
If you like reading an in-depth specification, please refer to:&lt;br /&gt;
[http://www.w3.org/TR/rdf-concepts/  RDF Concepts and Abstract Syntax]&lt;br /&gt;
&lt;br /&gt;
If you are interested in some motivational use cases, and an overview of the basic design from the ODF perspective, have a look at the&lt;br /&gt;
[http://www.oasis-open.org/committees/download.php/34796/09-10-22-ODF-Metadata-Examples.odt  ODF Metadata examples document].&lt;br /&gt;
&lt;br /&gt;
The {{PRODUCTNAME}} implementation of the RDF data model lives in the&lt;br /&gt;
&amp;lt;idlmodule&amp;gt;com.sun.star.rdf&amp;lt;/idlmodule&amp;gt; module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Nodes &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XNode;com.sun.star.rdf.XResource&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
First, there are the basic RDF &amp;#039;&amp;#039;node&amp;#039;&amp;#039; types:&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!RDF node type&lt;br /&gt;
!Interface&lt;br /&gt;
!Service&lt;br /&gt;
|-&lt;br /&gt;
|node&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|literal&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XLiteral&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.Literal&amp;lt;/idl&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|resource&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XResource&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|URI&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.URI&amp;lt;/idl&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|blank node&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XBlankNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.BlankNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XNode&lt;br /&gt;
{&lt;br /&gt;
    [readonly, attribute] string StringValue;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The interface &amp;lt;idls&amp;gt;com.sun.star.rdf.XResource&amp;lt;/idls&amp;gt; is only necessary to separate the literal, which is not a &amp;#039;&amp;#039;resource&amp;#039;&amp;#039;, from the blank node and URI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Literals &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XLiteral;com.sun.star.rdf.Literal&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Literals are represented by the service &amp;lt;idl&amp;gt;com.sun.star.rdf.Literal&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XLiteral : XNode&lt;br /&gt;
{&lt;br /&gt;
    [readonly, attribute] string Value;&lt;br /&gt;
    [readonly, attribute] string Language;&lt;br /&gt;
    [readonly, attribute] XURI   Datatype;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
service Literal : XLiteral&lt;br /&gt;
{&lt;br /&gt;
    create( [in] string Value );&lt;br /&gt;
&lt;br /&gt;
    createWithType( [in] string Value, [in] XURI Type );&lt;br /&gt;
&lt;br /&gt;
    createWithLanguage( [in] string Value, [in] string Language );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This service has three constructors, one for every distinct kind of literal in RDF.&lt;br /&gt;
&lt;br /&gt;
The simplest kind of literal is a plain value.&lt;br /&gt;
&lt;br /&gt;
A literal may also have a data type, which is represented by an URI.&lt;br /&gt;
Such literals are called &amp;#039;&amp;#039;typed literals&amp;#039;&amp;#039;.&lt;br /&gt;
The [http://www.w3.org/TR/xmlschema-2/  W3C XMLSchema Part 2] specification contains several widely used data types such as numbers, booleans, dates, and many more.&lt;br /&gt;
&lt;br /&gt;
It is also possible to create a literal with a specific language.&lt;br /&gt;
This makes it possible to have a multi-lingual RDF graph, where statements are repeated with the same subject and predicate, but different objects that contain the same text content in different languages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== URIs &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XURI;com.sun.star.rdf.URI&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
In RDF, URIs are used to denote resources.&lt;br /&gt;
URIs may be used as subjects or objects of a statement.&lt;br /&gt;
In contrast with other node types, URIs may also be used as the predicate of a statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
service URI : XURI&lt;br /&gt;
{&lt;br /&gt;
    create( [in] string Value )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
&lt;br /&gt;
    createNS( [in] string Namespace, [in] string LocalName )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
&lt;br /&gt;
    createKnown( [in] short Id )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The URI service has constructors &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:create&amp;lt;/idlm&amp;gt; and &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:createNS&amp;lt;/idlm&amp;gt;, which allow for creating an URI from a string.&lt;br /&gt;
These two constructors are very similar, but &amp;lt;code&amp;gt;createNS&amp;lt;/code&amp;gt; allows splitting the parameter into two parts, which may be useful when creating several URIs that share a prefix because they belong to the same vocabulary.&lt;br /&gt;
&lt;br /&gt;
There are many URIs that are well-known because they are specified in various standards, such as XMLSchema datatypes, RDF concepts, OWL, and ODF.&lt;br /&gt;
&lt;br /&gt;
There is a convenient way to construct such URIs:&lt;br /&gt;
using the &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:createKnown&amp;lt;/idlm&amp;gt; constructor, together with constants from the &amp;lt;idl&amp;gt;com.sun.star.rdf.URIs&amp;lt;/idl&amp;gt; constant group.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XURI xContentFile = rdf.URI.createKnown(rdf.URIs.ODF_CONTENTFILE);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, string literals would be easier to use, but unfortunately UNO IDL does not permit them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blank nodes &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XBlankNode;com.sun.star.rdf.BlankNode&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The other kind of RDF node is the blank node, which is a resource, but in contrast to an URI, is not unique.&lt;br /&gt;
Because blank nodes are not unique, you should only construct them with the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:createBlankNode&amp;lt;/idlm&amp;gt; method, not with the service constructor, and you should never use a blank node with a different repository than the one that created it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Statements &amp;lt;idltopic&amp;gt;com.sun.star.rdf.Statement&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Using these nodes, RDF &amp;#039;&amp;#039;statements&amp;#039;&amp;#039; can be constructed, which are&lt;br /&gt;
basically subject-predicate-object triples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
struct Statement&lt;br /&gt;
{&lt;br /&gt;
    XResource Subject;&lt;br /&gt;
    XURI      Predicate;&lt;br /&gt;
    XNode     Object;&lt;br /&gt;
    /// the named graph that contains this statement, or &amp;lt;NULL/&amp;gt;.&lt;br /&gt;
    XURI      Graph;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The subject of the statement is the entity that the statement is about.&lt;br /&gt;
The subject must be either an URI or a blank node; a literal is not allowed.&lt;br /&gt;
&lt;br /&gt;
The predicate denotes what the relationship between the subject and the object is.&lt;br /&gt;
In order to ensure that statements have a machine-readable semantics, only URIs are allowed as predicates.&lt;br /&gt;
&lt;br /&gt;
The object of the statement may be any kind of RDF node.&lt;br /&gt;
&lt;br /&gt;
If you put many statements together, and these statements share subjects and objects, then you will get a RDF &amp;#039;&amp;#039;graph&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Graphs &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Graphs are represented by the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idl&amp;gt;.&lt;br /&gt;
As the name implies, a &amp;#039;&amp;#039;named graph&amp;#039;&amp;#039; has a name, which is a URI.&lt;br /&gt;
This is why the &amp;lt;idls&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idls&amp;gt; interface inherits from &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | This means that you can easily create RDF statements about named graphs.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XNamedGraph : XURI&lt;br /&gt;
{&lt;br /&gt;
    XURI getName();&lt;br /&gt;
&lt;br /&gt;
    void clear()&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void addStatement(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void removeStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ getStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The individual methods will be discussed in subsequent sections.&lt;br /&gt;
There is no service for a named graph, because named graphs always live in a repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Repository &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XRepository;com.sun.star.rdf.XRepositorySupplier&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The repository is the centerpiece of the RDF API.&lt;br /&gt;
It is defined in the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XRepository&amp;lt;/idl&amp;gt;, and the service &amp;lt;idl&amp;gt;com.sun.star.rdf.Repository&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XRepository&lt;br /&gt;
{&lt;br /&gt;
    XBlankNode createBlankNode();&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph importGraph([in] /*FileFormat*/ short Format,&lt;br /&gt;
                [in] io::XInputStream InStream,&lt;br /&gt;
                [in] XURI GraphName, [in] XURI BaseURI)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                datatransfer::UnsupportedFlavorException,&lt;br /&gt;
                container::ElementExistException, ParseException,&lt;br /&gt;
                RepositoryException, io::IOException );&lt;br /&gt;
&lt;br /&gt;
    void exportGraph([in] /*FileFormat*/ short Format,&lt;br /&gt;
                [in] io::XOutputStream OutStream,&lt;br /&gt;
                [in] XURI GraphName, [in] XURI BaseURI)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                datatransfer::UnsupportedFlavorException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException,&lt;br /&gt;
                io::IOException );&lt;br /&gt;
&lt;br /&gt;
    sequence&amp;lt;XURI&amp;gt; getGraphNames()&lt;br /&gt;
        raises( RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph getGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph createGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::ElementExistException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void destroyGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ getStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;SELECT&amp;quot; query.&lt;br /&gt;
    XQuerySelectResult querySelect([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;CONSTRUCT&amp;quot; query.&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ queryConstruct([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;ASK&amp;quot; query.&lt;br /&gt;
    boolean queryAsk([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A RDF repository is basically a set of named RDF graphs.&lt;br /&gt;
The names of the contained graphs can be retrieved via the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getGraphNames&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
An individual graph can be retrieved via the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getGraph&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
&lt;br /&gt;
A repository may be created as a stand-alone service, or it may be associated with a loaded ODF document.&lt;br /&gt;
The graphs in a document repository correspond to streams in an ODF package, and thus the graph names consist of the URI of the ODF package and the relative path of the stream within the package.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | For a document repository, you should not call the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:createGraph&amp;lt;/idlm&amp;gt;, &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:destroyGraph&amp;lt;/idlm&amp;gt; or &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:importGraph&amp;lt;/idlm&amp;gt; methods directly; instead, call the respective methods of &amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;, as described below.}}&lt;br /&gt;
&lt;br /&gt;
Services that provide an RDF repository implement the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XRepositorySupplier&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XRepositorySupplier&lt;br /&gt;
{&lt;br /&gt;
    XRepository getRDFRepository();&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Document integration &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess;com.sun.star.rdf.XMetadatable&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The other main part of the RDF API is the integration in document models.&lt;br /&gt;
This purpose is served by the interface&lt;br /&gt;
&amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;, which is implemented&lt;br /&gt;
by the &amp;lt;code&amp;gt;Model&amp;lt;/code&amp;gt; service of documents.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | Because this interface derives from &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt;, you can easily create RDF statements about the document.}}&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Do not use methods such as &amp;lt;idlm&amp;gt;com.sun.star.frame.XModel:getURL&amp;lt;/idlm&amp;gt; to create a URI for the document.  Always use the &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt; interface of the model when you need the RDF URI for a document.}}&lt;br /&gt;
&lt;br /&gt;
Furthermore, there is the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idl&amp;gt;, which allows document content entities to be used as subjects or objects in the methods that manipulate RDF graphs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XMetadatable : XURI&lt;br /&gt;
{&lt;br /&gt;
    [attribute] beans::StringPair MetadataReference {&lt;br /&gt;
        set raises ( lang::IllegalArgumentException );&lt;br /&gt;
    };&lt;br /&gt;
&lt;br /&gt;
    void ensureMetadataReference();&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | The &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; interface has an attribute &amp;lt;idlm&amp;gt;com.sun.star.rdf.XMetadatable:MetadataReference&amp;lt;/idlm&amp;gt;.  This attribute is only meant to be set by import filters, such as the ODF import filter.  Extensions should use &amp;lt;idlm&amp;gt;com.sun.star.rdf.XMetadatable:ensureMetadataReference&amp;lt;/idlm&amp;gt;, or simply use a &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; as a parameter to &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:addStatement&amp;lt;/idlm&amp;gt;, which will automatically call &amp;lt;code&amp;gt;ensureMetadataReference()&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
=== Annotated text range &amp;lt;idltopic&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The service &amp;lt;idl&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idl&amp;gt; allows to add annotations to a range of text.&lt;br /&gt;
The range of text must be contained within a single paragraph, and annotations must not overlap (but they are allowed to nest).&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | In essence, this is a &amp;lt;code&amp;gt;span&amp;lt;/code&amp;gt; with a &amp;lt;code&amp;gt;xml:id&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    text.XText = xDoc.getText();&lt;br /&gt;
    text.XTextCursor xCursor = ... // position to where you want the annotation&lt;br /&gt;
    Object xMeta = xDocFactory.createInstance(&lt;br /&gt;
            &amp;quot;com.sun.star.text.InContentMetadata&amp;quot;);&lt;br /&gt;
    text.XTextContent xContent = (text.XTextContent)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XTextContent.class, xMeta);&lt;br /&gt;
    try {&lt;br /&gt;
        xDocText.insertTextContent(xCursor, xMeta, true);&lt;br /&gt;
    } catch (lang.IllegalArgumentException) {&lt;br /&gt;
        // overlap?&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the &amp;lt;code&amp;gt;InContentMetadata&amp;lt;/code&amp;gt; is successfully inserted, you can add metadata by just using it as the subject or object of an RDF statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xMetadatable = (rdf.XMetadatable)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XMetadatable.class, xContent);&lt;br /&gt;
    rdf.XURI xComment = rdf.URI.createKnown(rdf.URIs.RDFS_COMMENT);&lt;br /&gt;
    rdf.XLiteral xObj = rdf.Literal.create(&amp;quot;a most interesting description&amp;quot;);&lt;br /&gt;
    rdf.XNamedGraph xGraph = xDocRepository.getGraph(xMyGraphURI);&lt;br /&gt;
    xGraph.addStatement(xMetadatable, xComment, xObj);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Metadata field &amp;lt;idltopic&amp;gt;com.sun.star.text.MetadataField&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
There is a new text field that is explicitly designed for being used with RDF metadata: &amp;lt;idl&amp;gt;com.sun.star.text.textfield.MetadataField&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In contrast with the &amp;lt;code&amp;gt;InContentMetadata&amp;lt;/code&amp;gt;, where an &amp;#039;&amp;#039;existing&amp;#039;&amp;#039; range of text is being annotated with additional metadata, the metadata field allows for text content to be &amp;#039;&amp;#039;generated from&amp;#039;&amp;#039; RDF metadata.&lt;br /&gt;
&lt;br /&gt;
For example, a bibliography extension could use a metadata field to insert a citation.&lt;br /&gt;
The user could tell the bibliography extension which citation format should be used, and the extension will generate the content of all the citation metadata fields based on this choice.&lt;br /&gt;
The extension may use some bibliography database that may also be stored as an RDF graph.&lt;br /&gt;
&lt;br /&gt;
Metadata fields must be contained within a single paragraph, and must not overlap (but they are allowed to nest).&lt;br /&gt;
&lt;br /&gt;
To enable generating the content, the metadata field implements the &amp;lt;idl&amp;gt;com.sun.star.text.XText&amp;lt;/idl&amp;gt; interface.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    text.XTextContent xMetafield = ... ; // get an inserted metadata field&lt;br /&gt;
    text.XText xMetafieldText = (text.XText)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XText.class, xMetafield);&lt;br /&gt;
    xMetafieldText.setString(&amp;quot;&amp;quot;); // clear the field: delete all content&lt;br /&gt;
    text.XTextCursor xCursor = xMetafieldText.createCursor();&lt;br /&gt;
    xMetafieldText.insertString(xCursor, &amp;quot;field content&amp;quot;, true);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, you can not just insert plain text, but everything that you could insert into a paragraph.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    xCursor.gotoEnd(false);&lt;br /&gt;
    text.XTextContent xFootnote = ... ; // create and init footnote&lt;br /&gt;
    xMetafieldText.insertTextContent(xCursor, xFootnote, false);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Metadata fields have another interesting aspect: they can have a &amp;#039;&amp;#039;prefix&amp;#039;&amp;#039; and/or &amp;#039;&amp;#039;suffix&amp;#039;&amp;#039; text that is taken from one of the RDF graphs in the document.&lt;br /&gt;
In this way you can create a metadata field with text content that is automatically displayed (non-editable) based on an RDF statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xMetafield = ... ; // get an inserted metadata field&lt;br /&gt;
    rdf.XNamedGraph xGraph = xDocRepository.getGraph(xMyGraphURI);&lt;br /&gt;
    rdf.XURI xPrefix = rdf.URI.createKnown(rdf.URIs.ODF_PREFIX);&lt;br /&gt;
    xGraph.addStatement(xMetafield, xPrefix,&lt;br /&gt;
        &amp;quot;this text will be displayed as prefix content of the field&amp;quot;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Other document entities ===&lt;br /&gt;
&lt;br /&gt;
In addition to the annotated text range and the metadata field, other document content entities implement the &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; interface as well.&lt;br /&gt;
These entities can thus be used in RDF statements.&lt;br /&gt;
The list of entities which can be thus annotated will grow in future releases of {{PRODUCTNAME}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Adding metadata to a document ===&lt;br /&gt;
&lt;br /&gt;
The metadata support in ODF 1.2 allows for adding RDF graphs to an ODF package.&lt;br /&gt;
Every RDF graph is stored as an &amp;lt;code&amp;gt;RDF/XML&amp;lt;/code&amp;gt; stream in the package.&lt;br /&gt;
&lt;br /&gt;
There is a special RDF graph called the &amp;#039;&amp;#039;metadata manifest&amp;#039;&amp;#039;.&lt;br /&gt;
This RDF graph belongs to a document and enumerates all the files relevant for metadata, such as the individual RDF/XML files.&lt;br /&gt;
&lt;br /&gt;
This manifest graph is maintained by {{PRODUCTNAME}} itself; extension authors should not modify it directly, but use the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In order to isolate different metadata users, every extension that wants to add metadata should create one (or several) own RDF graph(s).&lt;br /&gt;
It is recommended to give the new graphs a &amp;#039;&amp;#039;type&amp;#039;&amp;#039; that identifies what kind of information is contained, especially if a well-known RDF vocabulary is used.&lt;br /&gt;
With the method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:addMetadataFile&amp;lt;/idlm&amp;gt;, you can specify as many types as you want for a graph.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    try {&lt;br /&gt;
        rdf.XURI xGraphName = xDMA.addMetadataFile(&amp;quot;myextension/mygraph.rdf&amp;quot;,&lt;br /&gt;
            new rdf.XURI[] { xType } );&lt;br /&gt;
        rdf.XNamedGraph xGraph = xDMA.getRDFRepository().getGraph(xGraphName);&lt;br /&gt;
    } catch (container.ElementExistException e) { // filename exists?&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note| Choose a stream name that is unlikely to conflict with other extensions.  The preferred suffix is &amp;lt;code&amp;gt;.rdf&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Tip | The method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:importMetadataFile&amp;lt;/idlm&amp;gt; allows to import an existing RDF/XML file into the document RDF repository.}}&lt;br /&gt;
&lt;br /&gt;
Now you can simply insert RDF statements into the graph:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xElement = ...; // some document content entity&lt;br /&gt;
    rdf.XURI xLabel = rdf.URI.createKnown(rdf.URIs.RDFS_LABEL);&lt;br /&gt;
    rdf.XLiteral xObj = rdf.Literal.create(&amp;quot;a most interesting description&amp;quot;);&lt;br /&gt;
    xGraph.addStatement(xElement, xLabel, xObj);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reading metadata from a document ===&lt;br /&gt;
&lt;br /&gt;
In order to read metadata that is stored in a document, query the RDF repository of the document.&lt;br /&gt;
&lt;br /&gt;
There are basically two ways to do this.&lt;br /&gt;
One way is to use the getter methods at the named graph and repository interfaces.&lt;br /&gt;
The method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getStatements&amp;lt;/idlm&amp;gt; will return all statements in any graph in the repository that match the given parameters.&lt;br /&gt;
But note that this is not necessarily what you want.&lt;br /&gt;
Usually, an extension is only interested in the metadata it has itself inserted.&lt;br /&gt;
Thus it is better to first get the graph(s) that the extension is interested in, and then only query those graphs via &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:getStatements&amp;lt;/idlm&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    rdf.XURI[] GraphNames = xDMA.getMetadataGraphsWithType(xType);&lt;br /&gt;
    for (rdf.XURI xGraphName : GraphNames) {&lt;br /&gt;
        rdf.XNamedGraph xGraph = xDMA.getRDFRepository().getGraph(xGraphName);&lt;br /&gt;
        // replace nulls with interesting URIs&lt;br /&gt;
        container.XEnumeration xResult = xGraph.getStatements(null, null, null);&lt;br /&gt;
        while (xResult.hasMoreElements()) {&lt;br /&gt;
            rdf.Statement stmt = (rdf.Statement) xResult.nextElement();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The other way of getting information out of the repository is via the [http://www.w3.org/TR/rdf-sparql-query/  SPARQL query language].&lt;br /&gt;
&lt;br /&gt;
The same considerations as above apply: by default, the result will contain information from all graphs in the repository.&lt;br /&gt;
You can restrict the graphs via the &amp;lt;code&amp;gt;GRAPH&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;FROM&amp;lt;/code&amp;gt; clauses.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    rdf.XURI[] GraphNames = xDMA.getMetadataGraphsWithType(xType);&lt;br /&gt;
    if (GraphNames.length &amp;gt; 0) {&lt;br /&gt;
        String graphName = GraphNames[0].getStringValue();&lt;br /&gt;
        String query =&lt;br /&gt;
            &amp;quot;CONSTRUCT { ?s ?p ?o } WHERE { GRAPH &amp;lt;&amp;quot;&lt;br /&gt;
                + graphName + &amp;quot;&amp;gt; { ?s ?p ?o } . }&amp;quot;;&lt;br /&gt;
        container.XEnumeration xResult =&lt;br /&gt;
            xDMA.getRDFRepository().queryConstruct(query);&lt;br /&gt;
        while (xResult.hasMoreElements()) {&lt;br /&gt;
            rdf.Statement stmt = (rdf.Statement) xResult.nextElement();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Besides the &amp;lt;code&amp;gt;CONSTRUCT&amp;lt;/code&amp;gt; query shown above, there are also the methods &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:querySelect&amp;lt;/idlm&amp;gt;, which returns a table of results, and &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:queryAsk&amp;lt;/idlm&amp;gt;, which simply returns a &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt;.&lt;br /&gt;
There are different methods for the different query types because the return types differ.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Always use the query method that matches the query type.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mapping from URIs to document entities &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess;com.sun.star.rdf.XMetadatable&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Note that for a document content annotation the RDF repository will only give you an URI in its results, not the actual document content entity.&lt;br /&gt;
In order to map the URI to the document entity, use the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:getElementByURI&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xElemURI = ... // query the document repository&lt;br /&gt;
    rdf.XMetadatable xElement = xDMA.getElementByURI(xElemURI);&lt;br /&gt;
    text.XTextContent xElemContent = (text.XTextContent)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XTextContent.class, xElement);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Tip | You can check if an URI refers to a document entity: it does if it has as a prefix the &amp;#039;&amp;#039;base URI&amp;#039;&amp;#039; of the document, which is available as the &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt; implementation of the document model.  But please keep in mind that the document entity does not need to exist, because it may have been removed from the document.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Removing metadata from a document ===&lt;br /&gt;
&lt;br /&gt;
The named graph supports the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:removeStatements&amp;lt;/idlm&amp;gt; method, which removes all statements that match the parameters from the graph.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | There is no update operation.  If you want to update an RDF statement, you have to remove the existing statement, and insert a new one.}}&lt;br /&gt;
&lt;br /&gt;
Also, there is the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:clear&amp;lt;/idlm&amp;gt; method, which is equivalent to &amp;lt;code&amp;gt;removeStatements(null, null, null)&amp;lt;/code&amp;gt;, and removes all statements from the graph.&lt;br /&gt;
&lt;br /&gt;
For removing whole metadata streams from an ODF document, there is the method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:removeMetadataFile&amp;lt;/idlm&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Vocabulary ===&lt;br /&gt;
&lt;br /&gt;
Some notes on RDF vocabularies; of course, a comprehensive discussion of RDF design is beyond the scope of this guide.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Do not use URIs based on the document base URI as properties.  Properties should be independent of the location of the document.}}&lt;br /&gt;
&lt;br /&gt;
An important question when adding RDF metadata is: which vocabulary do you use?&lt;br /&gt;
First, it is usually a good idea to re-use an existing vocabulary.&lt;br /&gt;
This will improve the chances that other software, which also supports the existing vocabulary, is able to do something interesting and useful with the metadata that is added.&lt;br /&gt;
&lt;br /&gt;
For example, for basic datatypes you can use the types specified in [http://www.w3.org/TR/xmlschema-2/  W3C XMLSchema Part 2].&lt;br /&gt;
A well-known vocabulary for expressing social relations is [http://www.foaf-project.org/  Friend-of-a-Friend].&lt;br /&gt;
A directory of RDF schemata can be found at [http://schemaweb.info/  SchemaWeb].&lt;br /&gt;
Another useful resource might be [http://dbpedia.org/  DBPedia].&lt;br /&gt;
&lt;br /&gt;
If you do not find an existing vocabulary that matches your use case, here are some hints for designing your own:&lt;br /&gt;
The most important thing is that the URIs should really be unique.&lt;br /&gt;
If you have a DNS domain, then that is quite easy to achieve: use URIs like &amp;lt;code&amp;gt;http://example.com/myvocabulary/v1.0/foo&amp;lt;/code&amp;gt;.&lt;br /&gt;
It is probably a good idea to use a versioned namespace prefix like &amp;lt;code&amp;gt;http://example.com/myvocabulary/v1.0/&amp;lt;/code&amp;gt; for all URIs.&lt;br /&gt;
The version component allows you to evolve the vocabulary to meet future requirements.&lt;br /&gt;
Now you can use the versioned namespace prefix to denote the format, i.e., as a type for your metadata stream, making it easy to find.&lt;br /&gt;
You can also create an actual HTML page to document the vocabulary at the URI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Status ===&lt;br /&gt;
&lt;br /&gt;
As of OOo version 3.2, RDF metadata is only supported in writer documents.&lt;br /&gt;
The generic RDF parts of the API are all implemented.&lt;br /&gt;
The document integration parts are not yet completely implemented:&lt;br /&gt;
most elements do not support the &amp;lt;code&amp;gt;xml:id&amp;lt;/code&amp;gt; that is required for use with RDF.&lt;br /&gt;
In OOo version 3.3, support for more elements was added.&lt;br /&gt;
The following elements can be annotated:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!ODF element&lt;br /&gt;
!Service&lt;br /&gt;
!description&lt;br /&gt;
!since&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:p&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Paragraph&amp;lt;/idl&amp;gt;&lt;br /&gt;
|paragraph&lt;br /&gt;
|3.2&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:h&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Paragraph&amp;lt;/idl&amp;gt;&lt;br /&gt;
|heading&lt;br /&gt;
|3.2&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:bookmark&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Bookmark&amp;lt;/idl&amp;gt;&lt;br /&gt;
|bookmark&lt;br /&gt;
|3.2&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:bookmark-start&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Bookmark&amp;lt;/idl&amp;gt;&lt;br /&gt;
|bookmark with range&lt;br /&gt;
|3.2&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:meta&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idl&amp;gt;&lt;br /&gt;
|annotated text range&lt;br /&gt;
|3.2&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:meta-field&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.textfield.MetadataField&amp;lt;/idl&amp;gt;&lt;br /&gt;
|text field whose content is generated from metadata&lt;br /&gt;
|3.2&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:section&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.TextSection&amp;lt;/idl&amp;gt;&lt;br /&gt;
|text section&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:index-title&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.TextSection&amp;lt;/idl&amp;gt;&lt;br /&gt;
|index title section&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:alphabetical-index&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.DocumentIndex&amp;lt;/idl&amp;gt;&lt;br /&gt;
|alphabetical index&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:user-index&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.UserDefinedIndex&amp;lt;/idl&amp;gt;&lt;br /&gt;
|user defined index&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:table-of-content&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.ContentIndex&amp;lt;/idl&amp;gt;&lt;br /&gt;
|table of content&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:table-index&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.TableIndex&amp;lt;/idl&amp;gt;&lt;br /&gt;
|table index&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:object-index&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.ObjectIndex&amp;lt;/idl&amp;gt;&lt;br /&gt;
|object index&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:illustration-index&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.IllustrationsIndex&amp;lt;/idl&amp;gt;&lt;br /&gt;
|illustration index&lt;br /&gt;
|3.3&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:bibliography&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Bibliography&amp;lt;/idl&amp;gt;&lt;br /&gt;
|bibliography&lt;br /&gt;
|3.3&lt;br /&gt;
|}&lt;br /&gt;
&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>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Uno/API_Deprecation&amp;diff=186631</id>
		<title>Uno/API Deprecation</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Uno/API_Deprecation&amp;diff=186631"/>
		<updated>2010-10-12T14:22:22Z</updated>

		<summary type="html">&lt;p&gt;Mst: add Time/DateTime&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= If/How to Deprecate/Change/Remove UNO API =&lt;br /&gt;
&lt;br /&gt;
Discussion has been going on for years what to do with known-stale/badly designed/un-used UNO IDL types. Here&amp;#039;s an attempt to collect some ideas.&lt;br /&gt;
&lt;br /&gt;
Random ideas:&lt;br /&gt;
* decide on rules when published types may be removed or changed:&lt;br /&gt;
** number of clients in OOo&lt;br /&gt;
** (estimated) use outside OOo project (i.e. people that don&amp;#039;t read interface-announce)&lt;br /&gt;
** how &amp;quot;bad&amp;quot; is the API - i.e. if everybody agrees it plainly sucks, remove anyway despite points above&lt;br /&gt;
* deprecate in one feature release (add a suitable warning mechanism when using such API)&lt;br /&gt;
* remove in the following feature release&lt;br /&gt;
* limit impact considerations to non-ABI-dependent UNO bindings (i.e. the assumption is that c++ components break randomly anyway for every other release, so they shouldn&amp;#039;t block API changes)&lt;br /&gt;
&lt;br /&gt;
== Kill file ==&lt;br /&gt;
&lt;br /&gt;
List of problematic API that should be considered for deprecation/change/removal:&lt;br /&gt;
* css::document::XDocumentInfo [[User:mst]]&lt;br /&gt;
* css::beans::StringPair - there&amp;#039;s the generic beans::Pair&amp;lt;&amp;gt; type now [[User:thorsten]]&lt;br /&gt;
[[Category:Uno]]&lt;br /&gt;
* css::util::Time and DateTime lack a timezone field. Just adding that would be less work than defining new structs. [[User:mst]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=DomainDeveloper&amp;diff=177026</id>
		<title>DomainDeveloper</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=DomainDeveloper&amp;diff=177026"/>
		<updated>2010-08-02T14:25:34Z</updated>

		<summary type="html">&lt;p&gt;Mst: add hbrinkm&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A mapping of names to OOo accounts.&lt;br /&gt;
&lt;br /&gt;
Abbrev.:&lt;br /&gt;
&lt;br /&gt;
* PL : Project Lead&lt;br /&gt;
* CL : Project Co-Lead&lt;br /&gt;
* CC : Community Council Member&lt;br /&gt;
* ESC : Engineering Steering Committee Member &lt;br /&gt;
* CVS : has write access to the OOo CVS repository&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Developers ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Name || CVS || @openoffice.org || [[IRC Communication]] || Notes || Affiliation&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Agerskov|Claus Agerskov]]||   || cs||Agerskov, cagerskov||PL Project Management Tool ([http://oopm.openoffice.org oopm])||AgerCon&lt;br /&gt;
|-&lt;br /&gt;
| Volker Ahrendt|| X || va||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Kai Ahrens|| X || ka || Kai_Ahrens ||PL Graphic Applications||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Rail Aliev || X  || rail || rail ||  Ru and Tr NL Co-lead || Infra-Resource &lt;br /&gt;
|-&lt;br /&gt;
| Gene Anaya||   || ganaya||||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:JoostAndrae|Joost Andrae]]|| X || ja||ja_||CL qa, release testing en-US builds and releasing/uploading builds and releases||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ericb|Eric Bachard]] || X || ericb||ericb2|| PL Education, Mac OSX/Linux PPC port and vcl/impress hacker || [http://education.openoffice.org Education project], unaffiliated&lt;br /&gt;
|-&lt;br /&gt;
| Kai Backman||  || kaib ||KaiB||||&lt;br /&gt;
|-&lt;br /&gt;
| Sascha Ballach|| X || sab||||||&lt;br /&gt;
|-&lt;br /&gt;
| Jayant Balraj Madavi||   || jayant_madavi||aZEN_JM||Connectivity / Database||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Barfurth|| X || jb||JoergB||Configuration Util||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Omer Bar-or|| X || cremlae||cremlae||Mac porting||Google Summer of Code&lt;br /&gt;
|-&lt;br /&gt;
| Mathias Bauer|| X || mba||||PL Writer, CL Framework, XML||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Behrens|| X || thb||thorsten||vcl/impress/toolkit visionary||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Benisch|| X || tbe||||Scripting framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Stephan Bergmann|| X || sb||||CL UDK||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Bille|| X || abi||||||&lt;br /&gt;
|-&lt;br /&gt;
| Éric Bischoff|| X || ebischoff||ebischoff||KDE A/B driver||Bureau Cornavin&lt;br /&gt;
|-&lt;br /&gt;
| Nick Blievers|| X || nick||||IRIX||&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Boelzle|| X || dbo||||UNO core/bridges/packages||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Bolte|| X || obo||||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Henning Brinkmann|| X || hbrinkm|| hbrinkm|| WW8 Filter, DOCX Filter ||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Cedricbosdo|Cédric Bosdonnat]]|| X || cedricbosdo || cbosdonnat || Writer Filters, ooeclipse integration || Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Rafaella Braconi||   || coni||Rafaella ||PL l10n, Globalization Program Manager||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Brauer|| X || mib||||PL XML||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Braun|| X || obr||obr||System Integration/Accessibility Hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Bregas|| X || ab||||StarBasic||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Brunsmann||   || jbrunsmann||||UDK||&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Budischewski||   || jbu||PyUNO hacker||||&lt;br /&gt;
|-&lt;br /&gt;
| Peter Burow|| X  || pb||plumbumm||UI||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| Aidan Butler||   || aidan||||XML filters||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ScottCarr|Scott Carr]] || X  || kcarr||kcarr||PL Documentation||Progbits&lt;br /&gt;
|-&lt;br /&gt;
| Giuseppe Castagno || X || beppec56 || beppec56_  or beppe_c || PDF output||&lt;br /&gt;
|-&lt;br /&gt;
| Colin Charles||   || drbyte||bytee||Malaysian native-lang project||bytebot.net&lt;br /&gt;
|-&lt;br /&gt;
|Jian Hong Cheng || X || chengjh ||  || Writer || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
| Xiuzhi Cheng|| X || xzcheng || xiuzhi|| ESC,Xml,ODF|| OOo community&lt;br /&gt;
|-&lt;br /&gt;
| [[User:jza|Alexandro Colorado]]|| X || jza || jza|| CL [[OOoES|ES]] || &lt;br /&gt;
|-&lt;br /&gt;
| Behrend Cornelius|| X || bc||||Wizards||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ccornell|Clayton Cornell]] || X || ccornell || ccornell || Documentation Project co-lead ||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Cziebalski||   || mci||||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:pdefilippis|Pierre de Filippis]]|| X || pdefilippis||aliscafo||Mac OSX native porting||&lt;br /&gt;
|-&lt;br /&gt;
| Yuri Dario ||   || ydario || Paperino || OS/2 Port || Serenity Systems intl&lt;br /&gt;
|-&lt;br /&gt;
| Andrew Dent|| X ||ace_dent||ace_dent||ui/custom_images||&lt;br /&gt;
|-&lt;br /&gt;
| Naren Devaiah||   || ||ndev||Performance||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Nitin Dongre||   || ||nitin_BITS||||Novell, Inc.(intern)&lt;br /&gt;
|-&lt;br /&gt;
| Radek Doulik||   || radekdoulik||rodo_||Canvas hacker||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Carsten Driesner|| X || cd|| cd_oo ||PL Framework||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| Herbert Duerr|| X || hdu||hdu_hh||GSL||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:bei|Bernd Eilers]]|| X || bei||rfc821||[[EIS]]||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| René Engelhard|| X || rene||_rene_||config_office, Debian packager||Debian&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Pereriksson|Per Eriksson]] || || pereriksson || || CL, MarCon Sweden ||&lt;br /&gt;
|-&lt;br /&gt;
|[[User:Jbfaure|Jean-Baptiste Faure]]||X||jbfaure||jbfaure ||PL FR native-lang project|| &lt;br /&gt;
|-&lt;br /&gt;
| Hubert Figuière|| X || hub || hub || PPTX || Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Claudio F Filho||   || filhocf||filhocf||Brazilian portuguese Localization||BrOffice.org&lt;br /&gt;
|-&lt;br /&gt;
| Andre Fischer|| X || af||||Impress||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Uwe Fischer || X || ufi || ufiooo || Application Help || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ken Foskey||   || waratah||waratah||config_office/dmake man||slug.org.au&lt;br /&gt;
|-&lt;br /&gt;
| Duncan Foster||   || dfoster||||||&lt;br /&gt;
|-&lt;br /&gt;
| David Fraser||   || davidfraser||davidfraser||South African translations, multilingual builds||translate.org.za&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Nf|Nils Fuhrmann]]||   || nf||SunNF||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Martin Gallwey|| X || mtg||marty_||XML/Writer/packaging||&lt;br /&gt;
|-&lt;br /&gt;
| Pierre-Andre Galmes || || pagalmes || pagalmes || Chart2 ||StarXpert&lt;br /&gt;
|-&lt;br /&gt;
| Tony Galmiche|| X || tonygalmiche||||FR native-lang project||&lt;br /&gt;
|-&lt;br /&gt;
| Sunil Gandhi||   || ||tyro||||NOSIP&lt;br /&gt;
|-&lt;br /&gt;
|Zemin Gao ||  || gaozemin|| gaozm || Calc || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Sophie Gautier|| X || sgauti|| sophi || ||.&lt;br /&gt;
|-&lt;br /&gt;
| Vladimir Glazounov|| X || vg||||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Laurent Godard || X || laurentgodard || lgodard || CC, PL Extensions, Fr Native-lang Project || inDesko/Nuxeo &lt;br /&gt;
|-&lt;br /&gt;
| Jody Goldberg|| X || jodygoldberg||jody||[[Calc]] spreadsheet-ness||&lt;br /&gt;
|-&lt;br /&gt;
| Dirk Grobler|| X || dg|||| ||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sg|Steffen Grund]]|| X || sg|| || NetBeans Integration ||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bettina Haberer||   || bh||||RFEOwner||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bo Han || X || hanbo || hanbo || VBA Interop || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Ingrid Halama|| X || iha||||Chart||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Chris Halls|| X || haggai||haggai||Debian packager&amp;amp;amp;misc. hacker||Credativ Ltd., Debian&lt;br /&gt;
|-&lt;br /&gt;
| Gregor Hartmann|| X || gh|| Lachs ||Testtool, gsicheck, buildbot||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bustamam Harun||   || bustamam||||Malaysian stuff||&lt;br /&gt;
|-&lt;br /&gt;
| Kevin Hendricks|| X || khendricks||||PL Lingucomponent, PowerPC||&lt;br /&gt;
|-&lt;br /&gt;
| Con Hennessy||   || cphennessy||cph2 or cph_||hacker &amp;amp;amp; former council person||OpenApp&lt;br /&gt;
|-&lt;br /&gt;
| Ivo Hinkelmann|| X || ihi||ivo||l10n tooling/general/RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Eric Hoch|| X || maveric||mav_eric||Mac Porting||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Lutz_Hoeger|Lutz Hoeger]]|| X || lh ||lutzh||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Hönnig|| X || mi||||PL API||&lt;br /&gt;
|-&lt;br /&gt;
| Ilko Höpping|| X || ih||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jan Holešovský|| X || kendy||kendy||KDE integration||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Martin Hollmichel|| X || mh||Ratte/Nesshof||PL External, Tools, Porting, CC||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Karl Hong|| X || khong||||i18n, CJK expert||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:icobgr|Hristo Hristov]] ||   || icobgr || icobgr || PL Bulgarian native-lang project ||&lt;br /&gt;
|-&lt;br /&gt;
| Matthias Huetsch|| X || mhu||||Performance/strategy, PL UCB, CC, ESC||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Sven Jacobi|| X || sj||||Escherwizard||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Jahnke||   || jj||||tooling||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Pavel Janík|| X || pjanik||paveljanik||PL Czech native-lang project, CL l10n, CC, ESC, l10n builds||&lt;br /&gt;
|-&lt;br /&gt;
| Sunil Amitkumar Janki || || sjanki || sjanki || GNU Linux mipsel porter || &lt;br /&gt;
|-&lt;br /&gt;
| Christian Jansen||   || cj ||||Menu and Toolbar?||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ocke Janssen|| X || oj||Base||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Berry Jia|| X || berryjia||||||&lt;br /&gt;
|-&lt;br /&gt;
| Mingfei Jia || X  || jiamingfei ||   || Lotus Smart Suite filter,MS Word encryption || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
| Chuang Jiang ||   || jiangc ||   || || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Pascal Junck||   || pjunck||||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:pj@openoffice.org|Peter Junge]]|| X || pj|| peter13j|| OOo community contact || &lt;br /&gt;
|-&lt;br /&gt;
| Christian Junker||   || Cyb||christianju||API||Trees For Life&lt;br /&gt;
|-&lt;br /&gt;
| Etsushi Kato || X || ekato ||   || Mac OS X Port || Independent &lt;br /&gt;
|-&lt;br /&gt;
| Hirano Kazunari||   || khirano||||Japanese||&lt;br /&gt;
|-&lt;br /&gt;
| Mihaela Kedikova|| X || misheto||||grid control||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Dhananjay Keskar|| X || dkeskar ||dkeskar||Performance,Buildbot,cat-herder||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Volodymyr Khrystynych||   || volody||||XML Filter||&lt;br /&gt;
|-&lt;br /&gt;
| Robert Kinsella||   || rkinsella||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Matthias Klose||   || doko||doko||Ubuntu, gcc, python packager||Canonical, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Laszlo Kovacs||   || lkovacs||||Documentation||&lt;br /&gt;
|-&lt;br /&gt;
| Tobias Krause|| X || tkr||||ucb||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Martin Kretzschmar|| X || mkretzschmar||martink||Gnome / Debian||Student&lt;br /&gt;
|-&lt;br /&gt;
| Will Lachance||   || wlach||wlach_||Word Perfect File Filters||Net Integration Technologies, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Marcus Lange|| X || mla||mla||[http://download.openoffice.org download websites], uploading/releasing Developer Snapshots, Beta versions, RCs and releases||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Lange|| X || tl||tl13||||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| Lars Langhans|| X || lla||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Hans-Joachim Lankenau|| X || hjs||ause||dmake makefile expert, RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Németh László|| X || nemeth||||PL lingucomponent||&lt;br /&gt;
|-&lt;br /&gt;
| Jakob Lechner|| X || jakob_lechner||||Writer||Fabalabs&lt;br /&gt;
|-&lt;br /&gt;
| Michael Leibowitz||  X || mikeleib ||mikeleib||performance||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Hui Li||   || lihuiibm || Hui_Li ||VBA Interop||IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
|Jian Li||   || lijian || lijian|| Writer|| CS2C&lt;br /&gt;
|-&lt;br /&gt;
| Wind Li|| X || windly||||Address books||&lt;br /&gt;
|-&lt;br /&gt;
| Xing Li || X  || lixxing ||   || Accessibility || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
|Weike Liang || X || liangweike || liangweike || Graphics ||&lt;br /&gt;
|-&lt;br /&gt;
| Ping Liao||   || pliao||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tor Lillqvist|| X || tml||tml_||||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Fong Lin || X  || pflin || Fong  || VBA Interop, Scripting, CJK Enhancement || Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Joachim Lingner|| X || jl||||Java, CLI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christian Lippka|| X || cl || cl ||Graphic Applications||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Chen Liu||   || liuchenn|| liuchen ||VBA Interop||IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
|Jianli Liu ||  || liujl|| liujianli || Graphics|| [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Mindy Liu||   || mindyliu||||||&lt;br /&gt;
|-&lt;br /&gt;
|[[User:liutao |Tao Liu]]   || X  || liutao || liutao  ||PL modularization ,PyUNO, Async dialogs,|| &lt;br /&gt;
|-&lt;br /&gt;
| YiSong Liu||  || Liu YiSong || Liu YiSong|| PYUNO || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Yu Liu || X  || ch2000liuy || LiuYU  || Swriter || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Yuhua Liu ||  || liuyuhua|| yuhua|| ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| [[User:fl|Frank Loehmann]]|| X || fl ||frankl||PL [http://ux.openoffice.org User Experience]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Dl|Dieter Loeschky]]|| X || dl ||||PL: ODF Toolkit||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Philipp Lohmann|| X || pl||PhilippL||VCL/X11 (GSL) hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michel Loiseleur|| || mloiseleur|| coren`|| Bugfixes ||Linagora&lt;br /&gt;
|-&lt;br /&gt;
| Jackson Low|| X || xxjack12xx||||Porting||&lt;br /&gt;
|-&lt;br /&gt;
| Patrick Luby||   || pluby||||Mac||&lt;br /&gt;
|-&lt;br /&gt;
|Jingrong Luo ||  || Luo Jingrong|| Luo Jingrong|| ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Yue Lv ||  || lvyue || lvyue || Calc ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|[[User:majun|Jun Ma]]||   ||majun51  ||  ||  writer  || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Katarina Machalkova|| X || bubli|| bubli|| OOXML Export ||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Prasad Madhav || X || pmadhav || pmadhav || Buildbot || Intern@Intel &lt;br /&gt;
|-&lt;br /&gt;
| Babak Mahbod||   || bmahbod||||||&lt;br /&gt;
|-&lt;br /&gt;
| Martin Maher||   || mmaher||||Writer &amp;amp;amp; Filter chap||&lt;br /&gt;
|-&lt;br /&gt;
| Nakata Maho|| X || maho||_maho_||PL QA, PL JA, FreeBSD guy||Independent&lt;br /&gt;
|-&lt;br /&gt;
|Yonggang Mao || X || maoyonggang|| maoyg|| Calc || CS2C&lt;br /&gt;
|-&lt;br /&gt;
| John Marmion|| X || jmarmion||||||&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Martens|| X || ama||||PL Writer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Shane M Mathews|| X || smmathews|| smmathews ||[[Impress:_OpenGL_rendered_transitions]]||student&lt;br /&gt;
|-&lt;br /&gt;
| Frank Mau|| X || fma||||tooling||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:smsm1|Shaun McDonald]] || X || smsm1 || shaunmcdonald || Mac Port, buildbot MacPort1 || Graduate&lt;br /&gt;
|-&lt;br /&gt;
| Caolán McNamara|| X || cmc||caolan||CL Writer &amp;amp;amp; Filter man|| [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
| Michael Meeks|| X || mmeeks||michael_||ugly hack-er, ESC||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Frank Meies|| X || fme||||Writer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Federico Mena-Quintero||   || federicomena||federico||perfectionist||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Ismael Merzaq|| X || isma87||ismael_||Mac OSX native porting||Student&lt;br /&gt;
|-&lt;br /&gt;
| Michael Mi||   || mmi||||||&lt;br /&gt;
|-&lt;br /&gt;
| Björn Michaelsen|| X || b_michaelsen ||b_michaelsen|| Writer, Bookmarks, Performance, User Feedback Program, New Build System||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| Björn Milcke|| X || bm||bm_||Chart||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Petr Mladek||   || pmladek||pmladek||SUSE RPMs, ooo-build releases||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Cyrille Moureaux|| X || cyrillem||Cyrille||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Mmp|Matthias Müller-Prove]]|| X || mmp|| mprove|| [[User Experience]] || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Bluedwarf|Takashi Nakamoto]]|| || bluedwarf|| || Japanese || Student&lt;br /&gt;
|-&lt;br /&gt;
| Jan Navrátil || X || jnavrati || jnavrati || || [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
| Niklas Nebel|| X || nn||niklasn||PL [[Calc]]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christoph Neumann|| X || cn||||[[UnoApiTest]]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Frank Neumann|| X || fne||||MacPort||&lt;br /&gt;
|-&lt;br /&gt;
| NicelKM|| X || mnicel||nicel||||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Jan Nieuwenhuizen|| X || jcn||janneke||Layout code, hacker ||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ChristophNoack|Christoph Noack]]|| X || christophnoack ||christoph_n||CL [http://ux.openoffice.org User Experience]||&lt;br /&gt;
|-&lt;br /&gt;
| Bertram Nolte||   || bnolte||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tomas O&amp;#039;Connor||   || toconnor||||Scripting Framework||&lt;br /&gt;
|-&lt;br /&gt;
| Maximilian Odendahl|| X  || mod||mod||[[Notes2]] [[SQL_Syntax_Highlighting]]|| Student / SEPT-Solutions&lt;br /&gt;
|-&lt;br /&gt;
| Takashi Ono || X  || tono ||   || MinGW port || Independent&lt;br /&gt;
|-&lt;br /&gt;
| Lars Oppermann|| X || lo||||||&lt;br /&gt;
|-&lt;br /&gt;
| Rakesh Pandit || X || rakeshpandit|| chacha_chaudhry|| Education Project - Starmath/fix module warnings|| Education Project&lt;br /&gt;
|-&lt;br /&gt;
| Rodrigo Parra Novo|| X || rodarvus||rodarvus||Gnumeric/Abiword OpenDocument Format support and port to Maemo||INdT (Instituto Nokia de Tecnologia)&lt;br /&gt;
|-&lt;br /&gt;
| Pierre Pasteau|| X || pastea_p || pierrep|| Education Project, SeaMonkey migration || Education Project&lt;br /&gt;
|-&lt;br /&gt;
| Edward Peterlin|| X || OPENSTEP||||Mac||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Fpe|Frank Peters]]|| X || fpe||||CL Documentation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christof Pintaske|| X || cp||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ron Piterman||   || rpiterman||||||&lt;br /&gt;
|-&lt;br /&gt;
| Sebastien Plisson|| X  || plipli||plipli||Developer on Aqua port||OO Aqua Port&lt;br /&gt;
|-&lt;br /&gt;
| Noel Power||   || npower||noelp||VBA Interop, Scripting||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Nikolai Pretzell|| X || np || ||Autodoc, code quality||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jonathan Pryor|| || jpryor || jonp || || Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Canghua Qu||  || quch || Canghua || AutoTest, Graphics || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Volker Quetschke|| X || vq||vq||W32-tcsh/bash build environment and dmake Hacker, ESC||Gravity Waves&lt;br /&gt;
|-&lt;br /&gt;
| Tino Rachui|| X || tra||tinor||GSL/Unix Hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Goran Rakić || X ||goranrakic || || Serbian Native-Lang PL || &lt;br /&gt;
|-&lt;br /&gt;
| [[User:Kr|Kay Ramme]]|| X || kr||||PL UDK||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ErAck|Eike Rathke]]|| X || er||erAck||CL [[Calc]], engine; CL i18n; stricken with number formatter||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Rauch|| X || mrauch||||NetBSD||&lt;br /&gt;
|-&lt;br /&gt;
| Jens-Heiner Rechtien|| X || hr||blauwal||RE; OOo SCM (CVS, CWS tooling); Porting; Compilers||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Rentz|| X || dr|| drr ||[[Calc]] Excel filter, UI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Florian Reuter|| X || flr||||Writer filters||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Georg Richter|| X || grichter||georg||Base, native MySQL driver||MySQL AB&lt;br /&gt;
|-&lt;br /&gt;
| G. Roderick Singleton||   || grsingleton||grsingleton||Documentation||pathtech.org&lt;br /&gt;
|-&lt;br /&gt;
| Hennes Rohling|| X || hro||||GSL &amp;amp;amp; Util||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bibek Sahu||   || Bibek||bibek||Impress pieces||Trees For Life&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Schlüns|| X || as||||Framework||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| Ingo Schmidt|| X || is||||(Native) Installation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Jsc|J&amp;amp;uuml;rgen Schmidt]]|| X || jsc||jsc||PL API, PL Extensions, UNO, SDK||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Schmidtm|Matthias Schmidt]] ||   || schmidtm || schmidtm || Mac OSX Aqua Port || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Stephan Schäfer|| X || ssa||ssa||VCL||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Frank Schönheit|| X || fs||FrankS||Database Access, Forms||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sus|Svante Schubert]]|| X || sus||Svante||XML &amp;amp; ODFTOOLKIT co-lead, ODFDOM project chair, Member of OASIS ODF TC, OASIS OIC TC, OASIS ODF SC Metadata||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sts|Stella Schulze]]|| X || sts||||[http://ui.openoffice.org/nonav/VisualDesign/ Visual Design]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Julian Seward || || sewardj || || valgrind ||&lt;br /&gt;
|-&lt;br /&gt;
| Darragh Sherwin||   || dsherwin||darragh||E-Legislation / E-GovSystems||Propylon&lt;br /&gt;
|-&lt;br /&gt;
| Wei Guo Shi || X  || shiwg ||   || Accessibility and Smart Suite filter || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
|[[User:Robertzhou | RobertZhou]]||  || robertzhou|| shizhoubo|| [[Framework]] || CS2C&lt;br /&gt;
|-&lt;br /&gt;
| Raul Siddhartha||   || rsiddhartha||raul||GTK File Selector||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Sarah Smith||   || ssmith||||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:mox|Mox Soini]] || X || mox || Moxed || Mac Porting || &lt;br /&gt;
|-&lt;br /&gt;
| Rajesh Sola||   || rajeshsola||sola||misc.||NOSIP&lt;br /&gt;
|-&lt;br /&gt;
| Kai Sommerfeld|| X || kso||||manager &amp;amp;amp; hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Specht|| X || os||||PL UI||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Spindler||   || jspindler||||||&lt;br /&gt;
|-&lt;br /&gt;
| Michael Stahl|| X || mst||||Writer, RDF, Metadata||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Rescue|Joey Stanford]] ||  || Rescue/k0fcc || Rinchen || CL [http://eo.openoffice.org/ Esperanto native-lang project] || [http://canonical.com Canonical]&lt;br /&gt;
|-&lt;br /&gt;
| Fridrich Štrba|| X || fridrich_strba||Fridrich||Word Perfect Hacker||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Keith Stribley|| X || kstribley||||Graphite fonts, Myanmar l10n||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Muthusuba|Muthu Subramanian]]|| X || muthusuba||muthusuba||misc.||&lt;br /&gt;
|-&lt;br /&gt;
| Louis Suárez-Potts||   || louis||louis||Community Manager||Collab.net&lt;br /&gt;
|-&lt;br /&gt;
|Quanfa Tang ||  || tqfa|| tangquanfa|| Calc || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| David Tardon || X || dtardon || dtardon || || [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
| Stefan Taxhet|| X || st||stx12||CC, interpersonal problem fixer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Armin Theissen||   || armin||||||&lt;br /&gt;
|-&lt;br /&gt;
| Caio Tiago Oliveira|| X || asrail||asrail||CL QA, release testing pt-BR builds||BrOffice.org&lt;br /&gt;
|-&lt;br /&gt;
| Jan Tietjens||   || tietjens||||||&lt;br /&gt;
|-&lt;br /&gt;
| Rüdiger Timm|| X || rt|| rtimm ||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:mt|Malte Timmermann]]|| X || mt|| Malte || Accessibility, Security, Performance||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Gerhard Tonn||   || tonn||||s390||&lt;br /&gt;
|-&lt;br /&gt;
| Willem van Dorp||   || willem.vandorp||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tom Verbeek|| X || tv|||| ||&lt;br /&gt;
|-&lt;br /&gt;
| Sander Vesik||   || svesik||||||&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Vogelheim|| X || dvo||||XML||&lt;br /&gt;
|-&lt;br /&gt;
| Mikhail Voitenko|| X || mav||mav||Framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Robert Vojta|| X || rvojta||rvojta||Mac OS X related issue||&lt;br /&gt;
|-&lt;br /&gt;
| Dirk Völzke|| X || dv||||Installation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
|Xu Ming Wang || X || flyccloud or Wangxum ||  || Calc || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sparcmoz|Jim Watson]]|| X || sparcmoz|| sparcmoz||GNU Linux sparc porter||clug.org.au&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Weiz |Zhao Wei ]] ||   || weiz || weiz || Chart2 || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Armin Weiss|| X || aw||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Gerd Weiss|| X || gm||||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Dan Williams|| X || fa||dcbw||Mac et. al. hacker|| [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Wittmann|| X || od||Writer||||Oracle&lt;br /&gt;
|-&lt;br /&gt;
|[[User:wuy|Yan Wu]] || X || wuy ||   ||Framework ||CS2C&lt;br /&gt;
|-&lt;br /&gt;
| Stephan Wunderlich|| X || sw||||||&lt;br /&gt;
|- &lt;br /&gt;
| Antonio Xu|| X || antoxu || antoxu || Async dialogs, PRC improvements || Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
|Dehua Xu ||   || xudehua || xudh  ||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Steve_yin|Steve Yin]] || X  || steve_yin || steve_yin || Microsoft Office file format, PDF, Accessibility, ODF || [http://symphony.lotus.com IBM Corp.]&lt;br /&gt;
|-&lt;br /&gt;
| Kohei Yoshida|| X || kohei||kohei_||[[Calc]] hacker, Calc optimization solver developer||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Guoqiang Yu|| X || yugq || yugq|| Performance || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Xiaoyang Yu||   || || ||Disk block reordering||Intel Corporation &lt;br /&gt;
|-&lt;br /&gt;
| George Zahopoulos|| X || georgez||||||&lt;br /&gt;
|-&lt;br /&gt;
| Kurt Zenker|| X || kz||smoketester||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
|[[User:Zhangxiaofei|Xiaofei Zhang]]||  || Zhangxiaofei || zhangxiaofei/FelixZ || [[Framework]] ||CS2C&lt;br /&gt;
|-&lt;br /&gt;
|Jianwei Zhao ||   || zhaojianwei || zhaojianwei ||  Swriter  || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Jeremy Zheng|| X || zhiming || Jeremy || Async dialogs, PRC improvements || Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Zengliangjun || X || Zengliangjun ||  liangjun || [[Performance]] ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== QA Engineers ===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellpadding=&amp;quot;4&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Name ||CVS||@openoffice.org || [[IRC Communication]] || Interested modules || Notes || Affiliation&lt;br /&gt;
|-&lt;br /&gt;
| Stefan Baltzer||||sba||||writer||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Bosbach||X||tbo||||framework, testautomation||framework test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Craemer||X||oc||||[[Calc]], testautomation||calc test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Helge Delfs||X||hde||||testautomation, writer||Test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Fredrik Haegg||X||fha||||||||&lt;br /&gt;
|-&lt;br /&gt;
| Hasan Ilter||||hi||||writer, printing, pdf export||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Rüß||||mru||||writer, word im/export||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Éric Savary||||es||||writer, accessibility||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:jsi|Joerg Sievers]]||X||jsi||jogi||porting||Mac- and Solaris SPARC port testing||&lt;br /&gt;
|-&lt;br /&gt;
| Joerg Skottke||X||jsk||skotti||framework, qa/qatesttool||Framework test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Marc Neumann||X||msc||||database, testautomation||Database access test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Chris Lukasiak||||clu||||database||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Frank Stecher||||fst||||[[Calc]]||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jack Warchold|||| jw||||writer, import/export filters||||&lt;br /&gt;
|-&lt;br /&gt;
| Uwe Luebbers||||ul||||framework||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Martens||||tm||||framework||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Olaf Felka|||| of||of_sun||framework, installation||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Klarhoefer||||kla||||chart||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Wolfram Garten||X|| wg||||draw, impress||draw, impress test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christian Guenther||||cgu||||draw, impress||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ulf Stroehler|||| us||||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Thorsten_Ziehm|Thorsten Ziehm]]||||| thorstenziehm||||||QA lead||Sun Microsystems&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are tracking pending JCAs in the document [[Pending JCAs]].&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[Commit Rights]]&lt;br /&gt;
* [[Contributing Patches]]&lt;br /&gt;
* [[User_Experience/Community|User Experience Team]]&lt;br /&gt;
* A map of OOo developers around the world is available at http://www.frappr.com/ooodev, please add yourself to the map if you&amp;#039;re involved in OOo development. It&amp;#039;s just fun to see who&amp;#039;s where :-)&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=DomainDeveloper&amp;diff=177025</id>
		<title>DomainDeveloper</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=DomainDeveloper&amp;diff=177025"/>
		<updated>2010-08-02T14:22:35Z</updated>

		<summary type="html">&lt;p&gt;Mst: add mst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A mapping of names to OOo accounts.&lt;br /&gt;
&lt;br /&gt;
Abbrev.:&lt;br /&gt;
&lt;br /&gt;
* PL : Project Lead&lt;br /&gt;
* CL : Project Co-Lead&lt;br /&gt;
* CC : Community Council Member&lt;br /&gt;
* ESC : Engineering Steering Committee Member &lt;br /&gt;
* CVS : has write access to the OOo CVS repository&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Developers ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Name || CVS || @openoffice.org || [[IRC Communication]] || Notes || Affiliation&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Agerskov|Claus Agerskov]]||   || cs||Agerskov, cagerskov||PL Project Management Tool ([http://oopm.openoffice.org oopm])||AgerCon&lt;br /&gt;
|-&lt;br /&gt;
| Volker Ahrendt|| X || va||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Kai Ahrens|| X || ka || Kai_Ahrens ||PL Graphic Applications||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Rail Aliev || X  || rail || rail ||  Ru and Tr NL Co-lead || Infra-Resource &lt;br /&gt;
|-&lt;br /&gt;
| Gene Anaya||   || ganaya||||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:JoostAndrae|Joost Andrae]]|| X || ja||ja_||CL qa, release testing en-US builds and releasing/uploading builds and releases||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ericb|Eric Bachard]] || X || ericb||ericb2|| PL Education, Mac OSX/Linux PPC port and vcl/impress hacker || [http://education.openoffice.org Education project], unaffiliated&lt;br /&gt;
|-&lt;br /&gt;
| Kai Backman||  || kaib ||KaiB||||&lt;br /&gt;
|-&lt;br /&gt;
| Sascha Ballach|| X || sab||||||&lt;br /&gt;
|-&lt;br /&gt;
| Jayant Balraj Madavi||   || jayant_madavi||aZEN_JM||Connectivity / Database||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Barfurth|| X || jb||JoergB||Configuration Util||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Omer Bar-or|| X || cremlae||cremlae||Mac porting||Google Summer of Code&lt;br /&gt;
|-&lt;br /&gt;
| Mathias Bauer|| X || mba||||PL Writer, CL Framework, XML||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Behrens|| X || thb||thorsten||vcl/impress/toolkit visionary||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Benisch|| X || tbe||||Scripting framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Stephan Bergmann|| X || sb||||CL UDK||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Bille|| X || abi||||||&lt;br /&gt;
|-&lt;br /&gt;
| Éric Bischoff|| X || ebischoff||ebischoff||KDE A/B driver||Bureau Cornavin&lt;br /&gt;
|-&lt;br /&gt;
| Nick Blievers|| X || nick||||IRIX||&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Boelzle|| X || dbo||||UNO core/bridges/packages||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Bolte|| X || obo||||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Cedricbosdo|Cédric Bosdonnat]]|| X || cedricbosdo || cbosdonnat || Writer Filters, ooeclipse integration || Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Rafaella Braconi||   || coni||Rafaella ||PL l10n, Globalization Program Manager||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Brauer|| X || mib||||PL XML||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Braun|| X || obr||obr||System Integration/Accessibility Hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Bregas|| X || ab||||StarBasic||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Brunsmann||   || jbrunsmann||||UDK||&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Budischewski||   || jbu||PyUNO hacker||||&lt;br /&gt;
|-&lt;br /&gt;
| Peter Burow|| X  || pb||plumbumm||UI||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| Aidan Butler||   || aidan||||XML filters||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ScottCarr|Scott Carr]] || X  || kcarr||kcarr||PL Documentation||Progbits&lt;br /&gt;
|-&lt;br /&gt;
| Giuseppe Castagno || X || beppec56 || beppec56_  or beppe_c || PDF output||&lt;br /&gt;
|-&lt;br /&gt;
| Colin Charles||   || drbyte||bytee||Malaysian native-lang project||bytebot.net&lt;br /&gt;
|-&lt;br /&gt;
|Jian Hong Cheng || X || chengjh ||  || Writer || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
| Xiuzhi Cheng|| X || xzcheng || xiuzhi|| ESC,Xml,ODF|| OOo community&lt;br /&gt;
|-&lt;br /&gt;
| [[User:jza|Alexandro Colorado]]|| X || jza || jza|| CL [[OOoES|ES]] || &lt;br /&gt;
|-&lt;br /&gt;
| Behrend Cornelius|| X || bc||||Wizards||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ccornell|Clayton Cornell]] || X || ccornell || ccornell || Documentation Project co-lead ||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Cziebalski||   || mci||||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:pdefilippis|Pierre de Filippis]]|| X || pdefilippis||aliscafo||Mac OSX native porting||&lt;br /&gt;
|-&lt;br /&gt;
| Yuri Dario ||   || ydario || Paperino || OS/2 Port || Serenity Systems intl&lt;br /&gt;
|-&lt;br /&gt;
| Andrew Dent|| X ||ace_dent||ace_dent||ui/custom_images||&lt;br /&gt;
|-&lt;br /&gt;
| Naren Devaiah||   || ||ndev||Performance||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Nitin Dongre||   || ||nitin_BITS||||Novell, Inc.(intern)&lt;br /&gt;
|-&lt;br /&gt;
| Radek Doulik||   || radekdoulik||rodo_||Canvas hacker||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Carsten Driesner|| X || cd|| cd_oo ||PL Framework||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| Herbert Duerr|| X || hdu||hdu_hh||GSL||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:bei|Bernd Eilers]]|| X || bei||rfc821||[[EIS]]||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| René Engelhard|| X || rene||_rene_||config_office, Debian packager||Debian&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Pereriksson|Per Eriksson]] || || pereriksson || || CL, MarCon Sweden ||&lt;br /&gt;
|-&lt;br /&gt;
|[[User:Jbfaure|Jean-Baptiste Faure]]||X||jbfaure||jbfaure ||PL FR native-lang project|| &lt;br /&gt;
|-&lt;br /&gt;
| Hubert Figuière|| X || hub || hub || PPTX || Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Claudio F Filho||   || filhocf||filhocf||Brazilian portuguese Localization||BrOffice.org&lt;br /&gt;
|-&lt;br /&gt;
| Andre Fischer|| X || af||||Impress||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Uwe Fischer || X || ufi || ufiooo || Application Help || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ken Foskey||   || waratah||waratah||config_office/dmake man||slug.org.au&lt;br /&gt;
|-&lt;br /&gt;
| Duncan Foster||   || dfoster||||||&lt;br /&gt;
|-&lt;br /&gt;
| David Fraser||   || davidfraser||davidfraser||South African translations, multilingual builds||translate.org.za&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Nf|Nils Fuhrmann]]||   || nf||SunNF||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Martin Gallwey|| X || mtg||marty_||XML/Writer/packaging||&lt;br /&gt;
|-&lt;br /&gt;
| Pierre-Andre Galmes || || pagalmes || pagalmes || Chart2 ||StarXpert&lt;br /&gt;
|-&lt;br /&gt;
| Tony Galmiche|| X || tonygalmiche||||FR native-lang project||&lt;br /&gt;
|-&lt;br /&gt;
| Sunil Gandhi||   || ||tyro||||NOSIP&lt;br /&gt;
|-&lt;br /&gt;
|Zemin Gao ||  || gaozemin|| gaozm || Calc || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Sophie Gautier|| X || sgauti|| sophi || ||.&lt;br /&gt;
|-&lt;br /&gt;
| Vladimir Glazounov|| X || vg||||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Laurent Godard || X || laurentgodard || lgodard || CC, PL Extensions, Fr Native-lang Project || inDesko/Nuxeo &lt;br /&gt;
|-&lt;br /&gt;
| Jody Goldberg|| X || jodygoldberg||jody||[[Calc]] spreadsheet-ness||&lt;br /&gt;
|-&lt;br /&gt;
| Dirk Grobler|| X || dg|||| ||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sg|Steffen Grund]]|| X || sg|| || NetBeans Integration ||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bettina Haberer||   || bh||||RFEOwner||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bo Han || X || hanbo || hanbo || VBA Interop || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Ingrid Halama|| X || iha||||Chart||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Chris Halls|| X || haggai||haggai||Debian packager&amp;amp;amp;misc. hacker||Credativ Ltd., Debian&lt;br /&gt;
|-&lt;br /&gt;
| Gregor Hartmann|| X || gh|| Lachs ||Testtool, gsicheck, buildbot||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bustamam Harun||   || bustamam||||Malaysian stuff||&lt;br /&gt;
|-&lt;br /&gt;
| Kevin Hendricks|| X || khendricks||||PL Lingucomponent, PowerPC||&lt;br /&gt;
|-&lt;br /&gt;
| Con Hennessy||   || cphennessy||cph2 or cph_||hacker &amp;amp;amp; former council person||OpenApp&lt;br /&gt;
|-&lt;br /&gt;
| Ivo Hinkelmann|| X || ihi||ivo||l10n tooling/general/RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Eric Hoch|| X || maveric||mav_eric||Mac Porting||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Lutz_Hoeger|Lutz Hoeger]]|| X || lh ||lutzh||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Hönnig|| X || mi||||PL API||&lt;br /&gt;
|-&lt;br /&gt;
| Ilko Höpping|| X || ih||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jan Holešovský|| X || kendy||kendy||KDE integration||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Martin Hollmichel|| X || mh||Ratte/Nesshof||PL External, Tools, Porting, CC||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Karl Hong|| X || khong||||i18n, CJK expert||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:icobgr|Hristo Hristov]] ||   || icobgr || icobgr || PL Bulgarian native-lang project ||&lt;br /&gt;
|-&lt;br /&gt;
| Matthias Huetsch|| X || mhu||||Performance/strategy, PL UCB, CC, ESC||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Sven Jacobi|| X || sj||||Escherwizard||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Jahnke||   || jj||||tooling||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Pavel Janík|| X || pjanik||paveljanik||PL Czech native-lang project, CL l10n, CC, ESC, l10n builds||&lt;br /&gt;
|-&lt;br /&gt;
| Sunil Amitkumar Janki || || sjanki || sjanki || GNU Linux mipsel porter || &lt;br /&gt;
|-&lt;br /&gt;
| Christian Jansen||   || cj ||||Menu and Toolbar?||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ocke Janssen|| X || oj||Base||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Berry Jia|| X || berryjia||||||&lt;br /&gt;
|-&lt;br /&gt;
| Mingfei Jia || X  || jiamingfei ||   || Lotus Smart Suite filter,MS Word encryption || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
| Chuang Jiang ||   || jiangc ||   || || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Pascal Junck||   || pjunck||||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:pj@openoffice.org|Peter Junge]]|| X || pj|| peter13j|| OOo community contact || &lt;br /&gt;
|-&lt;br /&gt;
| Christian Junker||   || Cyb||christianju||API||Trees For Life&lt;br /&gt;
|-&lt;br /&gt;
| Etsushi Kato || X || ekato ||   || Mac OS X Port || Independent &lt;br /&gt;
|-&lt;br /&gt;
| Hirano Kazunari||   || khirano||||Japanese||&lt;br /&gt;
|-&lt;br /&gt;
| Mihaela Kedikova|| X || misheto||||grid control||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Dhananjay Keskar|| X || dkeskar ||dkeskar||Performance,Buildbot,cat-herder||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Volodymyr Khrystynych||   || volody||||XML Filter||&lt;br /&gt;
|-&lt;br /&gt;
| Robert Kinsella||   || rkinsella||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Matthias Klose||   || doko||doko||Ubuntu, gcc, python packager||Canonical, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Laszlo Kovacs||   || lkovacs||||Documentation||&lt;br /&gt;
|-&lt;br /&gt;
| Tobias Krause|| X || tkr||||ucb||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Martin Kretzschmar|| X || mkretzschmar||martink||Gnome / Debian||Student&lt;br /&gt;
|-&lt;br /&gt;
| Will Lachance||   || wlach||wlach_||Word Perfect File Filters||Net Integration Technologies, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Marcus Lange|| X || mla||mla||[http://download.openoffice.org download websites], uploading/releasing Developer Snapshots, Beta versions, RCs and releases||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Lange|| X || tl||tl13||||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| Lars Langhans|| X || lla||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Hans-Joachim Lankenau|| X || hjs||ause||dmake makefile expert, RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Németh László|| X || nemeth||||PL lingucomponent||&lt;br /&gt;
|-&lt;br /&gt;
| Jakob Lechner|| X || jakob_lechner||||Writer||Fabalabs&lt;br /&gt;
|-&lt;br /&gt;
| Michael Leibowitz||  X || mikeleib ||mikeleib||performance||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Hui Li||   || lihuiibm || Hui_Li ||VBA Interop||IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
|Jian Li||   || lijian || lijian|| Writer|| CS2C&lt;br /&gt;
|-&lt;br /&gt;
| Wind Li|| X || windly||||Address books||&lt;br /&gt;
|-&lt;br /&gt;
| Xing Li || X  || lixxing ||   || Accessibility || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
|Weike Liang || X || liangweike || liangweike || Graphics ||&lt;br /&gt;
|-&lt;br /&gt;
| Ping Liao||   || pliao||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tor Lillqvist|| X || tml||tml_||||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Fong Lin || X  || pflin || Fong  || VBA Interop, Scripting, CJK Enhancement || Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Joachim Lingner|| X || jl||||Java, CLI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christian Lippka|| X || cl || cl ||Graphic Applications||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Chen Liu||   || liuchenn|| liuchen ||VBA Interop||IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
|Jianli Liu ||  || liujl|| liujianli || Graphics|| [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Mindy Liu||   || mindyliu||||||&lt;br /&gt;
|-&lt;br /&gt;
|[[User:liutao |Tao Liu]]   || X  || liutao || liutao  ||PL modularization ,PyUNO, Async dialogs,|| &lt;br /&gt;
|-&lt;br /&gt;
| YiSong Liu||  || Liu YiSong || Liu YiSong|| PYUNO || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Yu Liu || X  || ch2000liuy || LiuYU  || Swriter || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Yuhua Liu ||  || liuyuhua|| yuhua|| ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| [[User:fl|Frank Loehmann]]|| X || fl ||frankl||PL [http://ux.openoffice.org User Experience]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Dl|Dieter Loeschky]]|| X || dl ||||PL: ODF Toolkit||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Philipp Lohmann|| X || pl||PhilippL||VCL/X11 (GSL) hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michel Loiseleur|| || mloiseleur|| coren`|| Bugfixes ||Linagora&lt;br /&gt;
|-&lt;br /&gt;
| Jackson Low|| X || xxjack12xx||||Porting||&lt;br /&gt;
|-&lt;br /&gt;
| Patrick Luby||   || pluby||||Mac||&lt;br /&gt;
|-&lt;br /&gt;
|Jingrong Luo ||  || Luo Jingrong|| Luo Jingrong|| ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|Yue Lv ||  || lvyue || lvyue || Calc ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
|[[User:majun|Jun Ma]]||   ||majun51  ||  ||  writer  || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Katarina Machalkova|| X || bubli|| bubli|| OOXML Export ||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Prasad Madhav || X || pmadhav || pmadhav || Buildbot || Intern@Intel &lt;br /&gt;
|-&lt;br /&gt;
| Babak Mahbod||   || bmahbod||||||&lt;br /&gt;
|-&lt;br /&gt;
| Martin Maher||   || mmaher||||Writer &amp;amp;amp; Filter chap||&lt;br /&gt;
|-&lt;br /&gt;
| Nakata Maho|| X || maho||_maho_||PL QA, PL JA, FreeBSD guy||Independent&lt;br /&gt;
|-&lt;br /&gt;
|Yonggang Mao || X || maoyonggang|| maoyg|| Calc || CS2C&lt;br /&gt;
|-&lt;br /&gt;
| John Marmion|| X || jmarmion||||||&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Martens|| X || ama||||PL Writer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Shane M Mathews|| X || smmathews|| smmathews ||[[Impress:_OpenGL_rendered_transitions]]||student&lt;br /&gt;
|-&lt;br /&gt;
| Frank Mau|| X || fma||||tooling||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:smsm1|Shaun McDonald]] || X || smsm1 || shaunmcdonald || Mac Port, buildbot MacPort1 || Graduate&lt;br /&gt;
|-&lt;br /&gt;
| Caolán McNamara|| X || cmc||caolan||CL Writer &amp;amp;amp; Filter man|| [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
| Michael Meeks|| X || mmeeks||michael_||ugly hack-er, ESC||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Frank Meies|| X || fme||||Writer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Federico Mena-Quintero||   || federicomena||federico||perfectionist||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Ismael Merzaq|| X || isma87||ismael_||Mac OSX native porting||Student&lt;br /&gt;
|-&lt;br /&gt;
| Michael Mi||   || mmi||||||&lt;br /&gt;
|-&lt;br /&gt;
| Björn Michaelsen|| X || b_michaelsen ||b_michaelsen|| Writer, Bookmarks, Performance, User Feedback Program, New Build System||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| Björn Milcke|| X || bm||bm_||Chart||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Petr Mladek||   || pmladek||pmladek||SUSE RPMs, ooo-build releases||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Cyrille Moureaux|| X || cyrillem||Cyrille||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Mmp|Matthias Müller-Prove]]|| X || mmp|| mprove|| [[User Experience]] || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Bluedwarf|Takashi Nakamoto]]|| || bluedwarf|| || Japanese || Student&lt;br /&gt;
|-&lt;br /&gt;
| Jan Navrátil || X || jnavrati || jnavrati || || [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
| Niklas Nebel|| X || nn||niklasn||PL [[Calc]]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christoph Neumann|| X || cn||||[[UnoApiTest]]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Frank Neumann|| X || fne||||MacPort||&lt;br /&gt;
|-&lt;br /&gt;
| NicelKM|| X || mnicel||nicel||||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Jan Nieuwenhuizen|| X || jcn||janneke||Layout code, hacker ||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ChristophNoack|Christoph Noack]]|| X || christophnoack ||christoph_n||CL [http://ux.openoffice.org User Experience]||&lt;br /&gt;
|-&lt;br /&gt;
| Bertram Nolte||   || bnolte||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tomas O&amp;#039;Connor||   || toconnor||||Scripting Framework||&lt;br /&gt;
|-&lt;br /&gt;
| Maximilian Odendahl|| X  || mod||mod||[[Notes2]] [[SQL_Syntax_Highlighting]]|| Student / SEPT-Solutions&lt;br /&gt;
|-&lt;br /&gt;
| Takashi Ono || X  || tono ||   || MinGW port || Independent&lt;br /&gt;
|-&lt;br /&gt;
| Lars Oppermann|| X || lo||||||&lt;br /&gt;
|-&lt;br /&gt;
| Rakesh Pandit || X || rakeshpandit|| chacha_chaudhry|| Education Project - Starmath/fix module warnings|| Education Project&lt;br /&gt;
|-&lt;br /&gt;
| Rodrigo Parra Novo|| X || rodarvus||rodarvus||Gnumeric/Abiword OpenDocument Format support and port to Maemo||INdT (Instituto Nokia de Tecnologia)&lt;br /&gt;
|-&lt;br /&gt;
| Pierre Pasteau|| X || pastea_p || pierrep|| Education Project, SeaMonkey migration || Education Project&lt;br /&gt;
|-&lt;br /&gt;
| Edward Peterlin|| X || OPENSTEP||||Mac||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Fpe|Frank Peters]]|| X || fpe||||CL Documentation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christof Pintaske|| X || cp||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ron Piterman||   || rpiterman||||||&lt;br /&gt;
|-&lt;br /&gt;
| Sebastien Plisson|| X  || plipli||plipli||Developer on Aqua port||OO Aqua Port&lt;br /&gt;
|-&lt;br /&gt;
| Noel Power||   || npower||noelp||VBA Interop, Scripting||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Nikolai Pretzell|| X || np || ||Autodoc, code quality||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jonathan Pryor|| || jpryor || jonp || || Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Canghua Qu||  || quch || Canghua || AutoTest, Graphics || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Volker Quetschke|| X || vq||vq||W32-tcsh/bash build environment and dmake Hacker, ESC||Gravity Waves&lt;br /&gt;
|-&lt;br /&gt;
| Tino Rachui|| X || tra||tinor||GSL/Unix Hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Goran Rakić || X ||goranrakic || || Serbian Native-Lang PL || &lt;br /&gt;
|-&lt;br /&gt;
| [[User:Kr|Kay Ramme]]|| X || kr||||PL UDK||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ErAck|Eike Rathke]]|| X || er||erAck||CL [[Calc]], engine; CL i18n; stricken with number formatter||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Rauch|| X || mrauch||||NetBSD||&lt;br /&gt;
|-&lt;br /&gt;
| Jens-Heiner Rechtien|| X || hr||blauwal||RE; OOo SCM (CVS, CWS tooling); Porting; Compilers||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Rentz|| X || dr|| drr ||[[Calc]] Excel filter, UI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Florian Reuter|| X || flr||||Writer filters||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Georg Richter|| X || grichter||georg||Base, native MySQL driver||MySQL AB&lt;br /&gt;
|-&lt;br /&gt;
| G. Roderick Singleton||   || grsingleton||grsingleton||Documentation||pathtech.org&lt;br /&gt;
|-&lt;br /&gt;
| Hennes Rohling|| X || hro||||GSL &amp;amp;amp; Util||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bibek Sahu||   || Bibek||bibek||Impress pieces||Trees For Life&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Schlüns|| X || as||||Framework||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| Ingo Schmidt|| X || is||||(Native) Installation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Jsc|J&amp;amp;uuml;rgen Schmidt]]|| X || jsc||jsc||PL API, PL Extensions, UNO, SDK||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Schmidtm|Matthias Schmidt]] ||   || schmidtm || schmidtm || Mac OSX Aqua Port || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Stephan Schäfer|| X || ssa||ssa||VCL||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Frank Schönheit|| X || fs||FrankS||Database Access, Forms||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sus|Svante Schubert]]|| X || sus||Svante||XML &amp;amp; ODFTOOLKIT co-lead, ODFDOM project chair, Member of OASIS ODF TC, OASIS OIC TC, OASIS ODF SC Metadata||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sts|Stella Schulze]]|| X || sts||||[http://ui.openoffice.org/nonav/VisualDesign/ Visual Design]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Julian Seward || || sewardj || || valgrind ||&lt;br /&gt;
|-&lt;br /&gt;
| Darragh Sherwin||   || dsherwin||darragh||E-Legislation / E-GovSystems||Propylon&lt;br /&gt;
|-&lt;br /&gt;
| Wei Guo Shi || X  || shiwg ||   || Accessibility and Smart Suite filter || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
|[[User:Robertzhou | RobertZhou]]||  || robertzhou|| shizhoubo|| [[Framework]] || CS2C&lt;br /&gt;
|-&lt;br /&gt;
| Raul Siddhartha||   || rsiddhartha||raul||GTK File Selector||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Sarah Smith||   || ssmith||||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:mox|Mox Soini]] || X || mox || Moxed || Mac Porting || &lt;br /&gt;
|-&lt;br /&gt;
| Rajesh Sola||   || rajeshsola||sola||misc.||NOSIP&lt;br /&gt;
|-&lt;br /&gt;
| Kai Sommerfeld|| X || kso||||manager &amp;amp;amp; hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Specht|| X || os||||PL UI||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Spindler||   || jspindler||||||&lt;br /&gt;
|-&lt;br /&gt;
| Michael Stahl|| X || mst||||Writer, RDF, Metadata||Oracle&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Rescue|Joey Stanford]] ||  || Rescue/k0fcc || Rinchen || CL [http://eo.openoffice.org/ Esperanto native-lang project] || [http://canonical.com Canonical]&lt;br /&gt;
|-&lt;br /&gt;
| Fridrich Štrba|| X || fridrich_strba||Fridrich||Word Perfect Hacker||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Keith Stribley|| X || kstribley||||Graphite fonts, Myanmar l10n||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Muthusuba|Muthu Subramanian]]|| X || muthusuba||muthusuba||misc.||&lt;br /&gt;
|-&lt;br /&gt;
| Louis Suárez-Potts||   || louis||louis||Community Manager||Collab.net&lt;br /&gt;
|-&lt;br /&gt;
|Quanfa Tang ||  || tqfa|| tangquanfa|| Calc || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| David Tardon || X || dtardon || dtardon || || [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
| Stefan Taxhet|| X || st||stx12||CC, interpersonal problem fixer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Armin Theissen||   || armin||||||&lt;br /&gt;
|-&lt;br /&gt;
| Caio Tiago Oliveira|| X || asrail||asrail||CL QA, release testing pt-BR builds||BrOffice.org&lt;br /&gt;
|-&lt;br /&gt;
| Jan Tietjens||   || tietjens||||||&lt;br /&gt;
|-&lt;br /&gt;
| Rüdiger Timm|| X || rt|| rtimm ||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:mt|Malte Timmermann]]|| X || mt|| Malte || Accessibility, Security, Performance||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Gerhard Tonn||   || tonn||||s390||&lt;br /&gt;
|-&lt;br /&gt;
| Willem van Dorp||   || willem.vandorp||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tom Verbeek|| X || tv|||| ||&lt;br /&gt;
|-&lt;br /&gt;
| Sander Vesik||   || svesik||||||&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Vogelheim|| X || dvo||||XML||&lt;br /&gt;
|-&lt;br /&gt;
| Mikhail Voitenko|| X || mav||mav||Framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Robert Vojta|| X || rvojta||rvojta||Mac OS X related issue||&lt;br /&gt;
|-&lt;br /&gt;
| Dirk Völzke|| X || dv||||Installation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
|Xu Ming Wang || X || flyccloud or Wangxum ||  || Calc || IBM Corp.&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sparcmoz|Jim Watson]]|| X || sparcmoz|| sparcmoz||GNU Linux sparc porter||clug.org.au&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Weiz |Zhao Wei ]] ||   || weiz || weiz || Chart2 || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Armin Weiss|| X || aw||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Gerd Weiss|| X || gm||||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Dan Williams|| X || fa||dcbw||Mac et. al. hacker|| [http://www.redhat.com Red Hat Inc.]&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Wittmann|| X || od||Writer||||Oracle&lt;br /&gt;
|-&lt;br /&gt;
|[[User:wuy|Yan Wu]] || X || wuy ||   ||Framework ||CS2C&lt;br /&gt;
|-&lt;br /&gt;
| Stephan Wunderlich|| X || sw||||||&lt;br /&gt;
|- &lt;br /&gt;
| Antonio Xu|| X || antoxu || antoxu || Async dialogs, PRC improvements || Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
|Dehua Xu ||   || xudehua || xudh  ||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Steve_yin|Steve Yin]] || X  || steve_yin || steve_yin || Microsoft Office file format, PDF, Accessibility, ODF || [http://symphony.lotus.com IBM Corp.]&lt;br /&gt;
|-&lt;br /&gt;
| Kohei Yoshida|| X || kohei||kohei_||[[Calc]] hacker, Calc optimization solver developer||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Guoqiang Yu|| X || yugq || yugq|| Performance || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Xiaoyang Yu||   || || ||Disk block reordering||Intel Corporation &lt;br /&gt;
|-&lt;br /&gt;
| George Zahopoulos|| X || georgez||||||&lt;br /&gt;
|-&lt;br /&gt;
| Kurt Zenker|| X || kz||smoketester||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
|[[User:Zhangxiaofei|Xiaofei Zhang]]||  || Zhangxiaofei || zhangxiaofei/FelixZ || [[Framework]] ||CS2C&lt;br /&gt;
|-&lt;br /&gt;
|Jianwei Zhao ||   || zhaojianwei || zhaojianwei ||  Swriter  || [[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|-&lt;br /&gt;
| Jeremy Zheng|| X || zhiming || Jeremy || Async dialogs, PRC improvements || Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Zengliangjun || X || Zengliangjun ||  liangjun || [[Performance]] ||[[Beijing Redflag Chinese 2000 Software Co., Ltd.|Beijing Redflag CH2000]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== QA Engineers ===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellpadding=&amp;quot;4&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Name ||CVS||@openoffice.org || [[IRC Communication]] || Interested modules || Notes || Affiliation&lt;br /&gt;
|-&lt;br /&gt;
| Stefan Baltzer||||sba||||writer||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Bosbach||X||tbo||||framework, testautomation||framework test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Craemer||X||oc||||[[Calc]], testautomation||calc test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Helge Delfs||X||hde||||testautomation, writer||Test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Fredrik Haegg||X||fha||||||||&lt;br /&gt;
|-&lt;br /&gt;
| Hasan Ilter||||hi||||writer, printing, pdf export||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Rüß||||mru||||writer, word im/export||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Éric Savary||||es||||writer, accessibility||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:jsi|Joerg Sievers]]||X||jsi||jogi||porting||Mac- and Solaris SPARC port testing||&lt;br /&gt;
|-&lt;br /&gt;
| Joerg Skottke||X||jsk||skotti||framework, qa/qatesttool||Framework test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Marc Neumann||X||msc||||database, testautomation||Database access test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Chris Lukasiak||||clu||||database||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Frank Stecher||||fst||||[[Calc]]||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jack Warchold|||| jw||||writer, import/export filters||||&lt;br /&gt;
|-&lt;br /&gt;
| Uwe Luebbers||||ul||||framework||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Martens||||tm||||framework||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Olaf Felka|||| of||of_sun||framework, installation||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Klarhoefer||||kla||||chart||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Wolfram Garten||X|| wg||||draw, impress||draw, impress test automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christian Guenther||||cgu||||draw, impress||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ulf Stroehler|||| us||||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Thorsten_Ziehm|Thorsten Ziehm]]||||| thorstenziehm||||||QA lead||Sun Microsystems&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are tracking pending JCAs in the document [[Pending JCAs]].&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[Commit Rights]]&lt;br /&gt;
* [[Contributing Patches]]&lt;br /&gt;
* [[User_Experience/Community|User Experience Team]]&lt;br /&gt;
* A map of OOo developers around the world is available at http://www.frappr.com/ooodev, please add yourself to the map if you&amp;#039;re involved in OOo development. It&amp;#039;s just fun to see who&amp;#039;s where :-)&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Build_System_Analysis&amp;diff=167069</id>
		<title>Build System Analysis</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Build_System_Analysis&amp;diff=167069"/>
		<updated>2010-05-11T10:48:11Z</updated>

		<summary type="html">&lt;p&gt;Mst: gnu make 3.8 was released on 1988-09-27...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Build Environment Effort}} &lt;br /&gt;
&lt;br /&gt;
= The recursive-make problem  =&lt;br /&gt;
&lt;br /&gt;
Our current build system suffers from the [http://aegis.sourceforge.net/auug97.pdf well known] “recursive make syndrome”. Large projects with a lot of directories and with many libraries and other build targets often use a central makefile that invokes “make” processes with the makefiles of all sub-directories. OOo has a variant of that procedure. The central make process is a Perl script and the central makefile is a multitude of build.lst files that define dependencies between directories, but at the end this doesn&amp;#039;t make a fundamental difference. &lt;br /&gt;
&lt;br /&gt;
A make based recursive build system has advantages that make it popular: it allows to build the whole system or only parts of it and it is easy to set up if you already have makefiles for the all parts of the project. But it also has many shortcomings that can become serious problems. They all stem from the same basic mistake: the make tool never sees the whole dependency graph of the project it shall build, each make process only knows a subset of the overall set of dependencies. &lt;br /&gt;
&lt;br /&gt;
If a make tool knows the whole (and correct!) dependency graph, it can ensure a correct build by performing a post-order traversal of the graph. If the make tool never sees the whole graph, it can&amp;#039;t take this perfect order but instead will use a worse or perhaps even incorrect one. This can result in build breaks or corrupt or incomplete builds. So manual tweaking is applied to the make process that (as all tweaking) might work under some circumstances but may break (or silently produce garbage) under others. &lt;br /&gt;
&lt;br /&gt;
Not surprisingly our current build system shows the typical symptoms of this disease: &lt;br /&gt;
&lt;br /&gt;
*It is hard to get the order of the recursion into the sub directories right. If a particular build order works, this may be just by luck. It is still possible that the build will break even without any code changes just by using different degrees of parallelization or building different parts of the project (something that is well known in our current build system). &lt;br /&gt;
*A full build always requires to enter all sub directories and invoke their make files, even if they won&amp;#039;t have to do anything. This leads to long build times for small changes. Usually this is “fixed” by omitting dependency information or intentionally building less. If not done properly, this may lead to incomplete or corrupt builds so that at times a build “from scratch” or “from module X” is needed to repair. In any case it requires special knowledge of the developer who here takes over some of the duties of the build system. &lt;br /&gt;
*Inter-directory dependencies are very coarse (compared to the file-based dependencies that a complete dependency graph contains). Some changes cause a build that just builds too much (“incompatible builds”). &lt;br /&gt;
*This wrong level of granularity, that also can be seen as an inaccuracy of dependencies, prevents the build system from optimal parallel execution as the coarse dependencies segment the build process and create artificial boundaries. Dependencies should exist between files, not between directories. &lt;br /&gt;
*The same inaccuracy doesn&amp;#039;t allow to continue building as much as possible in case of build errors. If a build error happens while building a particular target, every other target in the project that does not depend on the broken one still can be built. This works nicely if the dependency granularity is on the file level, it works much less efficient (or not at all) if it is on directory or “module” level. The ability to build as much as possible in case of a build error is especially important for builds that take several hours over night. It also can reveal more than one build breakage per build and so save even more time.&lt;br /&gt;
&lt;br /&gt;
= Analysis of the current build system  =&lt;br /&gt;
&lt;br /&gt;
In our build system inter-directory dependencies are &amp;quot;module&amp;quot; and &amp;quot;directory&amp;quot; dependencies in the build.lst files. Each module has a build.lst file that lists all other modules that need to be built before this one. It also defines dependencies between the directories inside of the module. &lt;br /&gt;
&lt;br /&gt;
Our central build tool is a Perl script called build.pl that can be used in two ways (all other usage variants of build.pl are workarounds that we use to overcome its shortcomings). It is able to build a single module (evaluating only the in-module directory part of the build.lst file of that module) or it can build a module as well as all module it depends on. In the first variant the build of course will work only if all of these &amp;quot;prerequisite&amp;quot; modules have been built before. &lt;br /&gt;
&lt;br /&gt;
In the second variant all build.lst files of the found module prerequisites are evaluated also. Using all these build.lst files, build.pl calculates a module and directory dependency graph and performs a post-order traversal on it. This is better than the &amp;quot;classical&amp;quot; approach to hard code the order by invoking make sub processes. The module dependency graph is loop free and it allows for some dynamics and doesn&amp;#039;t require rewriting of a hard coded order in case of changes. Header dependencies in our build system can even pass module boundaries so that in case of a correct module build order a stable build is doable – at least in theory. &lt;br /&gt;
&lt;br /&gt;
In classical makefiles dependencies are bound to prerequisites and are declared next to the rules. In our build system the prerequisites are the modules and this makes building the &amp;quot;real&amp;quot; prerequisites (libraries, generated headers etc.) a side effect of the formal prerequisites. So the build system can&amp;#039;t check if needed prerequisites are there, it relies on the developers ability to guide it through the directory hierarchy. In short words: side effects are not conductive to stability. Everybody who writes code knows this. And makefiles are code also.&lt;br /&gt;
&lt;br /&gt;
Consider the following module dependencies of external modules:&lt;br /&gt;
&lt;br /&gt;
[[File:external_part.png]]&lt;br /&gt;
&lt;br /&gt;
The module &amp;quot;lucene&amp;quot; has a dependency on the module &amp;quot;expat&amp;quot;. If the developer had forgotten to specify this dependency in the &amp;quot;lucene&amp;quot; module&amp;#039;s build.lst file, a full build would break only if it tried to build lucene before &amp;quot;neon&amp;quot; or &amp;quot;openssl&amp;quot;. These modules depend on &amp;quot;expat&amp;quot; also and so would trigger a build of &amp;quot;expat&amp;quot;. If that happened before the build would proceed to &amp;quot;lucene&amp;quot;,  the build would have delivered the desired prerequisites, the libraries and headers from expat, as a side effect. So it wouldn&amp;#039;t break. But the build order of modules without a dependency between them is undefined, so it&amp;#039;s just by chance if the build breaks or not. This problem exists for all the &amp;gt;200 modules in our build system. As the declaration of dependencies is not done in the same file as the declaration of the build rules, the system is more prone to inconsistent specifications than a system where both are declared in the same file and at the same place. &lt;br /&gt;
&lt;br /&gt;
All in all it is practically impossible to find out if the specified dependencies are sufficient to provide all the necessary prerequisites for the targets in a particular module. The only way to check that is trying, but as it has been shown in the example, even a successful build is not a proof for complete dependencies. A necessary prerequisite might have been built as a side effect of the particular build order or because other targets, that have been built in a parallel process, had a dependency on the module delivering this prerequisite.&lt;br /&gt;
&lt;br /&gt;
Back to the &amp;quot;classical&amp;quot; makefile syntax. Simply put it consists of the basic elements targets, prerequisite, build rules. &lt;br /&gt;
&lt;br /&gt;
In a non-recursive build system where all of these definitions are collected in a single process, an analogue mistake to the missing dependency of the &amp;quot;lucene&amp;quot; example would be to forget to include the makefile for the prerequisites that are built in the &amp;quot;expat&amp;quot; module. Then the build tool does not know the rule to build them. If includes are done in the central makefile only, there is no possible side effect that could add this missing rule under some different conditions - a clean build including &amp;quot;lucene&amp;quot; but not including the &amp;quot;expat&amp;quot; makefile(s) will break always. So a stable build requires that the make files of all smallest build units shall be included into one central makefile. Each of these smallest build units must be tested to work in case all &amp;quot;external&amp;quot; prerequisites are present.&lt;br /&gt;
&lt;br /&gt;
In conclusion the biggest problems in our build system are that its dependency level (modules) does not match the target and prerequisites level (files) and that the declaration of the targets and prerequisites is done in different files. Besides that, the other mentioned problems of recursive make systems still are present. Some of them appear in a special way and also some new problems are found: &lt;br /&gt;
&lt;br /&gt;
*Directories and modules are the smallest units known to the build tool (build.pl) and in some cases this creates bottlenecks in the build. These bottlenecks lead to the mentioned mediocre ability to perform parallel builds or proceed after errors. Sometimes only one make process is running even if 4 or 8 processes have been allowed to tun. &lt;br /&gt;
*Only a few prerequisites (generated headers) exist for compiling C++ source files and they can be built comparably early. Without the artificial requirement that code in a module can&amp;#039;t be built before the “prerequisite modules” have been built and all of its output and its headers have been delivered, we could run hundreds of compilation threads in parallel most of the time. We also could compile as much files as possible even if a few of them compile with errors. &lt;br /&gt;
*A “build –all” takes quite some time even if nothing needs to be built. This is a problem especially on Windows where file system traversal and creation of processes are more expensive than on unixoid file systems. On the same hardware and with local disk space a Windows build of OOo that just checks dependencies but builds nothing takes 3-4 times as much as a Linux build.&lt;br /&gt;
&lt;br /&gt;
*The “omitting dependencies or intentionally build less” hack has two implementation in our system: &lt;br /&gt;
**Build single modules instead of using “build –all”. While this is fine in many cases (though a little bit cumbersome if more than one module is involved in the code change), it requires special knowledge – the developer does the job of the make tool by evaluating dependencies in his brain. &lt;br /&gt;
**Not taking headers of other modules into account when creating dependency files for source files. Again this works if the developer explicitly knows what needs to be rebuilt manually, but fails otherwise. This is considered to be a very bad practice. Usually a “make -t” is used to overrule make&amp;#039;s derivation of what to build, but unfortunately the bad performance of a source tree traversal in our build system makes that unpopular. &lt;br /&gt;
*Manual interventions into the build process are a frequent source of errors which may lead to corrupt or incomplete builds. In result manual rebuilds (or in case the “special knowledge” about what to rebuild is not available, complete rebuilds) are required at times. &lt;br /&gt;
*In case the number of files to rebuild manually becomes very large, the “fix” is that the output of all modules “above” the module containing the offending change is discarded, thus building much more than necessary. &lt;br /&gt;
*As the makefile does not have the complete information, a “make clean” does not work well always and requires manual works done in several steps. &lt;br /&gt;
*In a build process with a complete set of dependencies all dependencies are evaluated only once. This means also that each file that appears in the graph is “stat”ed once only. In our system the same dependencies are evaluated again and again (if we don&amp;#039;t use the bad hack “module internal header dependencies”). This makes the build slower, especially on Windows. It doesn&amp;#039;t hurt a clean build that much, but it hurts the build times in the daily development turnaround builds.&lt;br /&gt;
&lt;br /&gt;
= How to fix that?  =&lt;br /&gt;
&lt;br /&gt;
We tried to find ways to overcome the mentioned problems. There are some things to consider: &lt;br /&gt;
&lt;br /&gt;
*&amp;quot;Classical&amp;quot; non-recursive makefiles also offer ways to add instability by giving incomplete information. As discussed in the analysis of the current build system, a clean build will work always (and only) in case all necessary makefiles have been included and so rules for all targets to be built have been specified. But if only rules have been specified completely, but some prerequisites have not been declared, rebuilds will not be executed properly, as dependencies are missing. Detecting this kind of instability is also hard, so a better build system should try to avoid that this can happen.&lt;br /&gt;
*Building only parts is a bad idea if the result is meant to have a quality that can be tested, but it is still a valid request if e.g. a particular file just should be compiled. A “classical” non-recursive make where the sub-makefiles can&amp;#039;t be used separately does not allow to do that easily. &lt;br /&gt;
*As all makefiles are loaded into the same process, it needs a concept to keep the overview. The sub makefiles should be as simple as possible and – as all software - without a good design the build system itself may become a big ball of mud. &lt;br /&gt;
*In big projects people fear that throwing all dependencies, targets and rules into one process can create performance or memory problems. &lt;br /&gt;
*Another important point that we need to consider is that a migration path from the current to a new or improved build system is needed. We need to convert modules one by one, as we don&amp;#039;t have the man power to convert all modules at once in a short time frame but OTOH don&amp;#039;t want to maintain two parallel sets of makefiles over several months. &lt;br /&gt;
*A special problem in our build is the presence of generated headers. One might think that generated headers are just like other prerequisites, but they aren&amp;#039;t because there are so much of them. If there was only one generated header next to a C++ source file, it could be added to the Makefile, together with the rule to generate it. But we have several thousand headers that are searched for in all include directories, so that before the header is created we not even know the exact path name of it. In our current build system we just hide that behind a recursive build where the module providing the generated headers must be built before the modules that use them. This is achieved by adding explicit module dependencies. In a build system that relies on a complete dependency tree there must be a way to insert dependencies dynamically at runtime of the make process.&lt;br /&gt;
&lt;br /&gt;
Getting the dependencies right is crucial for the stability of the build. So it would be great if a build system would force the developers to add dependencies explicitly as rarely as possible and instead of that generate the necessary information automatically from the makefiles or the sources. &lt;br /&gt;
&lt;br /&gt;
== CMake  ==&lt;br /&gt;
&lt;br /&gt;
CMake is a build system that first just looks like a replacement for GNU autotools, in particular automake and libtool. And in fact it configures the build system in a comparable way and creates (exports to) makefiles runnable on a particular system from generic CMake makefiles. An important difference is that CMake does more than to adjust system dependent parts like libraries and path names. It also takes part in the dependency evaluation and helps to overcome the build stability problem mentioned above. As targets and dependencies and so the CMake makefiles may change over time, CMake stays in the loop and checks the build system for changes in every run. An interesting feature of CMake is that it can export to makefiles for a lot of “back ends”, not only GNU Make, but also vcproj files for building with Visual Studio. [Remark: I chose the term &amp;quot;exports to&amp;quot; as it is a one-way process; there is no way back that would merge in changes made in the &amp;quot;native&amp;quot; makefiles into the CMake makefiles.]&lt;br /&gt;
&lt;br /&gt;
CMake still creates (exports to) recursive makefiles, but by evaluating the dependencies of all targets in the creation step, which itself is done in a single process, it is able to create a stable order for the recursive calls. A further improvement to our current build system is that dependencies are specified in the same files as the targets and rules. So CMake fixes the most important problem (unstable builds), but because the build itself is carried out by recursive calls, it doesn&amp;#039;t address the other mentioned problems. So on Linux, where CMake uses GNU Make to perform the build, it does not offer any advantages over a “native” non-recursive GNU Make approach. &lt;br /&gt;
&lt;br /&gt;
Switching to CMake would have some further drawbacks. &lt;br /&gt;
&lt;br /&gt;
CMake builds can be started only from one dedicated directory, the working directory where all intermediate makefiles have been created and form the recursive build tree. It is possible to build a particular target, but it must be specified with the symbolic name it got in the build system and the popular build request “build all targets in one module” requires several build steps using explicit target names or some scripting. This is not an OOo specific issues, it was already criticized on the CMake mailing list by developers from other projects using CMake.&lt;br /&gt;
&lt;br /&gt;
The biggest problem of a switch to CMake besides the ones already mentioned is that it does not offer a migration path for us. Switching our build system to CMake would require a one shot conversion, including parallel maintenance of makefiles for the whole duration of the switch (that is estimated to last for several months). There is no maintainable way to plug CMake builds of single modules into a build controlled by build.pl until all modules have been converted and then just add a top level CMake file on top. The CMake files we have to create will look different when called from a top level CMake file than if they are a top level makefile themselves. &lt;br /&gt;
&lt;br /&gt;
On Windows CMake allows to build in a native shell and even inside the Microsoft IDE. Similar support exists for XCode on the Mac. This has not been evaluated in close detail until now, as we lacked the necessary time. First attempts revealed that even if a build worked on Linux it still needed some tweaking to let it run in the Visual Studio IDE. The &amp;quot;write once, debug everywhere&amp;quot; nightmare can&amp;#039;t be excluded. Building in a native shell might be faster than building in a Cygwin shell, but from past experience we hesitate to go for a native Windows tool chain as a replacement for the typical Unix tools like grep, cat, tr, sed etc., tools that we will need for the multitude of custom targets in our build. &lt;br /&gt;
&lt;br /&gt;
But there is another reason why building in a Cygwin shell might be better than building in a native shell. &lt;br /&gt;
Our current plan is not to touch the packaging process (a huge system of perl scripts and configuration files) at all and just change its &amp;quot;launchpad&amp;quot; from dmake to something else. This requires to stay with Cygwin.&lt;br /&gt;
&lt;br /&gt;
So it looks that for CMake builds outside of an IDE we would go for GNU Make files on all platforms, using Cygwin on Windows, but then again the benefit of CMake is not that large (the same as on Linux). An IDE could be used in the daily developer work, so this would be the situation where CMake would give the biggest benefit.&lt;br /&gt;
&lt;br /&gt;
== A new approach with GNU Make  ==&lt;br /&gt;
&lt;br /&gt;
We have thought about a build system that not only gives stable builds, but also overcomes the other mentioned problems. It also should still allow the popular “one module” build without tedious procedures. &lt;br /&gt;
&lt;br /&gt;
As in CMake there will be a top-level makefile. But different to CMake, this makefile will not call “make” for the child make files, it will include (“load”) them. From benchmarks and measurements we concluded that this will not create scalability or memory consumption problems. For convenience reasons the included makefiles are planned to reflect the module structure of our project. But this is not required, we could create any &amp;quot;module&amp;quot; structure we wanted. The key to that ability is that we create a makefile for every target (a library, a resource file, a bunch of generated header files etc.) and then group targets together to &amp;quot;modules&amp;quot; by including the makefile of the single targets. This grouping can be changed easily later on, but for the time being going with our current modules seemed to be appropriate.&lt;br /&gt;
&lt;br /&gt;
A single “make” call can be done on the top level makefile as well as on each of the module make files. The latter will evaluate complete header dependencies, but only module internal link dependencies (same as today when single modules are built), the former always will work on the complete dependency tree. Making a single target will require actions like that in CMake (&amp;quot;make $TARGETNAME&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
With very simple additional makefiles any combination of modules can be built together. This leaves a lot of flexibility for future development.&lt;br /&gt;
&lt;br /&gt;
We have chosen GNU Make for several reasons: &lt;br /&gt;
&lt;br /&gt;
*the GNU tool chain has the best possible platform support &lt;br /&gt;
*it is well known by many people since many years &lt;br /&gt;
*it already has been used for non-recursive build systems successfully &lt;br /&gt;
*it has some features that help to work with huge and complicated dependencies: &lt;br /&gt;
**“eval” keyword that allows to use multiple line macros in every place &lt;br /&gt;
**variables that are local for a particular target&amp;lt;br&amp;gt; &lt;br /&gt;
**ability to restart dependency evaluation after building targets&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here&amp;#039;s an example that shows the value of &amp;quot;eval&amp;quot;. The macro defines some variables with a prefix passed in as an argument. This doesn&amp;#039;t work without the &amp;quot;eval&amp;quot; function. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#$(call vars, vars-prefix, file-list)&lt;br /&gt;
define vars &lt;br /&gt;
  $1_foo = $(filter %.foo,$2)&lt;br /&gt;
  $1_bar = $(filter %.bar,$2)&lt;br /&gt;
endef &lt;br /&gt;
&lt;br /&gt;
#doesn&amp;#039;t work: $(call vars,myvars,ooo.foo ooo.bar oops.foo oops.bar)&lt;br /&gt;
$(eval $(call vars,myvars,ooo.foo ooo.bar oops.foo oops.bar)) &lt;br /&gt;
&lt;br /&gt;
show-vars: &lt;br /&gt;
	# $(myvars_foo)&lt;br /&gt;
	# $(myvars_bar)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
It shows the result: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
$ make&lt;br /&gt;
# ooo.foo oops.foo&lt;br /&gt;
# ooo.bar oops.bar&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
So &amp;quot;eval&amp;quot; allows for much more powerful macros.&lt;br /&gt;
&lt;br /&gt;
The classical way to write makefiles is specifying targets, their prerequisites (thus creating dependencies on them) and rules how to build the targets from the prerequisites. Even in a non-recursive build system it is quite possible to add instability (build works by luck in one scenario, but breaks in another one) by forgetting to specify dependencies. Our approach uses a higher abstraction level that avoids these kinds of mistakes. The mentioned special GNU Make features enabled us to implement such an approach. Especially the “eval” function is extremely helpful. &lt;br /&gt;
&lt;br /&gt;
“eval” is a comparably new feature in GNU Make (it was added in version 3.80). Its purpose is to feed text directly into the make parser. This allows to overcome the limitation that macros are not allowed to expand to multiple lines at the top parsing level. An “eval” always expands to zero lines, regardless of the number of lines the “called” macro has. “eval” also allows to dynamically feed the parser from arbitrary sources, not only with what is written down in the makefile at execution time. &lt;br /&gt;
&lt;br /&gt;
In this new build system, that now exists as a prototype on Linux and Windows and is in the works for Mac OSX and Solaris, a developer does not explicitly write down the dependencies and rules, he requests a service from the build system, e.g. “add a library to the build”, “add a C++ object file to a library”, “add a link library prerequisite to a library”. Each of these service operations is written as a macro that adds the necessary targets, creates the necessary dependencies and provides the corresponding rules. Requesting these services is done by evaluating macro calls (“$(eval $(call MYMACRO( MYPARAMS)))”). Most of the time a developer shouldn&amp;#039;t be forced to add dependencies manually. [Remark: our current prototype uses these &amp;quot;raw&amp;quot; macro calls. If we wanted, we could wrap them behind a more user friendly syntax. Even a makefile generator or a declarative wrapper are possible.]&lt;br /&gt;
&lt;br /&gt;
A particular problem in our builds is header generation. Some headers are created from other files (sdi, idl). We also “deliver” headers from their original location to a commonly accessed place. This is just another kind of header generation, the delivered headers are created by copy operations. So we can say that every header that is not taken from inside a module is a generated one. The new build system approach automatically adds dependencies that ensure that such headers have been created before the sources including them will be built. It does not require to specify a dependency for that explicitly, the build system takes this information from other targets and prerequisites (e.g. the libraries a target library links against) and takes care for them in the corresponding requested build system service. &lt;br /&gt;
&lt;br /&gt;
As the new system still works on modules, it is possible to build only single modules with GNU Make while still all other modules are built with dmake – we have a very simple migration path. We can convert one module after another and kick build.pl out once the last makefile.mk has been replaced by a GNU Makefile.&lt;br /&gt;
&lt;br /&gt;
== Comparison of GNU Make and CMake based build system  ==&lt;br /&gt;
&lt;br /&gt;
We developed two prototypes with CMake and a build system based on GNUMake that were able to build parts of OOo. We mainly looked on the C/C++ part of our sources. CMake already has built-in targets for them, for the GNUMake system we developed a set of macros that cover rules, prerequisites and dependencies. The project make files for the two systems have a comparable style and complexity.&lt;br /&gt;
&lt;br /&gt;
We have a lot of other targets to build, but their dependencies and rules usually are not very complicated and they don&amp;#039;t add as much to the depth of our dependency tree and the total build time as the C/C++ sources. They also are much less platform dependent than the compiling and linking of C++ sources. This stuff would be &amp;quot;custom targets&amp;quot; in CMake where all rules have to be defined by the developers, so it wouldn&amp;#039;t be less work in CMake than in GNUMake. Both prototypes already contain some of them.&lt;br /&gt;
&lt;br /&gt;
It seems that in case of custom targets in CMake dependencies always must be specified explicitly. In the GNU Make based system we can apply the same concepts that we used for C++ sources and that enabled us to specify dependencies inside the macros. Here the GNU Make based approach uses a higher abstraction level for the user provided makefiles. This allows to prevent a lot of possible errors that can happen if makefiles are written in the &amp;quot;classical&amp;quot; way. We didn&amp;#039;t see a way to implement something similar with CMake as it lacks some of the necessary features.&lt;br /&gt;
&lt;br /&gt;
The new GNU Make based build system will solve &amp;#039;&amp;#039;&amp;#039;all&amp;#039;&amp;#039;&amp;#039; of the listed recursive-make problems. In case it disables current working procedures, it offers usable workarounds (e.g. using “make -t” to avoid builds without full dependencies). In short words: &lt;br /&gt;
&lt;br /&gt;
*it creates stable builds with reliable dependencies; &lt;br /&gt;
*it allows optimal parallelization; &lt;br /&gt;
*it always builds as much as possible even if build breakages happen and therefore minimizes the number and length of compile-fix-recompile cycles; &lt;br /&gt;
*it shortens the time for “do nothing” builds as much as possible as it minimizes the number of file stats (this effect is already visible by just using a few modules); &lt;br /&gt;
*rebuilds just work in the shortest possible time even without special knowledge.&lt;br /&gt;
&lt;br /&gt;
The CMake system solves the stability problem, but it doesn&amp;#039;t solve it as complete as the GNU Make based system because it requires to add dependencies manually much more often. So it is still possible to have builds running by luck just because the prerequisite behind a missing dependency was accidentally built by another part of the build tree before. &lt;br /&gt;
&lt;br /&gt;
We don&amp;#039;t have a migration path for CMake, but we have a perfect and simple one for the GNU Make build system. &lt;br /&gt;
&lt;br /&gt;
CMake makes it harder to work in the module based way that many developers are used to. There is no problem to do that with our GNU Make based system. &lt;br /&gt;
&lt;br /&gt;
CMake gives a benefit for the daily developer work on Windows. OTOH it seems probable to work with an IDE and the GNU Make based build system also (using the “external build tool” feature of the IDE). We need more time to evaluate how to provide a solution that is ready to use without manual tweaking.&lt;br /&gt;
&lt;br /&gt;
In Hamburg we already build from more than one code repository into a common output directory. In future we might want to split our code repository into even more pieces, but the basic problem already exists now where we have only two of them. &lt;br /&gt;
&lt;br /&gt;
In our GNU Make based build system we can choose the top level directories and make all other paths relative to it. We have a source directory, a working directory (that will contain all generated files and so replaces the module local output folders) and an output directory (nowadays called “solver”). Every makefile that has access to the folder containing the build system macros can deliver into the same output directory. So we don&amp;#039;t see a problem to adjust the build system for the requirement of several source roots in combination with several final products generated from a common working directory. We also maintain the module structure of our current build system that already has proven to be able to cope with several source trees. &lt;br /&gt;
&lt;br /&gt;
CMake sets some additional hurdles as there always is a &amp;quot;root&amp;quot; CMakeLists.txt that controls the others that themselves can&amp;#039;t be used standalone. This “one makefile tree, one workdir, one project” approach requires that we will have several root makefiles that will have some common content. CMake also somewhat destroys the module oriented system we have nowadays as the makefiles can&amp;#039;t be used separately. So all in all it can be expected that CMake will create more problems on the way, though it does not seem to be impossible. It&amp;#039;s hard to quantify that without trying.&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/RDF_metadata&amp;diff=161934</id>
		<title>Documentation/DevGuide/OfficeDev/RDF metadata</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/RDF_metadata&amp;diff=161934"/>
		<updated>2010-03-31T17:05:54Z</updated>

		<summary type="html">&lt;p&gt;Mst: add note about document URI&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/OfficeDevTOC&lt;br /&gt;
|OfficeDev2b=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/OfficeDev/OpenOffice.org Single Sign-On API&lt;br /&gt;
|NextPage=Documentation/DevGuide/Text/Text Documents&lt;br /&gt;
}}&lt;br /&gt;
{{Documentation/DevGuideLanguages|Documentation/DevGuide/OfficeDev/{{SUBPAGENAME}}}}&lt;br /&gt;
{{DISPLAYTITLE:RDF metadata}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;idltopic&amp;gt;com.sun.star.rdf&amp;lt;/idltopic&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ODF 1.2 introduces a new metadata mechanism based on RDF.&lt;br /&gt;
RDF expands to Resource Description Framework, and is an W3C standard.&lt;br /&gt;
Please refer to the W3C for information about RDF:&lt;br /&gt;
http://www.w3.org/RDF/&lt;br /&gt;
&lt;br /&gt;
Especially the first 2 sections of the RDF Primer are required reading&lt;br /&gt;
for understanding the (really quite simple) basic concepts of the RDF data model:&lt;br /&gt;
[http://www.w3.org/TR/rdf-primer/  RDF Primer]&lt;br /&gt;
&lt;br /&gt;
If you like reading an in-depth specification, please refer to:&lt;br /&gt;
[http://www.w3.org/TR/rdf-concepts/  RDF Concepts and Abstract Syntax]&lt;br /&gt;
&lt;br /&gt;
If you are interested in some motivational use cases, and an overview of the basic design from the ODF perspective, have a look at the&lt;br /&gt;
[http://www.oasis-open.org/committees/download.php/34796/09-10-22-ODF-Metadata-Examples.odt  ODF Metadata examples document].&lt;br /&gt;
&lt;br /&gt;
The {{PRODUCTNAME}} implementation of the RDF data model lives in the&lt;br /&gt;
&amp;lt;idlmodule&amp;gt;com.sun.star.rdf&amp;lt;/idlmodule&amp;gt; module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Nodes &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XNode;com.sun.star.rdf.XResource&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
First, there are the basic RDF &amp;#039;&amp;#039;node&amp;#039;&amp;#039; types:&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!RDF node type&lt;br /&gt;
!Interface&lt;br /&gt;
!Service&lt;br /&gt;
|-&lt;br /&gt;
|node&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|literal&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XLiteral&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.Literal&amp;lt;/idl&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|resource&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XResource&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|URI&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.URI&amp;lt;/idl&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|blank node&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XBlankNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.BlankNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XNode&lt;br /&gt;
{&lt;br /&gt;
    [readonly, attribute] string StringValue;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The interface &amp;lt;idls&amp;gt;com.sun.star.rdf.XResource&amp;lt;/idls&amp;gt; is only necessary to separate the literal, which is not a &amp;#039;&amp;#039;resource&amp;#039;&amp;#039;, from the blank node and URI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Literals &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XLiteral;com.sun.star.rdf.Literal&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Literals are represented by the service &amp;lt;idl&amp;gt;com.sun.star.rdf.Literal&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XLiteral : XNode&lt;br /&gt;
{&lt;br /&gt;
    [readonly, attribute] string Value;&lt;br /&gt;
    [readonly, attribute] string Language;&lt;br /&gt;
    [readonly, attribute] XURI   Datatype;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
service Literal : XLiteral&lt;br /&gt;
{&lt;br /&gt;
    create( [in] string Value );&lt;br /&gt;
&lt;br /&gt;
    createWithType( [in] string Value, [in] XURI Type );&lt;br /&gt;
&lt;br /&gt;
    createWithLanguage( [in] string Value, [in] string Language );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This service has three constructors, one for every distinct kind of literal in RDF.&lt;br /&gt;
&lt;br /&gt;
The simplest kind of literal is a plain value.&lt;br /&gt;
&lt;br /&gt;
A literal may also have a data type, which is represented by an URI.&lt;br /&gt;
Such literals are called &amp;#039;&amp;#039;typed literals&amp;#039;&amp;#039;.&lt;br /&gt;
The [http://www.w3.org/TR/xmlschema-2/  W3C XMLSchema Part 2] specification contains several widely used data types such as numbers, booleans, dates, and many more.&lt;br /&gt;
&lt;br /&gt;
It is also possible to create a literal with a specific language.&lt;br /&gt;
This makes it possible to have a multi-lingual RDF graph, where statements are repeated with the same subject and predicate, but different objects that contain the same text content in different languages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== URIs &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XURI;com.sun.star.rdf.URI&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
In RDF, URIs are used to denote resources.&lt;br /&gt;
URIs may be used as subjects or objects of a statement.&lt;br /&gt;
In contrast with other node types, URIs may also be used as the predicate of a statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
service URI : XURI&lt;br /&gt;
{&lt;br /&gt;
    create( [in] string Value )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
&lt;br /&gt;
    createNS( [in] string Namespace, [in] string LocalName )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
&lt;br /&gt;
    createKnown( [in] short Id )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The URI service has constructors &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:create&amp;lt;/idlm&amp;gt; and &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:createNS&amp;lt;/idlm&amp;gt;, which allow for creating an URI from a string.&lt;br /&gt;
These two constructors are very similar, but &amp;lt;code&amp;gt;createNS&amp;lt;/code&amp;gt; allows splitting the parameter into two parts, which may be useful when creating several URIs that share a prefix because they belong to the same vocabulary.&lt;br /&gt;
&lt;br /&gt;
There are many URIs that are well-known because they are specified in various standards, such as XMLSchema datatypes, RDF concepts, OWL, and ODF.&lt;br /&gt;
&lt;br /&gt;
There is a convenient way to construct such URIs:&lt;br /&gt;
using the &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:createKnown&amp;lt;/idlm&amp;gt; constructor, together with constants from the &amp;lt;idl&amp;gt;com.sun.star.rdf.URIs&amp;lt;/idl&amp;gt; constant group.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XURI xContentFile = rdf.URI.createKnown(rdf.URIs.ODF_CONTENTFILE);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, string literals would be easier to use, but unfortunately UNO IDL does not permit them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blank nodes &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XBlankNode;com.sun.star.rdf.BlankNode&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The other kind of RDF node is the blank node, which is a resource, but in contrast to an URI, is not unique.&lt;br /&gt;
Because blank nodes are not unique, you should only construct them with the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:createBlankNode&amp;lt;/idlm&amp;gt; method, not with the service constructor, and you should never use a blank node with a different repository than the one that created it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Statements &amp;lt;idltopic&amp;gt;com.sun.star.rdf.Statement&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Using these nodes, RDF &amp;#039;&amp;#039;statements&amp;#039;&amp;#039; can be constructed, which are&lt;br /&gt;
basically subject-predicate-object triples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
struct Statement&lt;br /&gt;
{&lt;br /&gt;
    XResource Subject;&lt;br /&gt;
    XURI      Predicate;&lt;br /&gt;
    XNode     Object;&lt;br /&gt;
    /// the named graph that contains this statement, or &amp;lt;NULL/&amp;gt;.&lt;br /&gt;
    XURI      Graph;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The subject of the statement is the entity that the statement is about.&lt;br /&gt;
The subject must be either an URI or a blank node; a literal is not allowed.&lt;br /&gt;
&lt;br /&gt;
The predicate denotes what the relationship between the subject and the object is.&lt;br /&gt;
In order to ensure that statements have a machine-readable semantics, only URIs are allowed as predicates.&lt;br /&gt;
&lt;br /&gt;
The object of the statement may be any kind of RDF node.&lt;br /&gt;
&lt;br /&gt;
If you put many statements together, and these statements share subjects and objects, then you will get a RDF &amp;#039;&amp;#039;graph&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Graphs &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Graphs are represented by the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idl&amp;gt;.&lt;br /&gt;
As the name implies, a &amp;#039;&amp;#039;named graph&amp;#039;&amp;#039; has a name, which is a URI.&lt;br /&gt;
This is why the &amp;lt;idls&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idls&amp;gt; interface inherits from &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | This means that you can easily create RDF statements about named graphs.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XNamedGraph : XURI&lt;br /&gt;
{&lt;br /&gt;
    XURI getName();&lt;br /&gt;
&lt;br /&gt;
    void clear()&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void addStatement(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void removeStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ getStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The individual methods will be discussed in subsequent sections.&lt;br /&gt;
There is no service for a named graph, because named graphs always live in a repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Repository &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XRepository;com.sun.star.rdf.XRepositorySupplier&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The repository is the centerpiece of the RDF API.&lt;br /&gt;
It is defined in the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XRepository&amp;lt;/idl&amp;gt;, and the service &amp;lt;idl&amp;gt;com.sun.star.rdf.Repository&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XRepository&lt;br /&gt;
{&lt;br /&gt;
    XBlankNode createBlankNode();&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph importGraph([in] /*FileFormat*/ short Format,&lt;br /&gt;
                [in] io::XInputStream InStream,&lt;br /&gt;
                [in] XURI GraphName, [in] XURI BaseURI)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                datatransfer::UnsupportedFlavorException,&lt;br /&gt;
                container::ElementExistException, ParseException,&lt;br /&gt;
                RepositoryException, io::IOException );&lt;br /&gt;
&lt;br /&gt;
    void exportGraph([in] /*FileFormat*/ short Format,&lt;br /&gt;
                [in] io::XOutputStream OutStream,&lt;br /&gt;
                [in] XURI GraphName, [in] XURI BaseURI)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                datatransfer::UnsupportedFlavorException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException,&lt;br /&gt;
                io::IOException );&lt;br /&gt;
&lt;br /&gt;
    sequence&amp;lt;XURI&amp;gt; getGraphNames()&lt;br /&gt;
        raises( RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph getGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph createGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::ElementExistException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void destroyGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ getStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;SELECT&amp;quot; query.&lt;br /&gt;
    XQuerySelectResult querySelect([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;CONSTRUCT&amp;quot; query.&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ queryConstruct([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;ASK&amp;quot; query.&lt;br /&gt;
    boolean queryAsk([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A RDF repository is basically a set of named RDF graphs.&lt;br /&gt;
The names of the contained graphs can be retrieved via the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getGraphNames&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
An individual graph can be retrieved via the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getGraph&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
&lt;br /&gt;
A repository may be created as a stand-alone service, or it may be associated with a loaded ODF document.&lt;br /&gt;
The graphs in a document repository correspond to streams in an ODF package, and thus the graph names consist of the URI of the ODF package and the relative path of the stream within the package.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | For a document repository, you should not call the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:createGraph&amp;lt;/idlm&amp;gt;, &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:destroyGraph&amp;lt;/idlm&amp;gt; or &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:importGraph&amp;lt;/idlm&amp;gt; methods directly; instead, call the respective methods of &amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;, as described below.}}&lt;br /&gt;
&lt;br /&gt;
Services that provide an RDF repository implement the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XRepositorySupplier&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XRepositorySupplier&lt;br /&gt;
{&lt;br /&gt;
    XRepository getRDFRepository();&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Document integration &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess;com.sun.star.rdf.XMetadatable&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The other main part of the RDF API is the integration in document models.&lt;br /&gt;
This purpose is served by the interface&lt;br /&gt;
&amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;, which is implemented&lt;br /&gt;
by the &amp;lt;code&amp;gt;Model&amp;lt;/code&amp;gt; service of documents.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | Because this interface derives from &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt;, you can easily create RDF statements about the document.}}&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Do not use methods such as &amp;lt;idlm&amp;gt;com.sun.star.frame.XModel:getURL&amp;lt;/idlm&amp;gt; to create a URI for the document.  Always use the &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt; interface of the model when you need the RDF URI for a document.}}&lt;br /&gt;
&lt;br /&gt;
Furthermore, there is the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idl&amp;gt;, which allows document content entities to be used as subjects or objects in the methods that manipulate RDF graphs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XMetadatable : XURI&lt;br /&gt;
{&lt;br /&gt;
    [attribute] beans::StringPair MetadataReference {&lt;br /&gt;
        set raises ( lang::IllegalArgumentException );&lt;br /&gt;
    };&lt;br /&gt;
&lt;br /&gt;
    void ensureMetadataReference();&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | The &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; interface has an attribute &amp;lt;idlm&amp;gt;com.sun.star.rdf.XMetadatable:MetadataReference&amp;lt;/idlm&amp;gt;.  This attribute is only meant to be set by import filters, such as the ODF import filter.  Extensions should use &amp;lt;idlm&amp;gt;com.sun.star.rdf.XMetadatable:ensureMetadataReference&amp;lt;/idlm&amp;gt;, or simply use a &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; as a parameter to &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:addStatement&amp;lt;/idlm&amp;gt;, which will automatically call &amp;lt;code&amp;gt;ensureMetadataReference()&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
=== Annotated text range &amp;lt;idltopic&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The service &amp;lt;idl&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idl&amp;gt; allows to add annotations to a range of text.&lt;br /&gt;
The range of text must be contained within a single paragraph, and annotations must not overlap (but they are allowed to nest).&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | In essence, this is a &amp;lt;code&amp;gt;span&amp;lt;/code&amp;gt; with a &amp;lt;code&amp;gt;xml:id&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    text.XText = xDoc.getText();&lt;br /&gt;
    text.XTextCursor xCursor = ... // position to where you want the annotation&lt;br /&gt;
    Object xMeta = xDocFactory.createInstance(&lt;br /&gt;
            &amp;quot;com.sun.star.text.InContentMetadata&amp;quot;);&lt;br /&gt;
    text.XTextContent xContent = (text.XTextContent)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XTextContent.class, xMeta);&lt;br /&gt;
    try {&lt;br /&gt;
        xDocText.insertTextContent(xCursor, xMeta, true);&lt;br /&gt;
    } catch (lang.IllegalArgumentException) {&lt;br /&gt;
        // overlap?&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the &amp;lt;code&amp;gt;InContentMetadata&amp;lt;/code&amp;gt; is successfully inserted, you can add metadata by just using it as the subject or object of an RDF statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xMetadatable = (rdf.XMetadatable)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XMetadatable.class, xContent);&lt;br /&gt;
    rdf.XURI xComment = rdf.URI.createKnown(rdf.URIs.RDFS_COMMENT);&lt;br /&gt;
    rdf.XLiteral xObj = rdf.Literal.create(&amp;quot;a most interesting description&amp;quot;);&lt;br /&gt;
    rdf.XNamedGraph xGraph = xDocRepository.getGraph(xMyGraphURI);&lt;br /&gt;
    xGraph.addStatement(xMetadatable, xComment, xObj);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Metadata field &amp;lt;idltopic&amp;gt;com.sun.star.text.MetadataField&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
There is a new text field that is explicitly designed for being used with RDF metadata: &amp;lt;idl&amp;gt;com.sun.star.text.textfield.MetadataField&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In contrast with the &amp;lt;code&amp;gt;InContentMetadata&amp;lt;/code&amp;gt;, where an &amp;#039;&amp;#039;existing&amp;#039;&amp;#039; range of text is being annotated with additional metadata, the metadata field allows for text content to be &amp;#039;&amp;#039;generated from&amp;#039;&amp;#039; RDF metadata.&lt;br /&gt;
&lt;br /&gt;
For example, a bibliography extension could use a metadata field to insert a citation.&lt;br /&gt;
The user could tell the bibliography extension which citation format should be used, and the extension will generate the content of all the citation metadata fields based on this choice.&lt;br /&gt;
The extension may use some bibliography database that may also be stored as an RDF graph.&lt;br /&gt;
&lt;br /&gt;
Metadata fields must be contained within a single paragraph, and must not overlap (but they are allowed to nest).&lt;br /&gt;
&lt;br /&gt;
To enable generating the content, the metadata field implements the &amp;lt;idl&amp;gt;com.sun.star.text.XText&amp;lt;/idl&amp;gt; interface.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    text.XTextContent xMetafield = ... ; // get an inserted metadata field&lt;br /&gt;
    text.XText xMetafieldText = (text.XText)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XText.class, xMetafield);&lt;br /&gt;
    xMetafieldText.setString(&amp;quot;&amp;quot;); // clear the field: delete all content&lt;br /&gt;
    text.XTextCursor xCursor = xMetafieldText.createCursor();&lt;br /&gt;
    xMetafieldText.insertString(xCursor, &amp;quot;field content&amp;quot;, true);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, you can not just insert plain text, but everything that you could insert into a paragraph.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    xCursor.gotoEnd(false);&lt;br /&gt;
    text.XTextContent xFootnote = ... ; // create and init footnote&lt;br /&gt;
    xMetafieldText.insertTextContent(xCursor, xFootnote, false);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Metadata fields have another interesting aspect: they can have a &amp;#039;&amp;#039;prefix&amp;#039;&amp;#039; and/or &amp;#039;&amp;#039;suffix&amp;#039;&amp;#039; text that is taken from one of the RDF graphs in the document.&lt;br /&gt;
In this way you can create a metadata field with text content that is automatically displayed (non-editable) based on an RDF statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xMetafield = ... ; // get an inserted metadata field&lt;br /&gt;
    rdf.XNamedGraph xGraph = xDocRepository.getGraph(xMyGraphURI);&lt;br /&gt;
    rdf.XURI xPrefix = rdf.URI.createKnown(rdf.URIs.ODF_PREFIX);&lt;br /&gt;
    xGraph.addStatement(xMetafield, xPrefix,&lt;br /&gt;
        &amp;quot;this text will be displayed as prefix content of the field&amp;quot;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Other document entities ===&lt;br /&gt;
&lt;br /&gt;
In addition to the annotated text range and the metadata field, other document content entities implement the &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; interface as well.&lt;br /&gt;
These entities can thus be used in RDF statements.&lt;br /&gt;
The list of entities which can be thus annotated will grow in future releases of {{PRODUCTNAME}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Adding metadata to a document ===&lt;br /&gt;
&lt;br /&gt;
The metadata support in ODF 1.2 allows for adding RDF graphs to an ODF package.&lt;br /&gt;
Every RDF graph is stored as an &amp;lt;code&amp;gt;RDF/XML&amp;lt;/code&amp;gt; stream in the package.&lt;br /&gt;
&lt;br /&gt;
There is a special RDF graph called the &amp;#039;&amp;#039;metadata manifest&amp;#039;&amp;#039;.&lt;br /&gt;
This RDF graph belongs to a document and enumerates all the files relevant for metadata, such as the individual RDF/XML files.&lt;br /&gt;
&lt;br /&gt;
This manifest graph is maintained by {{PRODUCTNAME}} itself; extension authors should not modify it directly, but use the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In order to isolate different metadata users, every extension that wants to add metadata should create one (or several) own RDF graph(s).&lt;br /&gt;
It is recommended to give the new graphs a &amp;#039;&amp;#039;type&amp;#039;&amp;#039; that identifies what kind of information is contained, especially if a well-known RDF vocabulary is used.&lt;br /&gt;
With the method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:addMetadataFile&amp;lt;/idlm&amp;gt;, you can specify as many types as you want for a graph.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    try {&lt;br /&gt;
        rdf.XURI xGraphName = xDMA.addMetadataFile(&amp;quot;myextension/mygraph.rdf&amp;quot;,&lt;br /&gt;
            new rdf.XURI[] { xType } );&lt;br /&gt;
        rdf.XNamedGraph xGraph = xDMA.getRDFRepository().getGraph(xGraphName);&lt;br /&gt;
    } catch (container.ElementExistException e) { // filename exists?&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note| Choose a stream name that is unlikely to conflict with other extensions.  The preferred suffix is &amp;lt;code&amp;gt;.rdf&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Tip | The method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:importMetadataFile&amp;lt;/idlm&amp;gt; allows to import an existing RDF/XML file into the document RDF repository.}}&lt;br /&gt;
&lt;br /&gt;
Now you can simply insert RDF statements into the graph:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xElement = ...; // some document content entity&lt;br /&gt;
    rdf.XURI xLabel = rdf.URI.createKnown(rdf.URIs.RDFS_LABEL);&lt;br /&gt;
    rdf.XLiteral xObj = rdf.Literal.create(&amp;quot;a most interesting description&amp;quot;);&lt;br /&gt;
    xGraph.addStatement(xElement, xLabel, xObj);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reading metadata from a document ===&lt;br /&gt;
&lt;br /&gt;
In order to read metadata that is stored in a document, query the RDF repository of the document.&lt;br /&gt;
&lt;br /&gt;
There are basically two ways to do this.&lt;br /&gt;
One way is to use the getter methods at the named graph and repository interfaces.&lt;br /&gt;
The method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getStatements&amp;lt;/idlm&amp;gt; will return all statements in any graph in the repository that match the given parameters.&lt;br /&gt;
But note that this is not necessarily what you want.&lt;br /&gt;
Usually, an extension is only interested in the metadata it has itself inserted.&lt;br /&gt;
Thus it is better to first get the graph(s) that the extension is interested in, and then only query those graphs via &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:getStatements&amp;lt;/idlm&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    rdf.XURI[] GraphNames = xDMA.getMetadataGraphsWithType(xType);&lt;br /&gt;
    for (rdf.XURI xGraphName : GraphNames) {&lt;br /&gt;
        rdf.XNamedGraph xGraph = xDMA.getRDFRepository().getGraph(xGraphName);&lt;br /&gt;
        // replace nulls with interesting URIs&lt;br /&gt;
        container.XEnumeration xResult = xGraph.getStatements(null, null, null);&lt;br /&gt;
        while (xResult.hasMoreElements()) {&lt;br /&gt;
            rdf.Statement stmt = (rdf.Statement) xResult.nextElement();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The other way of getting information out of the repository is via the [http://www.w3.org/TR/rdf-sparql-query/  SPARQL query language].&lt;br /&gt;
&lt;br /&gt;
The same considerations as above apply: by default, the result will contain information from all graphs in the repository.&lt;br /&gt;
You can restrict the graphs via the &amp;lt;code&amp;gt;GRAPH&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;FROM&amp;lt;/code&amp;gt; clauses.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    rdf.XURI[] GraphNames = xDMA.getMetadataGraphsWithType(xType);&lt;br /&gt;
    if (GraphNames.length &amp;gt; 0) {&lt;br /&gt;
        String graphName = GraphNames[0].getStringValue();&lt;br /&gt;
        String query =&lt;br /&gt;
            &amp;quot;CONSTRUCT { ?s ?p ?o } WHERE { GRAPH &amp;lt;&amp;quot;&lt;br /&gt;
                + graphName + &amp;quot;&amp;gt; { ?s ?p ?o } . }&amp;quot;;&lt;br /&gt;
        container.XEnumeration xResult =&lt;br /&gt;
            xDMA.getRDFRepository().queryConstruct(query);&lt;br /&gt;
        while (xResult.hasMoreElements()) {&lt;br /&gt;
            rdf.Statement stmt = (rdf.Statement) xResult.nextElement();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Besides the &amp;lt;code&amp;gt;CONSTRUCT&amp;lt;/code&amp;gt; query shown above, there are also the methods &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:querySelect&amp;lt;/idlm&amp;gt;, which returns a table of results, and &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:queryAsk&amp;lt;/idlm&amp;gt;, which simply returns a &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt;.&lt;br /&gt;
There are different methods for the different query types because the return types differ.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Always use the query method that matches the query type.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mapping from URIs to document entities &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess;com.sun.star.rdf.XMetadatable&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Note that for a document content annotation the RDF repository will only give you an URI in its results, not the actual document content entity.&lt;br /&gt;
In order to map the URI to the document entity, use the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:getElementByURI&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xElemURI = ... // query the document repository&lt;br /&gt;
    rdf.XMetadatable xElement = xDMA.getElementByURI(xElemURI);&lt;br /&gt;
    text.XTextContent xElemContent = (text.XTextContent)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XTextContent.class, xElement);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Tip | You can check if an URI refers to a document entity: it does if it has as a prefix the &amp;#039;&amp;#039;base URI&amp;#039;&amp;#039; of the document, which is available as the &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt; implementation of the document model.  But please keep in mind that the document entity does not need to exist, because it may have been removed from the document.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Removing metadata from a document ===&lt;br /&gt;
&lt;br /&gt;
The named graph supports the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:removeStatements&amp;lt;/idlm&amp;gt; method, which removes all statements that match the parameters from the graph.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | There is no update operation.  If you want to update an RDF statement, you have to remove the existing statement, and insert a new one.}}&lt;br /&gt;
&lt;br /&gt;
Also, there is the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:clear&amp;lt;/idlm&amp;gt; method, which is equivalent to &amp;lt;code&amp;gt;removeStatements(null, null, null)&amp;lt;/code&amp;gt;, and removes all statements from the graph.&lt;br /&gt;
&lt;br /&gt;
For removing whole metadata streams from an ODF document, there is the method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:removeMetadataFile&amp;lt;/idlm&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Vocabulary ===&lt;br /&gt;
&lt;br /&gt;
Some notes on RDF vocabularies; of course, a comprehensive discussion of RDF design is beyond the scope of this guide.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Do not use URIs based on the document base URI as properties.  Properties should be independent of the location of the document.}}&lt;br /&gt;
&lt;br /&gt;
An important question when adding RDF metadata is: which vocabulary do you use?&lt;br /&gt;
First, it is usually a good idea to re-use an existing vocabulary.&lt;br /&gt;
This will improve the chances that other software, which also supports the existing vocabulary, is able to do something interesting and useful with the metadata that is added.&lt;br /&gt;
&lt;br /&gt;
For example, for basic datatypes you can use the types specified in [http://www.w3.org/TR/xmlschema-2/  W3C XMLSchema Part 2].&lt;br /&gt;
A well-known vocabulary for expressing social relations is [http://www.foaf-project.org/  Friend-of-a-Friend].&lt;br /&gt;
A directory of RDF schemata can be found at [http://schemaweb.info/  SchemaWeb].&lt;br /&gt;
Another useful resource might be [http://dbpedia.org/  DBPedia].&lt;br /&gt;
&lt;br /&gt;
If you do not find an existing vocabulary that matches your use case, here are some hints for designing your own:&lt;br /&gt;
The most important thing is that the URIs should really be unique.&lt;br /&gt;
If you have a DNS domain, then that is quite easy to achieve: use URIs like &amp;lt;code&amp;gt;http://example.com/myvocabulary/v1.0/foo&amp;lt;/code&amp;gt;.&lt;br /&gt;
It is probably a good idea to use a versioned namespace prefix like &amp;lt;code&amp;gt;http://example.com/myvocabulary/v1.0/&amp;lt;/code&amp;gt; for all URIs.&lt;br /&gt;
The version component allows you to evolve the vocabulary to meet future requirements.&lt;br /&gt;
Now you can use the versioned namespace prefix to denote the format, i.e., as a type for your metadata stream, making it easy to find.&lt;br /&gt;
You can also create an actual HTML page to document the vocabulary at the URI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Status ===&lt;br /&gt;
&lt;br /&gt;
As of OOo version 3.2, RDF metadata is only supported in writer documents.&lt;br /&gt;
The generic RDF parts of the API are all implemented.&lt;br /&gt;
The document integration parts are not yet completely implemented:&lt;br /&gt;
most elements do not support the &amp;lt;code&amp;gt;xml:id&amp;lt;/code&amp;gt; that is required for use with RDF.&lt;br /&gt;
The following elements can be annotated:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!ODF element&lt;br /&gt;
!Service&lt;br /&gt;
!description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:p&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Paragraph&amp;lt;/idl&amp;gt;&lt;br /&gt;
|paragraph&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:h&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Paragraph&amp;lt;/idl&amp;gt;&lt;br /&gt;
|heading&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:bookmark&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Bookmark&amp;lt;/idl&amp;gt;&lt;br /&gt;
|bookmark&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:bookmark-start&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Bookmark&amp;lt;/idl&amp;gt;&lt;br /&gt;
|bookmark&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:meta&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idl&amp;gt;&lt;br /&gt;
|annotated text range&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:meta-field&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.textfield.MetadataField&amp;lt;/idl&amp;gt;&lt;br /&gt;
|text field whose content is generated from metadata&lt;br /&gt;
|}&lt;br /&gt;
&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>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer/HallOfFame&amp;diff=156743</id>
		<title>Writer/HallOfFame</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer/HallOfFame&amp;diff=156743"/>
		<updated>2010-02-09T10:23:55Z</updated>

		<summary type="html">&lt;p&gt;Mst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Writer Project}}&lt;br /&gt;
&lt;br /&gt;
== Code Contributions ==&lt;br /&gt;
&lt;br /&gt;
We have received patch contributions from other developers and&lt;br /&gt;
some really nice features as well. Credit where credit is due as they&lt;br /&gt;
say.&lt;br /&gt;
&lt;br /&gt;
=== Open Source Spellchecker ===&lt;br /&gt;
&lt;br /&gt;
When OpenOffice.org was made an&lt;br /&gt;
Open Source project by releasing the former StarOffice code base we&lt;br /&gt;
still had a proprietary third-party spell checker that still could be used in&lt;br /&gt;
StarOffice, but we didn&amp;#039;t have linguistic tools usable in Open&lt;br /&gt;
Source.  So we where very pleased that &amp;#039;&amp;#039;&amp;#039;Kevin B. Hendricks&amp;#039;&amp;#039;&amp;#039; implemented&lt;br /&gt;
them using the well known Open Source project myspell and so added a&lt;br /&gt;
great component to OpenOffice.org. Later on &amp;#039;&amp;#039;&amp;#039;Laszlo Nemeth&amp;#039;&amp;#039;&amp;#039; extended&lt;br /&gt;
myspell to hunspell and reworked the OpenOffice.org integration of it.&lt;br /&gt;
&lt;br /&gt;
=== WordPerfect import filter ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;William Lachance&amp;#039;&amp;#039;&amp;#039;, the author of the [http://libwpd.sourceforge.net/  libwpd]&lt;br /&gt;
library, created an awesome filter for OpenOffice.org based on this&lt;br /&gt;
library.&lt;br /&gt;
&lt;br /&gt;
=== Support for Smart Tags in Writer ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Jakob Lechner&amp;#039;&amp;#039;&amp;#039; designed&lt;br /&gt;
and implemented a UNO interface for the interaction between Writer&lt;br /&gt;
and external Smart Tag libraries.  Thanks also to his employer&lt;br /&gt;
[http://www.fabalabs.org/  Fabalabs] who sponsored this&lt;br /&gt;
implementation by allowing Jakob to work on it during his company&lt;br /&gt;
working time.&lt;br /&gt;
&lt;br /&gt;
=== New implementation for &amp;#039;&amp;#039;notes&amp;#039;&amp;#039; (comments) ===&lt;br /&gt;
&lt;br /&gt;
[http://www.sept-solutions.de  Maximilian Odendahl] joined us&lt;br /&gt;
in a &amp;#039;&amp;#039;Google Summer Of Code&amp;#039;&amp;#039; project to implement a new improved notes user interface for OpenOffice.org 3.0.&lt;br /&gt;
Since then he is still working on further &amp;#039;&amp;#039;notes&amp;#039;&amp;#039; improvements and also contributed a lot of other bug fixes and improvements.&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/RDF_metadata&amp;diff=156663</id>
		<title>Documentation/DevGuide/OfficeDev/RDF metadata</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/RDF_metadata&amp;diff=156663"/>
		<updated>2010-02-08T12:22:18Z</updated>

		<summary type="html">&lt;p&gt;Mst: uncomment all idltopic elements&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/OfficeDevTOC&lt;br /&gt;
|OfficeDev2b=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/OfficeDev/OpenOffice.org Single Sign-On API&lt;br /&gt;
|NextPage=Documentation/DevGuide/Text/Text Documents&lt;br /&gt;
}}&lt;br /&gt;
{{Documentation/DevGuideLanguages|Documentation/DevGuide/OfficeDev/{{SUBPAGENAME}}}}&lt;br /&gt;
{{DISPLAYTITLE:RDF metadata}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;idltopic&amp;gt;com.sun.star.rdf&amp;lt;/idltopic&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ODF 1.2 introduces a new metadata mechanism based on RDF.&lt;br /&gt;
RDF expands to Resource Description Framework, and is an W3C standard.&lt;br /&gt;
Please refer to the W3C for information about RDF:&lt;br /&gt;
http://www.w3.org/RDF/&lt;br /&gt;
&lt;br /&gt;
Especially the first 2 sections of the RDF Primer are required reading&lt;br /&gt;
for understanding the (really quite simple) basic concepts of the RDF data model:&lt;br /&gt;
[http://www.w3.org/TR/rdf-primer/  RDF Primer]&lt;br /&gt;
&lt;br /&gt;
If you like reading an in-depth specification, please refer to:&lt;br /&gt;
[http://www.w3.org/TR/rdf-concepts/  RDF Concepts and Abstract Syntax]&lt;br /&gt;
&lt;br /&gt;
If you are interested in some motivational use cases, and an overview of the basic design from the ODF perspective, have a look at the&lt;br /&gt;
[http://www.oasis-open.org/committees/download.php/34796/09-10-22-ODF-Metadata-Examples.odt  ODF Metadata examples document].&lt;br /&gt;
&lt;br /&gt;
The {{PRODUCTNAME}} implementation of the RDF data model lives in the&lt;br /&gt;
&amp;lt;idlmodule&amp;gt;com.sun.star.rdf&amp;lt;/idlmodule&amp;gt; module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Nodes &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XNode;com.sun.star.rdf.XResource&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
First, there are the basic RDF &amp;#039;&amp;#039;node&amp;#039;&amp;#039; types:&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!RDF node type&lt;br /&gt;
!Interface&lt;br /&gt;
!Service&lt;br /&gt;
|-&lt;br /&gt;
|node&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|literal&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XLiteral&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.Literal&amp;lt;/idl&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|resource&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XResource&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|URI&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.URI&amp;lt;/idl&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|blank node&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XBlankNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.BlankNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XNode&lt;br /&gt;
{&lt;br /&gt;
    [readonly, attribute] string StringValue;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The interface &amp;lt;idls&amp;gt;com.sun.star.rdf.XResource&amp;lt;/idls&amp;gt; is only necessary to separate the literal, which is not a &amp;#039;&amp;#039;resource&amp;#039;&amp;#039;, from the blank node and URI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Literals &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XLiteral;com.sun.star.rdf.Literal&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Literals are represented by the service &amp;lt;idl&amp;gt;com.sun.star.rdf.Literal&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XLiteral : XNode&lt;br /&gt;
{&lt;br /&gt;
    [readonly, attribute] string Value;&lt;br /&gt;
    [readonly, attribute] string Language;&lt;br /&gt;
    [readonly, attribute] XURI   Datatype;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
service Literal : XLiteral&lt;br /&gt;
{&lt;br /&gt;
    create( [in] string Value );&lt;br /&gt;
&lt;br /&gt;
    createWithType( [in] string Value, [in] XURI Type );&lt;br /&gt;
&lt;br /&gt;
    createWithLanguage( [in] string Value, [in] string Language );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This service has three constructors, one for every distinct kind of literal in RDF.&lt;br /&gt;
&lt;br /&gt;
The simplest kind of literal is a plain value.&lt;br /&gt;
&lt;br /&gt;
A literal may also have a data type, which is represented by an URI.&lt;br /&gt;
Such literals are called &amp;#039;&amp;#039;typed literals&amp;#039;&amp;#039;.&lt;br /&gt;
The [http://www.w3.org/TR/xmlschema-2/  W3C XMLSchema Part 2] specification contains several widely used data types such as numbers, booleans, dates, and many more.&lt;br /&gt;
&lt;br /&gt;
It is also possible to create a literal with a specific language.&lt;br /&gt;
This makes it possible to have a multi-lingual RDF graph, where statements are repeated with the same subject and predicate, but different objects that contain the same text content in different languages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== URIs &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XURI;com.sun.star.rdf.URI&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
In RDF, URIs are used to denote resources.&lt;br /&gt;
URIs may be used as subjects or objects of a statement.&lt;br /&gt;
In contrast with other node types, URIs may also be used as the predicate of a statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
service URI : XURI&lt;br /&gt;
{&lt;br /&gt;
    create( [in] string Value )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
&lt;br /&gt;
    createNS( [in] string Namespace, [in] string LocalName )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
&lt;br /&gt;
    createKnown( [in] short Id )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The URI service has constructors &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:create&amp;lt;/idlm&amp;gt; and &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:createNS&amp;lt;/idlm&amp;gt;, which allow for creating an URI from a string.&lt;br /&gt;
These two constructors are very similar, but &amp;lt;code&amp;gt;createNS&amp;lt;/code&amp;gt; allows splitting the parameter into two parts, which may be useful when creating several URIs that share a prefix because they belong to the same vocabulary.&lt;br /&gt;
&lt;br /&gt;
There are many URIs that are well-known because they are specified in various standards, such as XMLSchema datatypes, RDF concepts, OWL, and ODF.&lt;br /&gt;
&lt;br /&gt;
There is a convenient way to construct such URIs:&lt;br /&gt;
using the &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:createKnown&amp;lt;/idlm&amp;gt; constructor, together with constants from the &amp;lt;idl&amp;gt;com.sun.star.rdf.URIs&amp;lt;/idl&amp;gt; constant group.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XURI xContentFile = rdf.URI.createKnown(rdf.URIs.ODF_CONTENTFILE);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, string literals would be easier to use, but unfortunately UNO IDL does not permit them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blank nodes &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XBlankNode;com.sun.star.rdf.BlankNode&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The other kind of RDF node is the blank node, which is a resource, but in contrast to an URI, is not unique.&lt;br /&gt;
Because blank nodes are not unique, you should only construct them with the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:createBlankNode&amp;lt;/idlm&amp;gt; method, not with the service constructor, and you should never use a blank node with a different repository than the one that created it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Statements &amp;lt;idltopic&amp;gt;com.sun.star.rdf.Statement&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Using these nodes, RDF &amp;#039;&amp;#039;statements&amp;#039;&amp;#039; can be constructed, which are&lt;br /&gt;
basically subject-predicate-object triples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
struct Statement&lt;br /&gt;
{&lt;br /&gt;
    XResource Subject;&lt;br /&gt;
    XURI      Predicate;&lt;br /&gt;
    XNode     Object;&lt;br /&gt;
    /// the named graph that contains this statement, or &amp;lt;NULL/&amp;gt;.&lt;br /&gt;
    XURI      Graph;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The subject of the statement is the entity that the statement is about.&lt;br /&gt;
The subject must be either an URI or a blank node; a literal is not allowed.&lt;br /&gt;
&lt;br /&gt;
The predicate denotes what the relationship between the subject and the object is.&lt;br /&gt;
In order to ensure that statements have a machine-readable semantics, only URIs are allowed as predicates.&lt;br /&gt;
&lt;br /&gt;
The object of the statement may be any kind of RDF node.&lt;br /&gt;
&lt;br /&gt;
If you put many statements together, and these statements share subjects and objects, then you will get a RDF &amp;#039;&amp;#039;graph&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Graphs &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Graphs are represented by the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idl&amp;gt;.&lt;br /&gt;
As the name implies, a &amp;#039;&amp;#039;named graph&amp;#039;&amp;#039; has a name, which is a URI.&lt;br /&gt;
This is why the &amp;lt;idls&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idls&amp;gt; interface inherits from &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | This means that you can easily create RDF statements about named graphs.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XNamedGraph : XURI&lt;br /&gt;
{&lt;br /&gt;
    XURI getName();&lt;br /&gt;
&lt;br /&gt;
    void clear()&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void addStatement(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void removeStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ getStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The individual methods will be discussed in subsequent sections.&lt;br /&gt;
There is no service for a named graph, because named graphs always live in a repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Repository &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XRepository;com.sun.star.rdf.XRepositorySupplier&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The repository is the centerpiece of the RDF API.&lt;br /&gt;
It is defined in the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XRepository&amp;lt;/idl&amp;gt;, and the service &amp;lt;idl&amp;gt;com.sun.star.rdf.Repository&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XRepository&lt;br /&gt;
{&lt;br /&gt;
    XBlankNode createBlankNode();&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph importGraph([in] /*FileFormat*/ short Format,&lt;br /&gt;
                [in] io::XInputStream InStream,&lt;br /&gt;
                [in] XURI GraphName, [in] XURI BaseURI)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                datatransfer::UnsupportedFlavorException,&lt;br /&gt;
                container::ElementExistException, ParseException,&lt;br /&gt;
                RepositoryException, io::IOException );&lt;br /&gt;
&lt;br /&gt;
    void exportGraph([in] /*FileFormat*/ short Format,&lt;br /&gt;
                [in] io::XOutputStream OutStream,&lt;br /&gt;
                [in] XURI GraphName, [in] XURI BaseURI)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                datatransfer::UnsupportedFlavorException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException,&lt;br /&gt;
                io::IOException );&lt;br /&gt;
&lt;br /&gt;
    sequence&amp;lt;XURI&amp;gt; getGraphNames()&lt;br /&gt;
        raises( RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph getGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph createGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::ElementExistException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void destroyGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ getStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;SELECT&amp;quot; query.&lt;br /&gt;
    XQuerySelectResult querySelect([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;CONSTRUCT&amp;quot; query.&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ queryConstruct([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;ASK&amp;quot; query.&lt;br /&gt;
    boolean queryAsk([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A RDF repository is basically a set of named RDF graphs.&lt;br /&gt;
The names of the contained graphs can be retrieved via the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getGraphNames&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
An individual graph can be retrieved via the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getGraph&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
&lt;br /&gt;
A repository may be created as a stand-alone service, or it may be associated with a loaded ODF document.&lt;br /&gt;
The graphs in a document repository correspond to streams in an ODF package, and thus the graph names consist of the URI of the ODF package and the relative path of the stream within the package.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | For a document repository, you should not call the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:createGraph&amp;lt;/idlm&amp;gt;, &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:destroyGraph&amp;lt;/idlm&amp;gt; or &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:importGraph&amp;lt;/idlm&amp;gt; methods directly; instead, call the respective methods of &amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;, as described below.}}&lt;br /&gt;
&lt;br /&gt;
Services that provide an RDF repository implement the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XRepositorySupplier&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XRepositorySupplier&lt;br /&gt;
{&lt;br /&gt;
    XRepository getRDFRepository();&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Document integration &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess;com.sun.star.rdf.XMetadatable&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The other main part of the RDF API is the integration in document models.&lt;br /&gt;
This purpose is served by the interface&lt;br /&gt;
&amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;, which is implemented&lt;br /&gt;
by the &amp;lt;code&amp;gt;Model&amp;lt;/code&amp;gt; service of documents.&lt;br /&gt;
&lt;br /&gt;
Furthermore, there is the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idl&amp;gt;, which allows document content entities to be used as subjects or objects in the methods that manipulate RDF graphs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XMetadatable : XURI&lt;br /&gt;
{&lt;br /&gt;
    [attribute] beans::StringPair MetadataReference {&lt;br /&gt;
        set raises ( lang::IllegalArgumentException );&lt;br /&gt;
    };&lt;br /&gt;
&lt;br /&gt;
    void ensureMetadataReference();&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | The &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; interface has an attribute &amp;lt;idlm&amp;gt;com.sun.star.rdf.XMetadatable:MetadataReference&amp;lt;/idlm&amp;gt;.  This attribute is only meant to be set by import filters, such as the ODF import filter.  Extensions should use &amp;lt;idlm&amp;gt;com.sun.star.rdf.XMetadatable:ensureMetadataReference&amp;lt;/idlm&amp;gt;, or simply use a &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; as a parameter to &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:addStatement&amp;lt;/idlm&amp;gt;, which will automatically call &amp;lt;code&amp;gt;ensureMetadataReference()&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Annotated text range &amp;lt;idltopic&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The service &amp;lt;idl&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idl&amp;gt; allows to add annotations to a range of text.&lt;br /&gt;
The range of text must be contained within a single paragraph, and annotations must not overlap (but they are allowed to nest).&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | In essence, this is a &amp;lt;code&amp;gt;span&amp;lt;/code&amp;gt; with a &amp;lt;code&amp;gt;xml:id&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    text.XText = xDoc.getText();&lt;br /&gt;
    text.XTextCursor xCursor = ... // position to where you want the annotation&lt;br /&gt;
    Object xMeta = xDocFactory.createInstance(&lt;br /&gt;
            &amp;quot;com.sun.star.text.InContentMetadata&amp;quot;);&lt;br /&gt;
    text.XTextContent xContent = (text.XTextContent)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XTextContent.class, xMeta);&lt;br /&gt;
    try {&lt;br /&gt;
        xDocText.insertTextContent(xCursor, xMeta, true);&lt;br /&gt;
    } catch (lang.IllegalArgumentException) {&lt;br /&gt;
        // overlap?&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the &amp;lt;code&amp;gt;InContentMetadata&amp;lt;/code&amp;gt; is successfully inserted, you can add metadata by just using it as the subject or object of an RDF statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xMetadatable = (rdf.XMetadatable)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XMetadatable.class, xContent);&lt;br /&gt;
    rdf.XURI xComment = rdf.URI.createKnown(rdf.URIs.RDFS_COMMENT);&lt;br /&gt;
    rdf.XLiteral xObj = rdf.Literal.create(&amp;quot;a most interesting description&amp;quot;);&lt;br /&gt;
    rdf.XNamedGraph xGraph = xDocRepository.getGraph(xMyGraphURI);&lt;br /&gt;
    xGraph.addStatement(xMetadatable, xComment, xObj);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Metadata field &amp;lt;idltopic&amp;gt;com.sun.star.text.MetadataField&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
There is a new text field that is explicitly designed for being used with RDF metadata: &amp;lt;idl&amp;gt;com.sun.star.text.textfield.MetadataField&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In contrast with the &amp;lt;code&amp;gt;InContentMetadata&amp;lt;/code&amp;gt;, where an &amp;#039;&amp;#039;existing&amp;#039;&amp;#039; range of text is being annotated with additional metadata, the metadata field allows for text content to be &amp;#039;&amp;#039;generated from&amp;#039;&amp;#039; RDF metadata.&lt;br /&gt;
&lt;br /&gt;
For example, a bibliography extension could use a metadata field to insert a citation.&lt;br /&gt;
The user could tell the bibliography extension which citation format should be used, and the extension will generate the content of all the citation metadata fields based on this choice.&lt;br /&gt;
The extension may use some bibliography database that may also be stored as an RDF graph.&lt;br /&gt;
&lt;br /&gt;
Metadata fields must be contained within a single paragraph, and must not overlap (but they are allowed to nest).&lt;br /&gt;
&lt;br /&gt;
To enable generating the content, the metadata field implements the &amp;lt;idl&amp;gt;com.sun.star.text.XText&amp;lt;/idl&amp;gt; interface.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    text.XTextContent xMetafield = ... ; // get an inserted metadata field&lt;br /&gt;
    text.XText xMetafieldText = (text.XText)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XText.class, xMetafield);&lt;br /&gt;
    xMetafieldText.setString(&amp;quot;&amp;quot;); // clear the field: delete all content&lt;br /&gt;
    text.XTextCursor xCursor = xMetafieldText.createCursor();&lt;br /&gt;
    xMetafieldText.insertString(xCursor, &amp;quot;field content&amp;quot;, true);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, you can not just insert plain text, but everything that you could insert into a paragraph.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    xCursor.gotoEnd(false);&lt;br /&gt;
    text.XTextContent xFootnote = ... ; // create and init footnote&lt;br /&gt;
    xMetafieldText.insertTextContent(xCursor, xFootnote, false);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Metadata fields have another interesting aspect: they can have a &amp;#039;&amp;#039;prefix&amp;#039;&amp;#039; and/or &amp;#039;&amp;#039;suffix&amp;#039;&amp;#039; text that is taken from one of the RDF graphs in the document.&lt;br /&gt;
In this way you can create a metadata field with text content that is automatically displayed (non-editable) based on an RDF statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xMetafield = ... ; // get an inserted metadata field&lt;br /&gt;
    rdf.XNamedGraph xGraph = xDocRepository.getGraph(xMyGraphURI);&lt;br /&gt;
    rdf.XURI xPrefix = rdf.URI.createKnown(rdf.URIs.ODF_PREFIX);&lt;br /&gt;
    xGraph.addStatement(xMetafield, xPrefix,&lt;br /&gt;
        &amp;quot;this text will be displayed as prefix content of the field&amp;quot;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Other document entities ===&lt;br /&gt;
&lt;br /&gt;
In addition to the annotated text range and the metadata field, other document content entities implement the &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; interface as well.&lt;br /&gt;
These entities can thus be used in RDF statements.&lt;br /&gt;
The list of entities which can be thus annotated will grow in future releases of {{PRODUCTNAME}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Adding metadata to a document ===&lt;br /&gt;
&lt;br /&gt;
The metadata support in ODF 1.2 allows for adding RDF graphs to an ODF package.&lt;br /&gt;
Every RDF graph is stored as an &amp;lt;code&amp;gt;RDF/XML&amp;lt;/code&amp;gt; stream in the package.&lt;br /&gt;
&lt;br /&gt;
There is a special RDF graph called the &amp;#039;&amp;#039;metadata manifest&amp;#039;&amp;#039;.&lt;br /&gt;
This RDF graph belongs to a document and enumerates all the files relevant for metadata, such as the individual RDF/XML files.&lt;br /&gt;
&lt;br /&gt;
This manifest graph is maintained by {{PRODUCTNAME}} itself; extension authors should not modify it directly, but use the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In order to isolate different metadata users, every extension that wants to add metadata should create one (or several) own RDF graph(s).&lt;br /&gt;
It is recommended to give the new graphs a &amp;#039;&amp;#039;type&amp;#039;&amp;#039; that identifies what kind of information is contained, especially if a well-known RDF vocabulary is used.&lt;br /&gt;
With the method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:addMetadataFile&amp;lt;/idlm&amp;gt;, you can specify as many types as you want for a graph.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    try {&lt;br /&gt;
        rdf.XURI xGraphName = xDMA.addMetadataFile(&amp;quot;myextension/mygraph.rdf&amp;quot;,&lt;br /&gt;
            new rdf.XURI[] { xType } );&lt;br /&gt;
        rdf.XNamedGraph xGraph = xDMA.getRDFRepository().getGraph(xGraphName);&lt;br /&gt;
    } catch (container.ElementExistException e) { // filename exists?&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note| Choose a stream name that is unlikely to conflict with other extensions.  The preferred suffix is &amp;lt;code&amp;gt;.rdf&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Tip | The method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:importMetadataFile&amp;lt;/idlm&amp;gt; allows to import an existing RDF/XML file into the document RDF repository.}}&lt;br /&gt;
&lt;br /&gt;
Now you can simply insert RDF statements into the graph:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xElement = ...; // some document content entity&lt;br /&gt;
    rdf.XURI xLabel = rdf.URI.createKnown(rdf.URIs.RDFS_LABEL);&lt;br /&gt;
    rdf.XLiteral xObj = rdf.Literal.create(&amp;quot;a most interesting description&amp;quot;);&lt;br /&gt;
    xGraph.addStatement(xElement, xLabel, xObj);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reading metadata from a document ===&lt;br /&gt;
&lt;br /&gt;
In order to read metadata that is stored in a document, query the RDF repository of the document.&lt;br /&gt;
&lt;br /&gt;
There are basically two ways to do this.&lt;br /&gt;
One way is to use the getter methods at the named graph and repository interfaces.&lt;br /&gt;
The method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getStatements&amp;lt;/idlm&amp;gt; will return all statements in any graph in the repository that match the given parameters.&lt;br /&gt;
But note that this is not necessarily what you want.&lt;br /&gt;
Usually, an extension is only interested in the metadata it has itself inserted.&lt;br /&gt;
Thus it is better to first get the graph(s) that the extension is interested in, and then only query those graphs via &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:getStatements&amp;lt;/idlm&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    rdf.XURI[] GraphNames = xDMA.getMetadataGraphsWithType(xType);&lt;br /&gt;
    for (rdf.XURI xGraphName : GraphNames) {&lt;br /&gt;
        rdf.XNamedGraph xGraph = xDMA.getRDFRepository().getGraph(xGraphName);&lt;br /&gt;
        // replace nulls with interesting URIs&lt;br /&gt;
        container.XEnumeration xResult = xGraph.getStatements(null, null, null);&lt;br /&gt;
        while (xResult.hasMoreElements()) {&lt;br /&gt;
            rdf.Statement stmt = (rdf.Statement) xResult.nextElement();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The other way of getting information out of the repository is via the [http://www.w3.org/TR/rdf-sparql-query/  SPARQL query language].&lt;br /&gt;
&lt;br /&gt;
The same considerations as above apply: by default, the result will contain information from all graphs in the repository.&lt;br /&gt;
You can restrict the graphs via the &amp;lt;code&amp;gt;GRAPH&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;FROM&amp;lt;/code&amp;gt; clauses.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    rdf.XURI[] GraphNames = xDMA.getMetadataGraphsWithType(xType);&lt;br /&gt;
    if (GraphNames.length &amp;gt; 0) {&lt;br /&gt;
        String graphName = GraphNames[0].getStringValue();&lt;br /&gt;
        String query =&lt;br /&gt;
            &amp;quot;CONSTRUCT { ?s ?p ?o } WHERE { GRAPH &amp;lt;&amp;quot;&lt;br /&gt;
                + graphName + &amp;quot;&amp;gt; { ?s ?p ?o } . }&amp;quot;;&lt;br /&gt;
        container.XEnumeration xResult =&lt;br /&gt;
            xDMA.getRDFRepository().queryConstruct(query);&lt;br /&gt;
        while (xResult.hasMoreElements()) {&lt;br /&gt;
            rdf.Statement stmt = (rdf.Statement) xResult.nextElement();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Besides the &amp;lt;code&amp;gt;CONSTRUCT&amp;lt;/code&amp;gt; query shown above, there are also the methods &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:querySelect&amp;lt;/idlm&amp;gt;, which returns a table of results, and &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:queryAsk&amp;lt;/idlm&amp;gt;, which simply returns a &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt;.&lt;br /&gt;
There are different methods for the different query types because the return types differ.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Always use the query method that matches the query type.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mapping from URIs to document entities &amp;lt;idltopic&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess;com.sun.star.rdf.XMetadatable&amp;lt;/idltopic&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Note that for a document content annotation the RDF repository will only give you an URI in its results, not the actual document content entity.&lt;br /&gt;
In order to map the URI to the document entity, use the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:getElementByURI&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xElemURI = ... // query the document repository&lt;br /&gt;
    rdf.XMetadatable xElement = xDMA.getElementByURI(xElemURI);&lt;br /&gt;
    text.XTextContent xElemContent = (text.XTextContent)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XTextContent.class, xElement);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Tip | You can check if an URI refers to a document entity: it does if it has as a prefix the &amp;#039;&amp;#039;base URI&amp;#039;&amp;#039; of the document, which is available as the &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt; implementation of the document model.  But please keep in mind that the document entity does not need to exist, because it may have been removed from the document.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Removing metadata from a document ===&lt;br /&gt;
&lt;br /&gt;
The named graph supports the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:removeStatements&amp;lt;/idlm&amp;gt; method, which removes all statements that match the parameters from the graph.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | There is no update operation.  If you want to update an RDF statement, you have to remove the existing statement, and insert a new one.}}&lt;br /&gt;
&lt;br /&gt;
Also, there is the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:clear&amp;lt;/idlm&amp;gt; method, which is equivalent to &amp;lt;code&amp;gt;removeStatements(null, null, null)&amp;lt;/code&amp;gt;, and removes all statements from the graph.&lt;br /&gt;
&lt;br /&gt;
For removing whole metadata streams from an ODF document, there is the method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:removeMetadataFile&amp;lt;/idlm&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Vocabulary ===&lt;br /&gt;
&lt;br /&gt;
Some notes on RDF vocabularies; of course, a comprehensive discussion of RDF design is beyond the scope of this guide.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Do not use URIs based on the document base URI as properties.  Properties should be independent of the location of the document.}}&lt;br /&gt;
&lt;br /&gt;
An important question when adding RDF metadata is: which vocabulary do you use?&lt;br /&gt;
First, it is usually a good idea to re-use an existing vocabulary.&lt;br /&gt;
This will improve the chances that other software, which also supports the existing vocabulary, is able to do something interesting and useful with the metadata that is added.&lt;br /&gt;
&lt;br /&gt;
For example, for basic datatypes you can use the types specified in [http://www.w3.org/TR/xmlschema-2/  W3C XMLSchema Part 2].&lt;br /&gt;
A well-known vocabulary for expressing social relations is [http://www.foaf-project.org/  Friend-of-a-Friend].&lt;br /&gt;
A directory of RDF schemata can be found at [http://schemaweb.info/  SchemaWeb].&lt;br /&gt;
Another useful resource might be [http://dbpedia.org/  DBPedia].&lt;br /&gt;
&lt;br /&gt;
If you do not find an existing vocabulary that matches your use case, here are some hints for designing your own:&lt;br /&gt;
The most important thing is that the URIs should really be unique.&lt;br /&gt;
If you have a DNS domain, then that is quite easy to achieve: use URIs like &amp;lt;code&amp;gt;http://example.com/myvocabulary/v1.0/foo&amp;lt;/code&amp;gt;.&lt;br /&gt;
It is probably a good idea to use a versioned namespace prefix like &amp;lt;code&amp;gt;http://example.com/myvocabulary/v1.0/&amp;lt;/code&amp;gt; for all URIs.&lt;br /&gt;
The version component allows you to evolve the vocabulary to meet future requirements.&lt;br /&gt;
Now you can use the versioned namespace prefix to denote the format, i.e., as a type for your metadata stream, making it easy to find.&lt;br /&gt;
You can also create an actual HTML page to document the vocabulary at the URI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Status ===&lt;br /&gt;
&lt;br /&gt;
As of OOo version 3.2, RDF metadata is only supported in writer documents.&lt;br /&gt;
The generic RDF parts of the API are all implemented.&lt;br /&gt;
The document integration parts are not yet completely implemented:&lt;br /&gt;
most elements do not support the &amp;lt;code&amp;gt;xml:id&amp;lt;/code&amp;gt; that is required for use with RDF.&lt;br /&gt;
The following elements can be annotated:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!ODF element&lt;br /&gt;
!Service&lt;br /&gt;
!description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:p&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Paragraph&amp;lt;/idl&amp;gt;&lt;br /&gt;
|paragraph&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:h&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Paragraph&amp;lt;/idl&amp;gt;&lt;br /&gt;
|heading&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:bookmark&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Bookmark&amp;lt;/idl&amp;gt;&lt;br /&gt;
|bookmark&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:bookmark-start&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Bookmark&amp;lt;/idl&amp;gt;&lt;br /&gt;
|bookmark&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:meta&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idl&amp;gt;&lt;br /&gt;
|annotated text range&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:meta-field&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.textfield.MetadataField&amp;lt;/idl&amp;gt;&lt;br /&gt;
|text field whose content is generated from metadata&lt;br /&gt;
|}&lt;br /&gt;
&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>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/RDF_metadata&amp;diff=156382</id>
		<title>Documentation/DevGuide/OfficeDev/RDF metadata</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/RDF_metadata&amp;diff=156382"/>
		<updated>2010-02-05T17:32:05Z</updated>

		<summary type="html">&lt;p&gt;Mst: hmm... why treat properties specially?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/OfficeDevTOC&lt;br /&gt;
|OfficeDev2b=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/OfficeDev/OpenOffice.org Single Sign-On API&lt;br /&gt;
|NextPage=Documentation/DevGuide/Text/Text Documents&lt;br /&gt;
}}&lt;br /&gt;
{{Documentation/DevGuideLanguages|Documentation/DevGuide/OfficeDev/{{SUBPAGENAME}}}}&lt;br /&gt;
{{DISPLAYTITLE:RDF metadata}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ODF 1.2 introduces a new metadata mechanism based on RDF.&lt;br /&gt;
RDF expands to Resource Description Framework, and is an W3C standard.&lt;br /&gt;
Please refer to the W3C for information about RDF:&lt;br /&gt;
http://www.w3.org/RDF/&lt;br /&gt;
&lt;br /&gt;
Especially the first 2 sections of the RDF Primer are required reading&lt;br /&gt;
for understanding the (really quite simple) basic concepts of the RDF data model:&lt;br /&gt;
[http://www.w3.org/TR/rdf-primer/  RDF Primer]&lt;br /&gt;
&lt;br /&gt;
If you like reading an in-depth specification, please refer to:&lt;br /&gt;
[http://www.w3.org/TR/rdf-concepts/  RDF Concepts and Abstract Syntax]&lt;br /&gt;
&lt;br /&gt;
If you are interested in some motivational use cases, and an overview of the basic design from the ODF perspective, have a look at the&lt;br /&gt;
[http://www.oasis-open.org/committees/download.php/34796/09-10-22-ODF-Metadata-Examples.odt  ODF Metadata examples document].&lt;br /&gt;
&lt;br /&gt;
The {{PRODUCTNAME}} implementation of the RDF data model lives in the&lt;br /&gt;
&amp;lt;idlmodule&amp;gt;com.sun.star.rdf&amp;lt;/idlmodule&amp;gt; module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Nodes ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XNode;com.sun.star.rdf.XResource&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First, there are the basic RDF &amp;#039;&amp;#039;node&amp;#039;&amp;#039; types:&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!RDF node type&lt;br /&gt;
!Interface&lt;br /&gt;
!Service&lt;br /&gt;
|-&lt;br /&gt;
|node&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|literal&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XLiteral&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.Literal&amp;lt;/idl&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|resource&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XResource&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|URI&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.URI&amp;lt;/idl&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|blank node&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XBlankNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.BlankNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XNode&lt;br /&gt;
{&lt;br /&gt;
    [readonly, attribute] string StringValue;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The interface &amp;lt;idls&amp;gt;com.sun.star.rdf.XResource&amp;lt;/idls&amp;gt; is only necessary to separate the literal, which is not a &amp;#039;&amp;#039;resource&amp;#039;&amp;#039;, from the blank node and URI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Literals ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XLiteral;com.sun.star.rdf.Literal&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Literals are represented by the service &amp;lt;idl&amp;gt;com.sun.star.rdf.Literal&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XLiteral : XNode&lt;br /&gt;
{&lt;br /&gt;
    [readonly, attribute] string Value;&lt;br /&gt;
    [readonly, attribute] string Language;&lt;br /&gt;
    [readonly, attribute] XURI   Datatype;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
service Literal : XLiteral&lt;br /&gt;
{&lt;br /&gt;
    create( [in] string Value );&lt;br /&gt;
&lt;br /&gt;
    createWithType( [in] string Value, [in] XURI Type );&lt;br /&gt;
&lt;br /&gt;
    createWithLanguage( [in] string Value, [in] string Language );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This service has three constructors, one for every distinct kind of literal in RDF.&lt;br /&gt;
&lt;br /&gt;
The simplest kind of literal is a plain value.&lt;br /&gt;
&lt;br /&gt;
A literal may also have a data type, which is represented by an URI.&lt;br /&gt;
Such literals are called &amp;#039;&amp;#039;typed literals&amp;#039;&amp;#039;.&lt;br /&gt;
The [http://www.w3.org/TR/xmlschema-2/  W3C XMLSchema Part 2] specification contains several widely used data types such as numbers, booleans, dates, and many more.&lt;br /&gt;
&lt;br /&gt;
It is also possible to create a literal with a specific language.&lt;br /&gt;
This makes it possible to have a multi-lingual RDF graph, where statements are repeated with the same subject and predicate, but different objects that contain the same text content in different languages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== URIs ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XURI;com.sun.star.rdf.URI&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In RDF, URIs are used to denote resources.&lt;br /&gt;
URIs may be used as subjects or objects of a statement.&lt;br /&gt;
In contrast with other node types, URIs may also be used as the predicate of a statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
service URI : XURI&lt;br /&gt;
{&lt;br /&gt;
    create( [in] string Value )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
&lt;br /&gt;
    createNS( [in] string Namespace, [in] string LocalName )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
&lt;br /&gt;
    createKnown( [in] short Id )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The URI service has constructors &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:create&amp;lt;/idlm&amp;gt; and &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:createNS&amp;lt;/idlm&amp;gt;, which allow for creating an URI from a string.&lt;br /&gt;
These two constructors are very similar, but &amp;lt;code&amp;gt;createNS&amp;lt;/code&amp;gt; allows splitting the parameter into two parts, which may be useful when creating several URIs that share a prefix because they belong to the same vocabulary.&lt;br /&gt;
&lt;br /&gt;
There are many URIs that are well-known because they are specified in various standards, such as XMLSchema datatypes, RDF concepts, OWL, and ODF.&lt;br /&gt;
&lt;br /&gt;
There is a convenient way to construct such URIs:&lt;br /&gt;
using the &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:createKnown&amp;lt;/idlm&amp;gt; constructor, together with constants from the &amp;lt;idl&amp;gt;com.sun.star.rdf.URIs&amp;lt;/idl&amp;gt; constant group.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XURI xContentFile = rdf.URI.createKnown(rdf.URIs.ODF_CONTENTFILE);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, string literals would be easier to use, but unfortunately UNO IDL does not permit them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blank nodes ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XBlankNode;com.sun.star.rdf.BlankNode&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The other kind of RDF node is the blank node, which is a resource, but in contrast to an URI, is not unique.&lt;br /&gt;
Because blank nodes are not unique, you should only construct them with the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:createBlankNode&amp;lt;/idlm&amp;gt; method, not with the service constructor, and you should never use a blank node with a different repository than the one that created it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Statements ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.Statement&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using these nodes, RDF &amp;#039;&amp;#039;statements&amp;#039;&amp;#039; can be constructed, which are&lt;br /&gt;
basically subject-predicate-object triples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
struct Statement&lt;br /&gt;
{&lt;br /&gt;
    XResource Subject;&lt;br /&gt;
    XURI      Predicate;&lt;br /&gt;
    XNode     Object;&lt;br /&gt;
    /// the named graph that contains this statement, or &amp;lt;NULL/&amp;gt;.&lt;br /&gt;
    XURI      Graph;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The subject of the statement is the entity that the statement is about.&lt;br /&gt;
The subject must be either an URI or a blank node; a literal is not allowed.&lt;br /&gt;
&lt;br /&gt;
The predicate denotes what the relationship between the subject and the object is.&lt;br /&gt;
In order to ensure that statements have a machine-readable semantics, only URIs are allowed as predicates.&lt;br /&gt;
&lt;br /&gt;
The object of the statement may be any kind of RDF node.&lt;br /&gt;
&lt;br /&gt;
If you put many statements together, and these statements share subjects and objects, then you will get a RDF &amp;#039;&amp;#039;graph&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Graphs ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Graphs are represented by the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idl&amp;gt;.&lt;br /&gt;
As the name implies, a &amp;#039;&amp;#039;named graph&amp;#039;&amp;#039; has a name, which is a URI.&lt;br /&gt;
This is why the &amp;lt;idls&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idls&amp;gt; interface inherits from &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | This means that you can easily create RDF statements about named graphs.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XNamedGraph : XURI&lt;br /&gt;
{&lt;br /&gt;
    XURI getName();&lt;br /&gt;
&lt;br /&gt;
    void clear()&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void addStatement(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void removeStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ getStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The individual methods will be discussed in subsequent sections.&lt;br /&gt;
There is no service for a named graph, because named graphs always live in a repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Repository ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XRepository;com.sun.star.rdf.XRepositorySupplier&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The repository is the centerpiece of the RDF API.&lt;br /&gt;
It is defined in the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XRepository&amp;lt;/idl&amp;gt;, and the service &amp;lt;idl&amp;gt;com.sun.star.rdf.Repository&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XRepository&lt;br /&gt;
{&lt;br /&gt;
    XBlankNode createBlankNode();&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph importGraph([in] /*FileFormat*/ short Format,&lt;br /&gt;
                [in] io::XInputStream InStream,&lt;br /&gt;
                [in] XURI GraphName, [in] XURI BaseURI)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                datatransfer::UnsupportedFlavorException,&lt;br /&gt;
                container::ElementExistException, ParseException,&lt;br /&gt;
                RepositoryException, io::IOException );&lt;br /&gt;
&lt;br /&gt;
    void exportGraph([in] /*FileFormat*/ short Format,&lt;br /&gt;
                [in] io::XOutputStream OutStream,&lt;br /&gt;
                [in] XURI GraphName, [in] XURI BaseURI)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                datatransfer::UnsupportedFlavorException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException,&lt;br /&gt;
                io::IOException );&lt;br /&gt;
&lt;br /&gt;
    sequence&amp;lt;XURI&amp;gt; getGraphNames()&lt;br /&gt;
        raises( RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph getGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph createGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::ElementExistException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void destroyGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ getStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;SELECT&amp;quot; query.&lt;br /&gt;
    XQuerySelectResult querySelect([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;CONSTRUCT&amp;quot; query.&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ queryConstruct([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;ASK&amp;quot; query.&lt;br /&gt;
    boolean queryAsk([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A RDF repository is basically a set of named RDF graphs.&lt;br /&gt;
The names of the contained graphs can be retrieved via the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getGraphNames&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
An individual graph can be retrieved via the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getGraph&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
&lt;br /&gt;
A repository may be created as a stand-alone service, or it may be associated with a loaded ODF document.&lt;br /&gt;
The graphs in a document repository correspond to streams in an ODF package, and thus the graph names consist of the URI of the ODF package and the relative path of the stream within the package.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | For a document repository, you should not call the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:createGraph&amp;lt;/idlm&amp;gt;, &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:destroyGraph&amp;lt;/idlm&amp;gt; or &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:importGraph&amp;lt;/idlm&amp;gt; methods directly; instead, call the respective methods of &amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;, as described below.}}&lt;br /&gt;
&lt;br /&gt;
Services that provide an RDF repository implement the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XRepositorySupplier&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XRepositorySupplier&lt;br /&gt;
{&lt;br /&gt;
    XRepository getRDFRepository();&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Document integration ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess;com.sun.star.rdf.XMetadatable&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The other main part of the RDF API is the integration in document models.&lt;br /&gt;
This purpose is served by the interface&lt;br /&gt;
&amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;, which is implemented&lt;br /&gt;
by the &amp;lt;code&amp;gt;Model&amp;lt;/code&amp;gt; service of documents.&lt;br /&gt;
&lt;br /&gt;
Furthermore, there is the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idl&amp;gt;, which allows document content entities to be used as subjects or objects in the methods that manipulate RDF graphs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XMetadatable : XURI&lt;br /&gt;
{&lt;br /&gt;
    [attribute] beans::StringPair MetadataReference {&lt;br /&gt;
        set raises ( lang::IllegalArgumentException );&lt;br /&gt;
    };&lt;br /&gt;
&lt;br /&gt;
    void ensureMetadataReference();&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | The &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; interface has an attribute &amp;lt;idlm&amp;gt;com.sun.star.rdf.XMetadatable:MetadataReference&amp;lt;/idlm&amp;gt;.  This attribute is only meant to be set by import filters, such as the ODF import filter.  Extensions should use &amp;lt;idlm&amp;gt;com.sun.star.rdf.XMetadatable:ensureMetadataReference&amp;lt;/idlm&amp;gt;, or simply use a &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; as a parameter to &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:addStatement&amp;lt;/idlm&amp;gt;, which will automatically call &amp;lt;code&amp;gt;ensureMetadataReference()&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Annotated text range ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The service &amp;lt;idl&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idl&amp;gt; allows to add annotations to a range of text.&lt;br /&gt;
The range of text must be contained within a single paragraph, and annotations must not overlap (but they are allowed to nest).&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | In essence, this is a &amp;lt;code&amp;gt;span&amp;lt;/code&amp;gt; with a &amp;lt;code&amp;gt;xml:id&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    text.XText = xDoc.getText();&lt;br /&gt;
    text.XTextCursor xCursor = ... // position to where you want the annotation&lt;br /&gt;
    Object xMeta = xDocFactory.createInstance(&lt;br /&gt;
            &amp;quot;com.sun.star.text.InContentMetadata&amp;quot;);&lt;br /&gt;
    text.XTextContent xContent = (text.XTextContent)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XTextContent.class, xMeta);&lt;br /&gt;
    try {&lt;br /&gt;
        xDocText.insertTextContent(xCursor, xMeta, true);&lt;br /&gt;
    } catch (lang.IllegalArgumentException) {&lt;br /&gt;
        // overlap?&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the &amp;lt;code&amp;gt;InContentMetadata&amp;lt;/code&amp;gt; is successfully inserted, you can add metadata by just using it as the subject or object of an RDF statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xMetadatable = (rdf.XMetadatable)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XMetadatable.class, xContent);&lt;br /&gt;
    rdf.XURI xComment = rdf.URI.createKnown(rdf.URIs.RDFS_COMMENT);&lt;br /&gt;
    rdf.XLiteral xObj = rdf.Literal.create(&amp;quot;a most interesting description&amp;quot;);&lt;br /&gt;
    rdf.XNamedGraph xGraph = xDocRepository.getGraph(xMyGraphURI);&lt;br /&gt;
    xGraph.addStatement(xMetadatable, xComment, xObj);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Metadata field ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.text.MetadataField&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a new text field that is explicitly designed for being used with RDF metadata: &amp;lt;idl&amp;gt;com.sun.star.text.textfield.MetadataField&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In contrast with the &amp;lt;code&amp;gt;InContentMetadata&amp;lt;/code&amp;gt;, where an &amp;#039;&amp;#039;existing&amp;#039;&amp;#039; range of text is being annotated with additional metadata, the metadata field allows for text content to be &amp;#039;&amp;#039;generated from&amp;#039;&amp;#039; RDF metadata.&lt;br /&gt;
&lt;br /&gt;
For example, a bibliography extension could use a metadata field to insert a citation.&lt;br /&gt;
The user could tell the bibliography extension which citation format should be used, and the extension will generate the content of all the citation metadata fields based on this choice.&lt;br /&gt;
The extension may use some bibliography database that may also be stored as an RDF graph.&lt;br /&gt;
&lt;br /&gt;
Metadata fields must be contained within a single paragraph, and must not overlap (but they are allowed to nest).&lt;br /&gt;
&lt;br /&gt;
To enable generating the content, the metadata field implements the &amp;lt;idl&amp;gt;com.sun.star.text.XText&amp;lt;/idl&amp;gt; interface.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    text.XTextContent xMetafield = ... ; // get an inserted metadata field&lt;br /&gt;
    text.XText xMetafieldText = (text.XText)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XText.class, xMetafield);&lt;br /&gt;
    xMetafieldText.setString(&amp;quot;&amp;quot;); // clear the field: delete all content&lt;br /&gt;
    text.XTextCursor xCursor = xMetafieldText.createCursor();&lt;br /&gt;
    xMetafieldText.insertString(xCursor, &amp;quot;field content&amp;quot;, true);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, you can not just insert plain text, but everything that you could insert into a paragraph.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    xCursor.gotoEnd(false);&lt;br /&gt;
    text.XTextContent xFootnote = ... ; // create and init footnote&lt;br /&gt;
    xMetafieldText.insertTextContent(xCursor, xFootnote, false);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Metadata fields have another interesting aspect: they can have a &amp;#039;&amp;#039;prefix&amp;#039;&amp;#039; and/or &amp;#039;&amp;#039;suffix&amp;#039;&amp;#039; text that is taken from one of the RDF graphs in the document.&lt;br /&gt;
In this way you can create a metadata field with text content that is automatically displayed (non-editable) based on an RDF statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xMetafield = ... ; // get an inserted metadata field&lt;br /&gt;
    rdf.XNamedGraph xGraph = xDocRepository.getGraph(xMyGraphURI);&lt;br /&gt;
    rdf.XURI xPrefix = rdf.URI.createKnown(rdf.URIs.ODF_PREFIX);&lt;br /&gt;
    xGraph.addStatement(xMetafield, xPrefix,&lt;br /&gt;
        &amp;quot;this text will be displayed as prefix content of the field&amp;quot;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Other document entities ===&lt;br /&gt;
&lt;br /&gt;
In addition to the annotated text range and the metadata field, other document content entities implement the &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; interface as well.&lt;br /&gt;
These entities can thus be used in RDF statements.&lt;br /&gt;
The list of entities which can be thus annotated will grow in future releases of {{PRODUCTNAME}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Adding metadata to a document ===&lt;br /&gt;
&lt;br /&gt;
The metadata support in ODF 1.2 allows for adding RDF graphs to an ODF package.&lt;br /&gt;
Every RDF graph is stored as an &amp;lt;code&amp;gt;RDF/XML&amp;lt;/code&amp;gt; stream in the package.&lt;br /&gt;
&lt;br /&gt;
There is a special RDF graph called the &amp;#039;&amp;#039;metadata manifest&amp;#039;&amp;#039;.&lt;br /&gt;
This RDF graph belongs to a document and enumerates all the files relevant for metadata, such as the individual RDF/XML files.&lt;br /&gt;
&lt;br /&gt;
This manifest graph is maintained by {{PRODUCTNAME}} itself; extension authors should not modify it directly, but use the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In order to isolate different metadata users, every extension that wants to add metadata should create one (or several) own RDF graph(s).&lt;br /&gt;
It is recommended to give the new graphs a &amp;#039;&amp;#039;type&amp;#039;&amp;#039; that identifies what kind of information is contained, especially if a well-known RDF vocabulary is used.&lt;br /&gt;
With the method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:addMetadataFile&amp;lt;/idlm&amp;gt;, you can specify as many types as you want for a graph.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    try {&lt;br /&gt;
        rdf.XURI xGraphName = xDMA.addMetadataFile(&amp;quot;myextension/mygraph.rdf&amp;quot;,&lt;br /&gt;
            new rdf.XURI[] { xType } );&lt;br /&gt;
        rdf.XNamedGraph xGraph = xDMA.getRDFRepository().getGraph(xGraphName);&lt;br /&gt;
    } catch (container.ElementExistException e) { // filename exists?&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note| Choose a stream name that is unlikely to conflict with other extensions.  The preferred suffix is &amp;lt;code&amp;gt;.rdf&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Tip | The method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:importMetadataFile&amp;lt;/idlm&amp;gt; allows to import an existing RDF/XML file into the document RDF repository.}}&lt;br /&gt;
&lt;br /&gt;
Now you can simply insert RDF statements into the graph:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xElement = ...; // some document content entity&lt;br /&gt;
    rdf.XURI xLabel = rdf.URI.createKnown(rdf.URIs.RDFS_LABEL);&lt;br /&gt;
    rdf.XLiteral xObj = rdf.Literal.create(&amp;quot;a most interesting description&amp;quot;);&lt;br /&gt;
    xGraph.addStatement(xElement, xLabel, xObj);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reading metadata from a document ===&lt;br /&gt;
&lt;br /&gt;
In order to read metadata that is stored in a document, query the RDF repository of the document.&lt;br /&gt;
&lt;br /&gt;
There are basically two ways to do this.&lt;br /&gt;
One way is to use the getter methods at the named graph and repository interfaces.&lt;br /&gt;
The method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getStatements&amp;lt;/idlm&amp;gt; will return all statements in any graph in the repository that match the given parameters.&lt;br /&gt;
But note that this is not necessarily what you want.&lt;br /&gt;
Usually, an extension is only interested in the metadata it has itself inserted.&lt;br /&gt;
Thus it is better to first get the graph(s) that the extension is interested in, and then only query those graphs via &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:getStatements&amp;lt;/idlm&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    rdf.XURI[] GraphNames = xDMA.getMetadataGraphsWithType(xType);&lt;br /&gt;
    for (rdf.XURI xGraphName : GraphNames) {&lt;br /&gt;
        rdf.XNamedGraph xGraph = xDMA.getRDFRepository().getGraph(xGraphName);&lt;br /&gt;
        // replace nulls with interesting URIs&lt;br /&gt;
        container.XEnumeration xResult = xGraph.getStatements(null, null, null);&lt;br /&gt;
        while (xResult.hasMoreElements()) {&lt;br /&gt;
            rdf.Statement stmt = (rdf.Statement) xResult.nextElement();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The other way of getting information out of the repository is via the [http://www.w3.org/TR/rdf-sparql-query/  SPARQL query language].&lt;br /&gt;
&lt;br /&gt;
The same considerations as above apply: by default, the result will contain information from all graphs in the repository.&lt;br /&gt;
You can restrict the graphs via the &amp;lt;code&amp;gt;GRAPH&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;FROM&amp;lt;/code&amp;gt; clauses.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    rdf.XURI[] GraphNames = xDMA.getMetadataGraphsWithType(xType);&lt;br /&gt;
    if (GraphNames.length &amp;gt; 0) {&lt;br /&gt;
        String graphName = GraphNames[0].getStringValue();&lt;br /&gt;
        String query =&lt;br /&gt;
            &amp;quot;CONSTRUCT { ?s ?p ?o } WHERE { GRAPH &amp;lt;&amp;quot;&lt;br /&gt;
                + graphName + &amp;quot;&amp;gt; { ?s ?p ?o } . }&amp;quot;;&lt;br /&gt;
        container.XEnumeration xResult =&lt;br /&gt;
            xDMA.getRDFRepository().queryConstruct(query);&lt;br /&gt;
        while (xResult.hasMoreElements()) {&lt;br /&gt;
            rdf.Statement stmt = (rdf.Statement) xResult.nextElement();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Besides the &amp;lt;code&amp;gt;CONSTRUCT&amp;lt;/code&amp;gt; query shown above, there are also the methods &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:querySelect&amp;lt;/idlm&amp;gt;, which returns a table of results, and &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:queryAsk&amp;lt;/idlm&amp;gt;, which simply returns a &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt;.&lt;br /&gt;
There are different methods for the different query types because the return types differ.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Always use the query method that matches the query type.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mapping from URIs to document entities ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess;com.sun.star.rdf.XMetadatable&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that for a document content annotation the RDF repository will only give you an URI in its results, not the actual document content entity.&lt;br /&gt;
In order to map the URI to the document entity, use the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:getElementByURI&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xElemURI = ... // query the document repository&lt;br /&gt;
    rdf.XMetadatable xElement = xDMA.getElementByURI(xElemURI);&lt;br /&gt;
    text.XTextContent xElemContent = (text.XTextContent)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XTextContent.class, xElement);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Tip | You can check if an URI refers to a document entity: it does if it has as a prefix the &amp;#039;&amp;#039;base URI&amp;#039;&amp;#039; of the document, which is available as the &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt; implementation of the document model.  But please keep in mind that the document entity does not need to exist, because it may have been removed from the document.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Removing metadata from a document ===&lt;br /&gt;
&lt;br /&gt;
The named graph supports the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:removeStatements&amp;lt;/idlm&amp;gt; method, which removes all statements that match the parameters from the graph.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | There is no update operation.  If you want to update an RDF statement, you have to remove the existing statement, and insert a new one.}}&lt;br /&gt;
&lt;br /&gt;
Also, there is the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:clear&amp;lt;/idlm&amp;gt; method, which is equivalent to &amp;lt;code&amp;gt;removeStatements(null, null, null)&amp;lt;/code&amp;gt;, and removes all statements from the graph.&lt;br /&gt;
&lt;br /&gt;
For removing whole metadata streams from an ODF document, there is the method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:removeMetadataFile&amp;lt;/idlm&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Vocabulary ===&lt;br /&gt;
&lt;br /&gt;
Some notes on RDF vocabularies; of course, a comprehensive discussion of RDF design is beyond the scope of this guide.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Do not use URIs based on the document base URI as properties.  Properties should be independent of the location of the document.}}&lt;br /&gt;
&lt;br /&gt;
An important question when adding RDF metadata is: which vocabulary do you use?&lt;br /&gt;
First, it is usually a good idea to re-use an existing vocabulary.&lt;br /&gt;
This will improve the chances that other software, which also supports the existing vocabulary, is able to do something interesting and useful with the metadata that is added.&lt;br /&gt;
&lt;br /&gt;
For example, for basic datatypes you can use the types specified in [http://www.w3.org/TR/xmlschema-2/  W3C XMLSchema Part 2].&lt;br /&gt;
A well-known vocabulary for expressing social relations is [http://www.foaf-project.org/  Friend-of-a-Friend].&lt;br /&gt;
A directory of RDF schemata can be found at [http://schemaweb.info/  SchemaWeb].&lt;br /&gt;
Another useful resource might be [http://dbpedia.org/  DBPedia].&lt;br /&gt;
&lt;br /&gt;
If you do not find an existing vocabulary that matches your use case, here are some hints for designing your own:&lt;br /&gt;
The most important thing is that the URIs should really be unique.&lt;br /&gt;
If you have a DNS domain, then that is quite easy to achieve: use URIs like &amp;lt;code&amp;gt;http://example.com/myvocabulary/v1.0/foo&amp;lt;/code&amp;gt;.&lt;br /&gt;
It is probably a good idea to use a versioned namespace prefix like &amp;lt;code&amp;gt;http://example.com/myvocabulary/v1.0/&amp;lt;/code&amp;gt; for all URIs.&lt;br /&gt;
The version component allows you to evolve the vocabulary to meet future requirements.&lt;br /&gt;
Now you can use the versioned namespace prefix to denote the format, i.e., as a type for your metadata stream, making it easy to find.&lt;br /&gt;
You can also create an actual HTML page to document the vocabulary at the URI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Status ===&lt;br /&gt;
&lt;br /&gt;
As of OOo version 3.2, RDF metadata is only supported in writer documents.&lt;br /&gt;
The generic RDF parts of the API are all implemented.&lt;br /&gt;
The document integration parts are not yet completely implemented:&lt;br /&gt;
most elements do not support the &amp;lt;code&amp;gt;xml:id&amp;lt;/code&amp;gt; that is required for use with RDF.&lt;br /&gt;
The following elements can be annotated:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!ODF element&lt;br /&gt;
!Service&lt;br /&gt;
!description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:p&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Paragraph&amp;lt;/idl&amp;gt;&lt;br /&gt;
|paragraph&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:h&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Paragraph&amp;lt;/idl&amp;gt;&lt;br /&gt;
|heading&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:bookmark&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Bookmark&amp;lt;/idl&amp;gt;&lt;br /&gt;
|bookmark&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:bookmark-start&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Bookmark&amp;lt;/idl&amp;gt;&lt;br /&gt;
|bookmark&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:meta&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idl&amp;gt;&lt;br /&gt;
|annotated text range&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:meta-field&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.textfield.MetadataField&amp;lt;/idl&amp;gt;&lt;br /&gt;
|text field whose content is generated from metadata&lt;br /&gt;
|}&lt;br /&gt;
&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>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer&amp;diff=156364</id>
		<title>Writer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer&amp;diff=156364"/>
		<updated>2010-02-05T13:40:46Z</updated>

		<summary type="html">&lt;p&gt;Mst: migrate text from CVS index.html&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Writer Project}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;This is the home of the OpenOffice.org Word Processing Project.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Its heart is the [http://www.openoffice.org/product/writer.html  Writer] application but it also comprises the OpenOffice.org Formula Editor [http://www.openoffice.org/product/math.html  Math], the integration of the linguistic components (spell checker, hyphenator, thesaurus) and some document filters for formats of other word processors. The linguistic components themselves are part of the &amp;#039;&amp;#039;lingucomponent&amp;#039;&amp;#039; project. &lt;br /&gt;
&lt;br /&gt;
== Communication Channels ==&lt;br /&gt;
&lt;br /&gt;
If you want to discuss your ideas about the components of our project, please use the mailto:users@sw.openoffice.org or mailto:dev@sw.openoffice.org mailing lists.&lt;br /&gt;
If you have an enhancement or a feature request or if you want to report a bug please use our [http://qa.openoffice.org/issues/  Issue Tracker].&lt;br /&gt;
We recommend to read some [http://qa.openoffice.org/issue_handling/index.html  documentation about issue handling] before.&lt;br /&gt;
&lt;br /&gt;
=== Website ===&lt;br /&gt;
http://sw.openoffice.org&lt;br /&gt;
&lt;br /&gt;
=== IRC ===&lt;br /&gt;
* for users: irc://irc.freenode.net/Openoffice.org&lt;br /&gt;
* for developers: irc://irc.freenode.net/dev.openoffice.org&lt;br /&gt;
&lt;br /&gt;
=== Mailinglists/Newsgroups ===&lt;br /&gt;
* mailto:users@sw.openoffice.org&lt;br /&gt;
* mailto:dev@sw.openoffice.org&lt;br /&gt;
* mailto:dev@openoffice.org&lt;br /&gt;
=== Blogs/Planets ===&lt;br /&gt;
* [http://planet.services.openoffice.org/ Planet OpenOffice.org]&lt;br /&gt;
* [http://blogs.sun.com/GullFOSS/ GullFOSS (Sun)]&lt;br /&gt;
&lt;br /&gt;
== People ==&lt;br /&gt;
Project Lead is Mathias Bauer (mailto:mba@openoffice.org), Project Co-Lead is Oliver-Rainer Wittmann (mailto:od@openoffice.org).&lt;br /&gt;
== Documentation ==&lt;br /&gt;
=== User Documentation provided by the Documentation Project ===&lt;br /&gt;
* [[Documentation/OOo3_User_Guides/Writer_Guide|Writer Guide]]&lt;br /&gt;
* [[Documentation/FAQ/Writer|Writer FAQ]]&lt;br /&gt;
* [[Documentation/FAQ/Formula|Math FAQ]]&lt;br /&gt;
* [[Documentation/How_Tos|Writer How Tos]]&lt;br /&gt;
* [http://documentation.openoffice.org/tutorials/index.html  Tutorials]&lt;br /&gt;
&lt;br /&gt;
If you have some questions that can&amp;#039;t be answered by these documents please send them to our mailto:users@openoffice.org mailing list. If you prefer to discuss your questions in your own language please go to the home page of the OpenOffice.org Native Language project that matches your language. The home page of the selected language project should guide you to its &amp;#039;&amp;#039;users&amp;#039;&amp;#039; mailing list.&lt;br /&gt;
&lt;br /&gt;
=== Specifications ===&lt;br /&gt;
http://specs.openoffice.org/writer/index.html&lt;br /&gt;
&lt;br /&gt;
=== Internal Documentation ===&lt;br /&gt;
&amp;lt;DPL&amp;gt;&lt;br /&gt;
category=+Writer/CoreDoc&lt;br /&gt;
&amp;lt;/DPL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== API Documentation ===&lt;br /&gt;
&amp;lt;DPL&amp;gt;&lt;br /&gt;
category=+Writer/API&lt;br /&gt;
&amp;lt;/DPL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Efforts ==&lt;br /&gt;
&lt;br /&gt;
For an overview about opportunities for new developers see [[Writer/ToDo]].&lt;br /&gt;
&lt;br /&gt;
If you want to contribute something to the project you don&amp;#039;t need to be a developer.&lt;br /&gt;
Please read more about [http://contributing.openoffice.org/index.html  contributing] if you are interested.&lt;br /&gt;
&lt;br /&gt;
=== Ongoing Efforts ===&lt;br /&gt;
&amp;lt;DPL&amp;gt;&lt;br /&gt;
category=Writer/Effort&lt;br /&gt;
ordermethod=counter&lt;br /&gt;
order=descending&lt;br /&gt;
namespace=&lt;br /&gt;
&amp;lt;/DPL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Planned Efforts/ToDos ===&lt;br /&gt;
&amp;lt;DPL&amp;gt;&lt;br /&gt;
category=Writer/Effort/Planned&lt;br /&gt;
ordermethod=counter&lt;br /&gt;
order=descending&lt;br /&gt;
namespace=&lt;br /&gt;
&amp;lt;/DPL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Stalled Efforts ===&lt;br /&gt;
&amp;lt;DPL&amp;gt;&lt;br /&gt;
category=Writer/Effort/Stalled&lt;br /&gt;
ordermethod=counter&lt;br /&gt;
order=descending&lt;br /&gt;
namespace=&lt;br /&gt;
&amp;lt;/DPL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Completed Efforts ===&lt;br /&gt;
&amp;lt;DPL&amp;gt;&lt;br /&gt;
category=Writer/Effort/Completed&lt;br /&gt;
ordermethod=counter&lt;br /&gt;
order=descending&lt;br /&gt;
suppresserrors=true&lt;br /&gt;
&amp;lt;/DPL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Integrated Patches ====&lt;br /&gt;
* [[Writer/HallOfFame]]&lt;br /&gt;
* [http://qa.openoffice.org/issues/buglist.cgi?Submit+query=Submit+query&amp;amp;issue_type=PATCH&amp;amp;component=bibliographic&amp;amp;component=Formula+editor&amp;amp;component=Word+processor&amp;amp;component=wp&amp;amp;resolution=FIXED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;short_desc=&amp;amp;short_desc_type=allwords&amp;amp;long_desc=&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=substring&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=substring&amp;amp;keywords=&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;namedcmd=mba+votes&amp;amp;newqueryname=&amp;amp;order=Reuse+same+sort+as+last+time List of applied patches]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Project]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer/ToDo&amp;diff=156363</id>
		<title>Writer/ToDo</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer/ToDo&amp;diff=156363"/>
		<updated>2010-02-05T13:25:05Z</updated>

		<summary type="html">&lt;p&gt;Mst: migrate some text from CVS index.html&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{Writer Project|Category=Writer/Effort/Planned}}&lt;br /&gt;
__TOC__&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
= Intro: Development Opportunities =&lt;br /&gt;
&lt;br /&gt;
Here is a list of things that we would like to implement but until now didn&amp;#039;t find the time to do so. In our opinion all of these tasks can be done by experienced C++ developers that are willing to enter the interesting world of OOo [[Writer]].&lt;br /&gt;
They are great opportunities for interested developers as the list mostly contains features that have been demanded for by the OpenOffice.org community. So providing them surely would be appreciated by the users.&lt;br /&gt;
Of course interested developers are also invited to present their own ideas they would like to implement for the Writer project.&lt;br /&gt;
They can count on the support or the help of the regular Writer developers. If you are interested in working on one of these tasks please get in touch with us on our &amp;quot;dev&amp;quot; mailing list or via private mail to the Writer project lead. We can talk about existing specifications, ideas, stuff to read or hack etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Additional ToDo Pages =&lt;br /&gt;
&lt;br /&gt;
* [[Writer/ToDo/Layout|Writer Layouts]]&lt;br /&gt;
* [[Writer/ToDo/ODF_Enhancement|ODF Enhancements]]&lt;br /&gt;
* [[Writer/ToDo/PDF_Import|PDF Import]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
= Features with a high number of votes =&lt;br /&gt;
&lt;br /&gt;
== Baseline Alignment of formula and text in writer ==&lt;br /&gt;
[http://www.openoffice.org/issues/show_bug.cgi?id=972 Issue 972]&lt;br /&gt;
&lt;br /&gt;
The implementation of this features comprises some work in Math and Writer. Math is a comparable small module so starting here as a new developer is doable even in a short time frame. In Writer the algorithm for object positioning must me changed, something that is considered to be one of the harder jobs. Some additional work in UI and file format.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reveal Formatting Codes==&lt;br /&gt;
[http://www.openoffice.org/issues/show_bug.cgi?id=3395 Issue 3395]&lt;br /&gt;
&lt;br /&gt;
Especially former [[wikipedia:WordPerfect|WordPerfect]] users very often ask for a special view or tools window where the formatting at a particular cursor position can be made visible by showing some &amp;quot;tokens&amp;quot; representing the applied formats.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lotus WordPro filter ==&lt;br /&gt;
[http://www.openoffice.org/issues/show_bug.cgi?id=11215 Issue 11215]&lt;br /&gt;
&lt;br /&gt;
If you know something about the format of [[wikipedia:IBM Lotus Word Pro|Lotus WordPro]] - here&amp;#039;s the perfect task for you! Anything can be useful as a start, even a simple filter that just excerpts the pure text. A first patch is available but it doesn&amp;#039;t work good enough until now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MathML Export ==&lt;br /&gt;
&lt;br /&gt;
Exporting to HTML should turn Formulae into MathML (not GIFs). [http://qa.openoffice.org/issues/show_bug.cgi?id=24256 Issue 24256]&lt;br /&gt;
&lt;br /&gt;
[[Math]] already supports [[wikipedia:MathML|MathML]] export. The HTML export filter needs to be extended to use it instead of treating Math as an OLE object that is exported as a pixel graphic.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Support more colors in formulas ==&lt;br /&gt;
[http://qa.openoffice.org/issues/show_bug.cgi?id=5156 Issue 5156]&lt;br /&gt;
&lt;br /&gt;
Math only has some &amp;quot;hard coded&amp;quot; color values. It would be nice to have a full color palette as other applications in OOo. This requires to make the formula parser available of these colors.&lt;br /&gt;
&lt;br /&gt;
= Issue Tracker queries =&lt;br /&gt;
&lt;br /&gt;
Here are some issue lists of things we would like to get implemented:&lt;br /&gt;
&lt;br /&gt;
*[http://qa.openoffice.org/issues/buglist.cgi?component=Word+processor&amp;amp;issue_status=UNCONFIRMED&amp;amp;issue_status=NEW&amp;amp;issue_status=STARTED&amp;amp;issue_status=REOPENED&amp;amp;issue_status=RESOLVED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;short_desc=&amp;amp;short_desc_type=allwords&amp;amp;long_desc=&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=substring&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=substring&amp;amp;keywords=rfe_eval_ok&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;namedcmd=mba+votes&amp;amp;newqueryname=&amp;amp;order=Reuse+same+sort+as+last+time&amp;amp;Submit+query=Submit+query Writer RFEs of the community]&lt;br /&gt;
*[http://qa.openoffice.org/issues/buglist.cgi?resort=1&amp;amp;Submit%20query=Submit%20query;component=Formula%20editor;issue_status=UNCONFIRMED;issue_status=NEW;issue_status=STARTED;issue_status=REOPENED;issue_status=RESOLVED;email1=;emailtype1=exact;emailassigned_to1=1;email2=;emailtype2=exact;emailreporter2=1;issueidtype=include;issue_id=;changedin=;votes=;chfieldfrom=;chfieldto=Now;chfieldvalue=;short_desc=;short_desc_type=allwords;long_desc=;long_desc_type=allwords;issue_file_loc=;issue_file_loc_type=substring;status_whiteboard=;status_whiteboard_type=substring;keywords=rfe_eval_ok;keywords_type=anytokens;field0-0-0=noop;type0-0-0=noop;value0-0-0=;namedcmd=mba%20votes;newqueryname=&amp;amp;order=issues.votes%20desc%2C%20map_assigned_to.userid%2C%20issues.component%2C%20issues.votes%20desc%2C%20issues.priority%2C%20issues.issue_type Math RFEs of the community]&lt;br /&gt;
*[http://www.openoffice.org/issues/buglist.cgi?resort=1&amp;amp;Submit%20query=Submit%20query;component=Formula%20editor;component=lingucomponent;component=Word%20processor;issue_status=UNCONFIRMED;issue_status=NEW;issue_status=STARTED;issue_status=REOPENED;email1=;emailtype1=exact;emailassigned_to1=1;email2=;emailtype2=exact;emailreporter2=1;issueidtype=include;issue_id=;changedin=;votes=;chfieldfrom=;chfieldto=Now;chfieldvalue=;short_desc=;short_desc_type=allwords;long_desc=;long_desc_type=allwords;issue_file_loc=;issue_file_loc_type=substring;status_whiteboard=;status_whiteboard_type=substring;keywords=;keywords_type=anytokens;field0-0-0=votes;type0-0-0=greaterthan;value0-0-0=10;namedcmd=mba%202.3;newqueryname=&amp;amp;order=issues.votes%20desc%2C%20issues.votes%20desc%2C%20map_assigned_to.userid%2C%20issues.issue_id Issue with many votes]&lt;br /&gt;
&lt;br /&gt;
= Some other ideas =&lt;br /&gt;
&lt;br /&gt;
== More text import and export filters ==&lt;br /&gt;
&lt;br /&gt;
Perhaps you have experience with other file formats? Here&amp;#039;s something for you!&lt;br /&gt;
&lt;br /&gt;
== Improve RTF filters ==&lt;br /&gt;
&lt;br /&gt;
Currently the RTF filters of Writer are a separate implementation. The goal is to re-use the better binary Word filters with an upstream RTF tokenizer or a downstream RTF generator.&lt;br /&gt;
&lt;br /&gt;
== Shrinking text below a certain size ==&lt;br /&gt;
&lt;br /&gt;
A component to shrink a document size by a defined page count, so the user can produce documents without a final halffull page. The component may then use different steps (for example: shrink all font sizes, or shrink the paragraph distance, or shrink ...) to come to a sensible result.&lt;br /&gt;
&lt;br /&gt;
== Improving Writer&amp;#039;s compare function ==&lt;br /&gt;
&lt;br /&gt;
Many powerful tools exist that can compare two versions of a text and report differences between them in a very fine grained manor. Providing a comparable tool that also takes text attributes and the more advanced strucure of an ODF document into account, would come in very handy. Development could be done in the OOo source code (C++), as an extension (C++, Java, Python) or even as a standalone application working on ODF directly (any programming language, but C++, Java, Python preferred as it would allow to convert the application into an extension).&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Beautifier&amp;quot; for Writer ==&lt;br /&gt;
&lt;br /&gt;
Such a tool can modify existing documents in a way that the result looks the same but is optimized for whatever criteria the developer wants to fulfill: replace hard formatting (autostyles) by styles, detect multiple white spaces, detect superfluous hard formatting, optimize fonts, embed and resize pictures etc.&lt;br /&gt;
&lt;br /&gt;
== Integration of Mac Grammar Checker ==&lt;br /&gt;
&lt;br /&gt;
Since OOo 3.0.1 the Grammar Checking API of OOo is final. Some extensions based on this API already exist and it would be great to have an extension integrating the Mac Grammer Checker.&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:To-Do]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Writer/HallOfFame&amp;diff=156361</id>
		<title>Writer/HallOfFame</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Writer/HallOfFame&amp;diff=156361"/>
		<updated>2010-02-05T13:17:30Z</updated>

		<summary type="html">&lt;p&gt;Mst: migrate from CVS index.html&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Code Contributions ==&lt;br /&gt;
&lt;br /&gt;
We have received patch contributions from other developers and&lt;br /&gt;
some really nice features as well. Credit where credit is due as they&lt;br /&gt;
say.&lt;br /&gt;
&lt;br /&gt;
=== Open Source Spellchecker ===&lt;br /&gt;
&lt;br /&gt;
When OpenOffice.org was made an&lt;br /&gt;
Open Source project by releasing the former StarOffice code base we&lt;br /&gt;
still had a proprietary third-party spell checker that still could be used in&lt;br /&gt;
StarOffice, but we didn&amp;#039;t have linguistic tools usable in Open&lt;br /&gt;
Source.  So we where very pleased that &amp;#039;&amp;#039;&amp;#039;Kevin B. Hendricks&amp;#039;&amp;#039;&amp;#039; implemented&lt;br /&gt;
them using the well known Open Source project myspell and so added a&lt;br /&gt;
great component to OpenOffice.org. Later on &amp;#039;&amp;#039;&amp;#039;Laszlo Nemeth&amp;#039;&amp;#039;&amp;#039; extended&lt;br /&gt;
myspell to hunspell and reworked the OpenOffice.org integration of it.&lt;br /&gt;
&lt;br /&gt;
=== WordPerfect import filter ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;William Lachance&amp;#039;&amp;#039;&amp;#039;, the author of the [http://libwpd.sourceforge.net/  libwpd]&lt;br /&gt;
library, created an awesome filter for OpenOffice.org based on this&lt;br /&gt;
library.&lt;br /&gt;
&lt;br /&gt;
=== Support for Smart Tags in Writer ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Jakob Lechner&amp;#039;&amp;#039;&amp;#039; designed&lt;br /&gt;
and implemented a UNO interface for the interaction between Writer&lt;br /&gt;
and external Smart Tag libraries.  Thanks also to his employer&lt;br /&gt;
[http://www.fabalabs.org/  Fabalabs] who sponsored this&lt;br /&gt;
implementation by allowing Jakob to work on it during his company&lt;br /&gt;
working time.&lt;br /&gt;
&lt;br /&gt;
=== New implementation for &amp;#039;&amp;#039;notes&amp;#039;&amp;#039; (comments) ===&lt;br /&gt;
&lt;br /&gt;
[http://www.sept-solutions.de  Maximilian Odendahl] joined us&lt;br /&gt;
in a &amp;#039;&amp;#039;Google Summer Of Code&amp;#039;&amp;#039; project to implement a new improved notes user interface for OpenOffice.org 3.0.&lt;br /&gt;
Since then he is still working on further &amp;#039;&amp;#039;notes&amp;#039;&amp;#039; improvements and also contributed a lot of other bug fixes and improvements.&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Template:Documentation/DevGuide/OfficeDevTOC&amp;diff=156237</id>
		<title>Template:Documentation/DevGuide/OfficeDevTOC</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Template:Documentation/DevGuide/OfficeDevTOC&amp;diff=156237"/>
		<updated>2010-02-03T16:32:02Z</updated>

		<summary type="html">&lt;p&gt;Mst: add page: RDF metadata&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/MasterTOC&lt;br /&gt;
|ShowPrevPage={{{ShowPrevPage}}}&lt;br /&gt;
|PrevPage={{{PrevPage}}}&lt;br /&gt;
|ShowNextPage={{{ShowNextPage}}}&lt;br /&gt;
|NextPage={{{NextPage}}}&lt;br /&gt;
|bookid=DevGuide&lt;br /&gt;
|booktitle=[[Documentation/DevGuide/OpenOffice.org Developers Guide|OpenOffice.org Developer&amp;#039;s Guide]]&lt;br /&gt;
|ShowParttitle=block&lt;br /&gt;
|parttitle=[[Documentation/DevGuide/OfficeDev/Office Development|Office Development]]&lt;br /&gt;
|ShowPrevPart=block&lt;br /&gt;
|PrevPart=Documentation/DevGuide/AdvUNO/Advanced UNO&lt;br /&gt;
|ShowNextPart=block&lt;br /&gt;
|NextPart=Documentation/DevGuide/Text/Text Documents&lt;br /&gt;
|toccontent=&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/OpenOffice.org Application Environment|OpenOffice.org Application Environment]]&lt;br /&gt;
&amp;lt;div id=OfficeDev2a&amp;quot; style=&amp;quot;display:{{{OfficeDev2a|none}}};margin-left: 12px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Desktop Environment|Desktop Environment]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Framework API|Framework API]]&lt;br /&gt;
&amp;lt;div id=OfficeDevFramework&amp;quot; style=&amp;quot;display:{{{OfficeDevFramework|none}}};margin-left: 12px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Frame-Controller-Model Paradigm in OpenOffice.org|Frame-Controller-Model Paradigm in OpenOffice.org]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Frames|Frames]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Controllers|Controllers]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Windows|Windows]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Dispatch Framework|Dispatch Framework]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Using the Desktop|Using the Desktop]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Using the Component Framework|Using the Component Framework]]&lt;br /&gt;
&amp;lt;div id=OfficeDevComponent&amp;quot; style=&amp;quot;display:{{{OfficeDevComponent|none}}};margin-left: 12px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Component/Getting Frames, Controllers and Models from Each Other|Getting Frames, Controllers and Models from Each Other]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Component/Frames|Frames]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Component/Controllers|Controllers]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Component/Models|Models]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Component/Window Interfaces|Window Interfaces]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Creating Frames Manually|Creating Frames Manually]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Handling Documents|Handling Documents]]&lt;br /&gt;
&amp;lt;div id=OfficeDevHandling&amp;quot; style=&amp;quot;display:{{{OfficeDevHandling|none}}};margin-left: 12px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Closing Documents|Closing Documents]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Storing Documents|Storing Documents]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Using the Dispatch Framework|Using the Dispatch Framework]]&lt;br /&gt;
&amp;lt;div id=OfficeDevDispatch&amp;quot; style=&amp;quot;display:{{{OfficeDevDispatch|none}}};margin-left: 12px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Command URL|Command URL]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Processing Chain|Processing Chain]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Dispatch Process|Dispatch Process]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Dispatch Results|Dispatch Results]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Dispatch Interception|Dispatch Interception]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Java Window Integration|Java Window Integration]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Common Application Features|Common Application Features]]&lt;br /&gt;
&amp;lt;div id=OfficeDev2b&amp;quot; style=&amp;quot;display:{{{OfficeDev2b|none}}};margin-left: 12px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Internationalization|Internationalization]]&lt;br /&gt;
&amp;lt;div id=OfficeDevInt&amp;quot; style=&amp;quot;display:{{{OfficeDevInt|none}}};margin-left: 12px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Overview and Using the API|Overview and Using the API]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Implementing a New Locale|Implementing a New Locale]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Linguistics|Linguistics]]&lt;br /&gt;
&amp;lt;div id=OfficeDevLing&amp;quot; style=&amp;quot;display:{{{OfficeDevLing|none}}};margin-left: 12px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Using Spellchecker|Using Spellchecker]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Using Hyphenator|Using Hyphenator]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Using Thesaurus|Using Thesaurus]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Events|Events]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Implementing a Spell Checker|Implementing a Spell Checker]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Implementing a Hyphenator|Implementing a Hyphenator]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Implementing a Thesaurus|Implementing a Thesaurus]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Integrating Import and Export Filters|Integrating Import and Export Filters]]&lt;br /&gt;
&amp;lt;div id=OfficeDevInteg&amp;quot; style=&amp;quot;display:{{{OfficeDevInteg|none}}};margin-left: 12px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Filtering Process|Filtering Process]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Filter|Filters]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Configuring a Filter in OpenOffice.org|Type Detection and its Configuration]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Properties of a Type|Properties of a Type]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Properties of a Filter|Properties of a Filter]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Filter Options|Filter Options]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Properties of a FrameLoader|Properties of a FrameLoader]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Document API Filter Development|Document API Filter Development]]&lt;br /&gt;
&amp;lt;div id=OfficeDevDocFilter&amp;quot; style=&amp;quot;display:{{{OfficeDevDocFilter|none}}};margin-left: 12px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/XML Based Filter Development|XML Based Filter Development]]&lt;br /&gt;
&amp;lt;div id=OfficeDevXMLFilter&amp;quot; style=&amp;quot;display:{{{OfficeDevXMLFilter|none}}};margin-left: 12px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Writing the Filtering Component|Writing the Filtering Component]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/The Importer|The Importer]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/The Exporter|The Exporter]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/XML Filter Detection|XML Filter Detection]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Number Formats|Number Formats]]&lt;br /&gt;
&amp;lt;div id=OfficeDevNumber&amp;quot; style=&amp;quot;display:{{{OfficeDevNumber|none}}};margin-left: 12px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Managing Number Formats|Managing Number Formats]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Applying Number Formats|Applying Number Formats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Document Events|Document Events]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Path Organization|Path Organization]]&lt;br /&gt;
&amp;lt;div id=OfficeDevPath&amp;quot; style=&amp;quot;display:{{{OfficeDevPath|none}}};margin-left: 12px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Path Settings|Path Settings]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Path Variables|Path Variables]]&lt;br /&gt;
&amp;lt;div id=OfficeDevPathOrg&amp;quot; style=&amp;quot;display:{{{OfficeDevPathOrg|none}}};margin-left: 12px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Predefined Variables|Predefined Variables]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Custom Path Variables|Custom Path Variables]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/Resolving Path Variables|Resolving Path Variables]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/OpenOffice.org Single Sign-On API|OpenOffice.org Single Sign-On API]]&lt;br /&gt;
* [[Documentation/DevGuide/OfficeDev/RDF metadata|RDF metadata]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/Text/Text_Documents&amp;diff=156236</id>
		<title>Documentation/DevGuide/Text/Text Documents</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/Text/Text_Documents&amp;diff=156236"/>
		<updated>2010-02-03T16:28:36Z</updated>

		<summary type="html">&lt;p&gt;Mst: link prev to RDF metadata&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/TextTOC&lt;br /&gt;
|TextExample=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/OfficeDev/RDF metadata&lt;br /&gt;
|NextPage=Documentation/DevGuide/Text/Example: Fields in a Template&lt;br /&gt;
}}&lt;br /&gt;
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Text/{{SUBPAGENAME}}}}&lt;br /&gt;
{{DISPLAYTITLE:Text Documents}}&lt;br /&gt;
{{Download Collection|MediaWiki:Collections/Developer&amp;#039;s Guide - Text Documents}}&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.text.TextDocument&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
In the {{PRODUCTNAME}} API, a text document is a document model which is able to handle text contents. A document in our context is a product of work that can be stored and printed to make the result of the work a permanent resource. By model we mean data that forms the basis of a document and is organized in a manner that allows working with the data independently from their visual representation in a graphical user interface.&lt;br /&gt;
&lt;br /&gt;
It is important to understand that developers have to work with the model directly, when they want to change it through the {{PRODUCTNAME}} API. The model &amp;#039;&amp;#039;has&amp;#039;&amp;#039; a controller object which enables developers to manipulate the visual presentation of the document in the user interface. But the controller is not used to change a document. The controller serves two purposes.&lt;br /&gt;
&lt;br /&gt;
* The controller interacts with the user interface for movement, such as moving the visible text cursor, flipping through screen pages or changing the zoom factor. &lt;br /&gt;
* The second purpose is getting information about the current view status, such as the current selection, the current page, the total page count or the line count. Automatic page or line breaks are not really part of the document data, but rather something that is needed in a certain presentation of the document.&lt;br /&gt;
&lt;br /&gt;
Keeping the difference between model and controller in mind, we will now discuss the parts of a text document model in the {{PRODUCTNAME}} API.&lt;br /&gt;
&lt;br /&gt;
The text document model in the {{PRODUCTNAME}} API has five major architectural areas, cf. Illustration 1 below. The five areas are:&lt;br /&gt;
&lt;br /&gt;
* text&lt;br /&gt;
* service manager (document internal)&lt;br /&gt;
* draw page&lt;br /&gt;
* text content suppliers&lt;br /&gt;
* objects for styling and numbering&lt;br /&gt;
&lt;br /&gt;
The core of the text document model is the text. It consists of character strings organized in paragraphs and other text contents. The usage of text will be discussed in [[Documentation/DevGuide/Text/Working with Text Documents|Working with Text Documents]].&lt;br /&gt;
&lt;br /&gt;
The service manager of the document model creates all text contents for the model, except for the paragraphs. Note that the document service manager is different from the main service manager that is used when connecting to the office. Each document model has its own service manager, so that the services can be adapted to the document when required. Examples for text contents created by the text document service manager are text tables, text fields, drawing shapes, text frames or graphic objects. The service manager is asked for a text content, then you insert it into the text.&lt;br /&gt;
&lt;br /&gt;
Afterwards, the majority of these text contents in a text can be retrieved from the model using text content suppliers. The exception are drawing shapes. They can be found on the &amp;lt;code&amp;gt;DrawPage&amp;lt;/code&amp;gt;, which is discussed below.&lt;br /&gt;
&lt;br /&gt;
Above the text lies the &amp;lt;code&amp;gt;DrawPage&amp;lt;/code&amp;gt;. It is used for drawing contents. Imagine it as a transparent layer with contents that can affect the text under the layer, for instance by forcing it to wrap around contents on the &amp;lt;code&amp;gt;DrawPage&amp;lt;/code&amp;gt;. However, text can also wrap through &amp;lt;code&amp;gt;DrawPage&amp;lt;/code&amp;gt; contents, so the similarity is limited.&lt;br /&gt;
&lt;br /&gt;
Finally, there are services that allow for document wide styling and structuring of the text. Among them are style family suppliers for paragraphs, characters, pages and numbering patterns, and suppliers for line and outline numbering.&lt;br /&gt;
&lt;br /&gt;
Besides these five architectural areas, there are a number of aspects covering the document character of our model: It is printable, storable, modifiable, it can be refreshed, its contents are able to be searched and replaced and it supplies general information about itself. These aspects are shown at the lower right of the illustration.&lt;br /&gt;
&lt;br /&gt;
[[Image:TextDocumentOverview.png|none|thumb|500px|Text Document Model]]&lt;br /&gt;
&lt;br /&gt;
Finally, the controller provides access to the graphical user interface for the model and has knowledge about the current view status in the user interface, cf. the upper left of the diagram above.&lt;br /&gt;
&lt;br /&gt;
The usage of text is discussed in the section [[Documentation/DevGuide/Text/Working with Text Documents|Working with Text Documents]].&lt;br /&gt;
&lt;br /&gt;
{{PDL1}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Developer&amp;#039;s Guide/Text Documents]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/OpenOffice.org_Single_Sign-On_API&amp;diff=156235</id>
		<title>Documentation/DevGuide/OfficeDev/OpenOffice.org Single Sign-On API</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/OpenOffice.org_Single_Sign-On_API&amp;diff=156235"/>
		<updated>2010-02-03T16:27:28Z</updated>

		<summary type="html">&lt;p&gt;Mst: link next to RDF metadata&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/OfficeDevTOC&lt;br /&gt;
|OfficeDev2b=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/OfficeDev/Resolving Path Variables&lt;br /&gt;
|NextPage=Documentation/DevGuide/OfficeDev/RDF metadata&lt;br /&gt;
}}&lt;br /&gt;
{{Documentation/DevGuideLanguages|Documentation/DevGuide/OfficeDev/{{SUBPAGENAME}}}} &lt;br /&gt;
 {{DISPLAYTITLE:OpenOffice.org Single Sign-On API}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
=== Overview ===&lt;br /&gt;
Users of a client application that can communicate with a variety of services on a network may need to enter several passwords during a single session to access different services. This situation can be further exacerbated if the client application also requires the user to enter a password each time a particular network service is accessed during a session.&lt;br /&gt;
&lt;br /&gt;
As most network users must authenticate to an OS at login time, it would make sense to access some of the required network services at this time as well. A solution to this problem is provided by the Single Sign-On (SSO) methodology, which is the ability to login in once and access several protected network services.&lt;br /&gt;
&lt;br /&gt;
The best known SSO is the Kerberos network authentication protocol (see [http://www.ietf.org/rfc/rfc1510.txt rfc1510]). Kerberos functionality is commonly accessed through the Generic Security Service Application Program Interface (GSS-API, see [http://www.ietf.org/rfc/rfc2743.txt rfc2743]). Central to GSS-API is the concept of a security context, which is the &amp;quot;state of trust&amp;quot; that is initiated when a client (also known as &amp;#039;&amp;#039;source&amp;#039;&amp;#039; or &amp;#039;&amp;#039;initiator&amp;#039;&amp;#039;) identifies itself to a network service (also known as &amp;#039;&amp;#039;target&amp;#039;&amp;#039; or &amp;#039;&amp;#039;acceptor&amp;#039;&amp;#039;). If mutual authentication is supported, then the service can also authenticate itself to the client. To establish a security context, security tokens are exchanged, processed, and verified between the client and the service. The client always initiates this exchange. Once established, a security context can be used to encrypt or decrypt subsequent client-service communications.&lt;br /&gt;
&lt;br /&gt;
The {{PRODUCTNAME}} SSO API is based on GSS-API. The SSO API supports the creation of security contexts on the client and the service side as well as the generation of the security tokens that are required for the exchange to complete the security context based authentication. The SSO API does not support the actual exchange of security tokens or the encryption or decryption of client-service communications in an established security context.&lt;br /&gt;
&lt;br /&gt;
{{PRODUCTNAME}} implements SSO in two different ways to authenticate with an LDAP server for configuration purposes. The first is Kerberos based and the second is a simple non-standard &amp;quot;cached username/password&amp;quot; SSO. The latter is provided as a fallback to support scenarios where no Kerberos server is available.&lt;br /&gt;
&lt;br /&gt;
=== Implementing the {{PRODUCTNAME}} SSO API ===&lt;br /&gt;
&lt;br /&gt;
Implementing the {{PRODUCTNAME}} SSO API involves creating security context instances (see &amp;lt;code&amp;gt;XSSOInitiatorContext&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;XSSOAcceptorContext&amp;lt;/code&amp;gt; below) and using these instances to create and process security tokens. All of the {{PRODUCTNAME}} SSO interfaces are available from the ::com::sun::star::auth namespace. The major interfaces are shown in Illustration 7.22 and described below.&lt;br /&gt;
&lt;br /&gt;
===== XSSOManagerFactory =====&lt;br /&gt;
&lt;br /&gt;
Represents the starting point for interaction with the SSO API. This interface is responsible for providing &amp;lt;code&amp;gt;XSSOManager&amp;lt;/code&amp;gt; (described below) instances based on the user&amp;#039;s configured security mechanism e.g. &amp;quot;KERBEROS&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===== XSSOManager =====&lt;br /&gt;
&lt;br /&gt;
This interface is responsible for the creation of unestablished security contexts for clients (&amp;lt;code&amp;gt;XSSOInitiatorContext&amp;lt;/code&amp;gt;) and services (&amp;lt;code&amp;gt;XSSOAcceptorContext&amp;lt;/code&amp;gt;). An &amp;lt;code&amp;gt;XSSOManager&amp;lt;/code&amp;gt; instance &amp;quot;supports&amp;quot; a single security mechanism, that is, the context instances that are created by an &amp;lt;code&amp;gt;XSSOManager&amp;lt;/code&amp;gt; instance only interact with a single security mechanism implementation.&lt;br /&gt;
&lt;br /&gt;
===== XSSOInitiatorContext =====&lt;br /&gt;
&lt;br /&gt;
This interface represents a client-side security context that is unestablished when it is created. A single method, &amp;lt;code&amp;gt;init()&amp;lt;/code&amp;gt;, is provided so that you can create an initial client-side security token that can be delivered to the relevant service and for processing or validating returned service-side security tokens (if mutual authentication is supported). The expected sequence of events for this client-side security context is:&lt;br /&gt;
&lt;br /&gt;
* The client calls &amp;lt;code&amp;gt;init()&amp;lt;/code&amp;gt;, passes NULL as the parameter, receives an appropriate client-side security token in return.&lt;br /&gt;
* The client sends the security token to the relevant service.&lt;br /&gt;
* If the service successfully processes this token, the client is authenticated.&lt;br /&gt;
* If mutual authentication is not supported, the client-side authentication sequence is now complete.&lt;br /&gt;
* If mutual authentication is supported, the service sends a service-side security token to the client.&lt;br /&gt;
* The client calls &amp;lt;code&amp;gt;init()&amp;lt;/code&amp;gt; a second time and passes the returned service-side security token as a parameter. If the token is successfully passed, the service is authenticated.&lt;br /&gt;
&lt;br /&gt;
===== XSSOAcceptorContext =====&lt;br /&gt;
&lt;br /&gt;
This interface represents a service-side security context that is not established when it is created. A single method, &amp;lt;code&amp;gt;accept()&amp;lt;/code&amp;gt;, is provided and is responsible for processing an initial client-side security token. If mutual authentication is supported, the method also generates a service-side security token for the client. The expected sequence of events for this service-side security context is:&lt;br /&gt;
&lt;br /&gt;
* The service receives the client-side security token.&lt;br /&gt;
* The service calls &amp;lt;code&amp;gt;accept()&amp;lt;/code&amp;gt;, passes the client-side security token as a parameter, and if successful, the client is authenticated.&lt;br /&gt;
* If mutual authentication is not supported, the service-side authentication sequence is now complete.&lt;br /&gt;
* If mutual authentication is supported, &amp;lt;code&amp;gt;accept()&amp;lt;/code&amp;gt; returns a non-zero length service-side security token.&lt;br /&gt;
* The service sends the service-side security token to the client to authenticate the service.&lt;br /&gt;
&lt;br /&gt;
[[Image:SSOManagerFactory.png|none|thumb|400px|Major Interfaces of the {{PRODUCTNAME}} SSO]]&lt;br /&gt;
&lt;br /&gt;
The following example is a sample usage of the {{PRODUCTNAME}} SSO API that provides the &amp;lt;code&amp;gt;authenticate()&amp;lt;/code&amp;gt; method of the fictitious client--side &amp;lt;code&amp;gt;MySSO&amp;lt;/code&amp;gt; class. For simplicity, assume that &amp;lt;code&amp;gt;MySSO&amp;lt;/code&amp;gt; has the following members:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;mSourceName&amp;lt;/code&amp;gt; identifies a client-side user that needs to authenticate to a network service.&lt;br /&gt;
* &amp;lt;code&amp;gt;mTargetName&amp;lt;/code&amp;gt; identifies the service to which the user needs to authenticate.&lt;br /&gt;
* &amp;lt;code&amp;gt;mTargetHost&amp;lt;/code&amp;gt; identifies the network host where the service of interest is running.&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
  namespace auth    = ::com::sun::star::auth;&lt;br /&gt;
  namespace lang    = ::com::sun::star::lang;&lt;br /&gt;
  namespace uno     = ::com::sun::star::uno;&lt;br /&gt;
  &lt;br /&gt;
  void MySSO::authenticate(void) {&lt;br /&gt;
      static const rtl::OUString kSSOService( &lt;br /&gt;
          RTL_CONSTASCII_USTRINGPARAM(&amp;quot;com.sun.star.auth.SSOManagerFactory&amp;quot;));&lt;br /&gt;
      uno::Reference&amp;lt; lang::XMultiServiceFactory &amp;gt; theServiceFactory =&lt;br /&gt;
          ::comphelper::getProcessServiceFactory();&lt;br /&gt;
  &lt;br /&gt;
      // Create an SSO Manager Factory.&lt;br /&gt;
      uno::Reference&amp;lt; auth::XSSOManagerFactory &amp;gt; theSSOFactory(&lt;br /&gt;
          theServiceFactory-&amp;gt;createInstance(kSSOService), uno::UNO_QUERY);&lt;br /&gt;
      if (!theSSOFactory.is()) {&lt;br /&gt;
          throw;&lt;br /&gt;
      }&lt;br /&gt;
  &lt;br /&gt;
      // Ask the SSO Manager Factory for an SSO Manager.&lt;br /&gt;
      uno::Reference&amp;lt;auth::XSSOManager&amp;gt; theSSOManager =&lt;br /&gt;
          theSSOFactory-&amp;gt;getSSOManager();&lt;br /&gt;
      if (!theSSOManager.is()) {&lt;br /&gt;
          throw;&lt;br /&gt;
      }&lt;br /&gt;
  &lt;br /&gt;
      // Ask the SSO Manager to create an unestablished client/initiator side &lt;br /&gt;
      // security context based on user name, service name and service host.&lt;br /&gt;
      uno::Reference&amp;lt;auth::XSSOInitiatorContext&amp;gt; theInitiatorContext =&lt;br /&gt;
          theSSOManager-&amp;gt;createInitiatorContext(mSourceName, mTargetName, mTargetHost);&lt;br /&gt;
  &lt;br /&gt;
      // Now create the client side security token to send to the service.&lt;br /&gt;
      uno::Sequence&amp;lt;sal_Int8&amp;gt; theClientToken = theInitiatorContext-&amp;gt;init(NULL);&lt;br /&gt;
    &lt;br /&gt;
      // The client should now send &amp;#039;theClientToken&amp;#039; to the service.&lt;br /&gt;
      // If mutual authentication is supported, the service will return a service&lt;br /&gt;
      // side security token.&lt;br /&gt;
      uno::Sequence&amp;lt;sal_Int8&amp;gt; theServerToken = &amp;#039;&amp;#039;sendToken(theClientToken);&amp;#039;&amp;#039;&lt;br /&gt;
      if (theInitiatorContext-&amp;gt;getMutual()) {&lt;br /&gt;
          theInitiatorContext-&amp;gt;init(theServerToken);&lt;br /&gt;
      }&lt;br /&gt;
  }&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
==== The SSO Password Cache ====&lt;br /&gt;
&lt;br /&gt;
When you implement the SSO API, you may require access to user passwords, especially if you are relying on a preexisting underlying security mechanism. If you do not know how to gain such access, you can use the {{PRODUCTNAME}} SSO password cache. This cache provides basic support for maintaining a list of user name or password entries. Individual entries have a default lifetime corresponding to a single user session, but can optionally exist for multiple sessions. Support is provided for adding, retrieving, and deleting cache entries. Only one entry per user name can exist in the cache at any time. If you add an entry for an existing user name, the new entry replaces the original entry.The SSO password cache is represented by a single interface, namely the &amp;lt;code&amp;gt;XSSOPasswordCache&amp;lt;/code&amp;gt; interface, available in the &amp;lt;code&amp;gt;::com::sun::star::auth namespace&amp;lt;/code&amp;gt;.&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>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/RDF_metadata&amp;diff=156234</id>
		<title>Documentation/DevGuide/OfficeDev/RDF metadata</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/RDF_metadata&amp;diff=156234"/>
		<updated>2010-02-03T16:22:28Z</updated>

		<summary type="html">&lt;p&gt;Mst: add page: RDF metadata&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/OfficeDevTOC&lt;br /&gt;
|OfficeDev2b=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/OfficeDev/OpenOffice.org Single Sign-On API&lt;br /&gt;
|NextPage=Documentation/DevGuide/Text/Text Documents&lt;br /&gt;
}}&lt;br /&gt;
{{Documentation/DevGuideLanguages|Documentation/DevGuide/OfficeDev/{{SUBPAGENAME}}}}&lt;br /&gt;
{{DISPLAYTITLE:RDF metadata}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ODF 1.2 introduces a new metadata mechanism based on RDF.&lt;br /&gt;
RDF expands to Resource Description Framework, and is an W3C standard.&lt;br /&gt;
Please refer to the W3C for information about RDF:&lt;br /&gt;
http://www.w3.org/RDF/&lt;br /&gt;
&lt;br /&gt;
Especially the first 2 sections of the RDF Primer are required reading&lt;br /&gt;
for understanding the (really quite simple) basic concepts of the RDF data model:&lt;br /&gt;
[http://www.w3.org/TR/rdf-primer/  RDF Primer]&lt;br /&gt;
&lt;br /&gt;
If you like reading an in-depth specification, please refer to:&lt;br /&gt;
[http://www.w3.org/TR/rdf-concepts/  RDF Concepts and Abstract Syntax]&lt;br /&gt;
&lt;br /&gt;
If you are interested in some motivational use cases, and an overview of the basic design from the ODF perspective, have a look at the&lt;br /&gt;
[http://www.oasis-open.org/committees/download.php/34796/09-10-22-ODF-Metadata-Examples.odt  ODF Metadata examples document].&lt;br /&gt;
&lt;br /&gt;
The {{PRODUCTNAME}} implementation of the RDF data model lives in the&lt;br /&gt;
&amp;lt;idlmodule&amp;gt;com.sun.star.rdf&amp;lt;/idlmodule&amp;gt; module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Nodes ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XNode;com.sun.star.rdf.XResource&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First, there are the basic RDF &amp;#039;&amp;#039;node&amp;#039;&amp;#039; types:&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!RDF node type&lt;br /&gt;
!Interface&lt;br /&gt;
!Service&lt;br /&gt;
|-&lt;br /&gt;
|node&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|literal&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XLiteral&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.Literal&amp;lt;/idl&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|resource&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XResource&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|URI&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.URI&amp;lt;/idl&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|blank node&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.XBlankNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.rdf.BlankNode&amp;lt;/idl&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XNode&lt;br /&gt;
{&lt;br /&gt;
    [readonly, attribute] string StringValue;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The interface &amp;lt;idls&amp;gt;com.sun.star.rdf.XResource&amp;lt;/idls&amp;gt; is only necessary to separate the literal, which is not a &amp;#039;&amp;#039;resource&amp;#039;&amp;#039;, from the blank node and URI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Literals ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XLiteral;com.sun.star.rdf.Literal&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Literals are represented by the service &amp;lt;idl&amp;gt;com.sun.star.rdf.Literal&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XLiteral : XNode&lt;br /&gt;
{&lt;br /&gt;
    [readonly, attribute] string Value;&lt;br /&gt;
    [readonly, attribute] string Language;&lt;br /&gt;
    [readonly, attribute] XURI   Datatype;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
service Literal : XLiteral&lt;br /&gt;
{&lt;br /&gt;
    create( [in] string Value );&lt;br /&gt;
&lt;br /&gt;
    createWithType( [in] string Value, [in] XURI Type );&lt;br /&gt;
&lt;br /&gt;
    createWithLanguage( [in] string Value, [in] string Language );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This service has three constructors, one for every distinct kind of literal in RDF.&lt;br /&gt;
&lt;br /&gt;
The simplest kind of literal is a plain value.&lt;br /&gt;
&lt;br /&gt;
A literal may also have a data type, which is represented by an URI.&lt;br /&gt;
Such literals are called &amp;#039;&amp;#039;typed literals&amp;#039;&amp;#039;.&lt;br /&gt;
The [http://www.w3.org/TR/xmlschema-2/  W3C XMLSchema Part 2] specification contains several widely used data types such as numbers, booleans, dates, and many more.&lt;br /&gt;
&lt;br /&gt;
It is also possible to create a literal with a specific language.&lt;br /&gt;
This makes it possible to have a multi-lingual RDF graph, where statements are repeated with the same subject and predicate, but different objects that contain the same text content in different languages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== URIs ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XURI;com.sun.star.rdf.URI&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In RDF, URIs are used to denote resources.&lt;br /&gt;
URIs may be used as subjects or objects of a statement.&lt;br /&gt;
In contrast with other node types, URIs may also be used as the predicate of a statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
service URI : XURI&lt;br /&gt;
{&lt;br /&gt;
    create( [in] string Value )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
&lt;br /&gt;
    createNS( [in] string Namespace, [in] string LocalName )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
&lt;br /&gt;
    createKnown( [in] short Id )&lt;br /&gt;
        raises( lang::IllegalArgumentException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The URI service has constructors &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:create&amp;lt;/idlm&amp;gt; and &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:createNS&amp;lt;/idlm&amp;gt;, which allow for creating an URI from a string.&lt;br /&gt;
These two constructors are very similar, but &amp;lt;code&amp;gt;createNS&amp;lt;/code&amp;gt; allows splitting the parameter into two parts, which may be useful when creating several URIs that share a prefix because they belong to the same vocabulary.&lt;br /&gt;
&lt;br /&gt;
There are many URIs that are well-known because they are specified in various standards, such as XMLSchema datatypes, RDF concepts, OWL, and ODF.&lt;br /&gt;
&lt;br /&gt;
There is a convenient way to construct such URIs:&lt;br /&gt;
using the &amp;lt;idlm&amp;gt;com.sun.star.rdf.URI:createKnown&amp;lt;/idlm&amp;gt; constructor, together with constants from the &amp;lt;idl&amp;gt;com.sun.star.rdf.URIs&amp;lt;/idl&amp;gt; constant group.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XURI xContentFile = rdf.URI.createKnown(rdf.URIs.ODF_CONTENTFILE);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, string literals would be easier to use, but unfortunately UNO IDL does not permit them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Blank nodes ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XBlankNode;com.sun.star.rdf.BlankNode&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The other kind of RDF node is the blank node, which is a resource, but in contrast to an URI, is not unique.&lt;br /&gt;
Because blank nodes are not unique, you should only construct them with the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:createBlankNode&amp;lt;/idlm&amp;gt; method, not with the service constructor, and you should never use a blank node with a different repository than the one that created it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Statements ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.Statement&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using these nodes, RDF &amp;#039;&amp;#039;statements&amp;#039;&amp;#039; can be constructed, which are&lt;br /&gt;
basically subject-predicate-object triples.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
struct Statement&lt;br /&gt;
{&lt;br /&gt;
    XResource Subject;&lt;br /&gt;
    XURI      Predicate;&lt;br /&gt;
    XNode     Object;&lt;br /&gt;
    /// the named graph that contains this statement, or &amp;lt;NULL/&amp;gt;.&lt;br /&gt;
    XURI      Graph;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The subject of the statement is the entity that the statement is about.&lt;br /&gt;
The subject must be either an URI or a blank node; a literal is not allowed.&lt;br /&gt;
&lt;br /&gt;
The predicate denotes what the relationship between the subject and the object is.&lt;br /&gt;
In order to ensure that statements have a machine-readable semantics, only URIs are allowed as predicates.&lt;br /&gt;
&lt;br /&gt;
The object of the statement may be any kind of RDF node.&lt;br /&gt;
&lt;br /&gt;
If you put many statements together, and these statements share subjects and objects, then you will get a RDF &amp;#039;&amp;#039;graph&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Graphs ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Graphs are represented by the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idl&amp;gt;.&lt;br /&gt;
As the name implies, a &amp;#039;&amp;#039;named graph&amp;#039;&amp;#039; has a name, which is a URI.&lt;br /&gt;
This is why the &amp;lt;idls&amp;gt;com.sun.star.rdf.XNamedGraph&amp;lt;/idls&amp;gt; interface inherits from &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | This means that you can easily create RDF statements about named graphs.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XNamedGraph : XURI&lt;br /&gt;
{&lt;br /&gt;
    XURI getName();&lt;br /&gt;
&lt;br /&gt;
    void clear()&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void addStatement(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void removeStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ getStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( container::NoSuchElementException, RepositoryException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The individual methods will be discussed in subsequent sections.&lt;br /&gt;
There is no service for a named graph, because named graphs always live in a repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Repository ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XRepository;com.sun.star.rdf.XRepositorySupplier&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The repository is the centerpiece of the RDF API.&lt;br /&gt;
It is defined in the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XRepository&amp;lt;/idl&amp;gt;, and the service &amp;lt;idl&amp;gt;com.sun.star.rdf.Repository&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XRepository&lt;br /&gt;
{&lt;br /&gt;
    XBlankNode createBlankNode();&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph importGraph([in] /*FileFormat*/ short Format,&lt;br /&gt;
                [in] io::XInputStream InStream,&lt;br /&gt;
                [in] XURI GraphName, [in] XURI BaseURI)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                datatransfer::UnsupportedFlavorException,&lt;br /&gt;
                container::ElementExistException, ParseException,&lt;br /&gt;
                RepositoryException, io::IOException );&lt;br /&gt;
&lt;br /&gt;
    void exportGraph([in] /*FileFormat*/ short Format,&lt;br /&gt;
                [in] io::XOutputStream OutStream,&lt;br /&gt;
                [in] XURI GraphName, [in] XURI BaseURI)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                datatransfer::UnsupportedFlavorException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException,&lt;br /&gt;
                io::IOException );&lt;br /&gt;
&lt;br /&gt;
    sequence&amp;lt;XURI&amp;gt; getGraphNames()&lt;br /&gt;
        raises( RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph getGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    XNamedGraph createGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::ElementExistException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    void destroyGraph([in] XURI GraphName)&lt;br /&gt;
        raises( lang::IllegalArgumentException,&lt;br /&gt;
                container::NoSuchElementException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ getStatements(&lt;br /&gt;
            [in] XResource Subject, [in] XURI Predicate, [in] XNode Object)&lt;br /&gt;
        raises( RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;SELECT&amp;quot; query.&lt;br /&gt;
    XQuerySelectResult querySelect([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;CONSTRUCT&amp;quot; query.&lt;br /&gt;
    container::XEnumeration/*&amp;lt;Statement&amp;gt;*/ queryConstruct([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
&lt;br /&gt;
    /// executes a SPARQL &amp;quot;ASK&amp;quot; query.&lt;br /&gt;
    boolean queryAsk([in] string Query)&lt;br /&gt;
        raises( QueryException, RepositoryException );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A RDF repository is basically a set of named RDF graphs.&lt;br /&gt;
The names of the contained graphs can be retrieved via the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getGraphNames&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
An individual graph can be retrieved via the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getGraph&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
&lt;br /&gt;
A repository may be created as a stand-alone service, or it may be associated with a loaded ODF document.&lt;br /&gt;
The graphs in a document repository correspond to streams in an ODF package, and thus the graph names consist of the URI of the ODF package and the relative path of the stream within the package.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | For a document repository, you should not call the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:createGraph&amp;lt;/idlm&amp;gt;, &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:destroyGraph&amp;lt;/idlm&amp;gt; or &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:importGraph&amp;lt;/idlm&amp;gt; methods directly; instead, call the respective methods of &amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;, as described below.}}&lt;br /&gt;
&lt;br /&gt;
Services that provide an RDF repository implement the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XRepositorySupplier&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XRepositorySupplier&lt;br /&gt;
{&lt;br /&gt;
    XRepository getRDFRepository();&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Document integration ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess;com.sun.star.rdf.XMetadatable&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The other main part of the RDF API is the integration in document models.&lt;br /&gt;
This purpose is served by the interface&lt;br /&gt;
&amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;, which is implemented&lt;br /&gt;
by the &amp;lt;code&amp;gt;Model&amp;lt;/code&amp;gt; service of documents.&lt;br /&gt;
&lt;br /&gt;
Furthermore, there is the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idl&amp;gt;, which allows document content entities to be used as subjects or objects in the methods that manipulate RDF graphs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
interface XMetadatable : XURI&lt;br /&gt;
{&lt;br /&gt;
    [attribute] beans::StringPair MetadataReference {&lt;br /&gt;
        set raises ( lang::IllegalArgumentException );&lt;br /&gt;
    };&lt;br /&gt;
&lt;br /&gt;
    void ensureMetadataReference();&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | The &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; interface has an attribute &amp;lt;idlm&amp;gt;com.sun.star.rdf.XMetadatable:MetadataReference&amp;lt;/idlm&amp;gt;.  This attribute is only meant to be set by import filters, such as the ODF import filter.  Extensions should use &amp;lt;idlm&amp;gt;com.sun.star.rdf.XMetadatable:ensureMetadataReference&amp;lt;/idlm&amp;gt;, or simply use a &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; as a parameter to &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:addStatement&amp;lt;/idlm&amp;gt;, which will automatically call &amp;lt;code&amp;gt;ensureMetadataReference()&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Annotated text range ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The service &amp;lt;idl&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idl&amp;gt; allows to add annotations to a range of text.&lt;br /&gt;
The range of text must be contained within a single paragraph, and annotations must not overlap (but they are allowed to nest).&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | In essence, this is a &amp;lt;code&amp;gt;span&amp;lt;/code&amp;gt; with a &amp;lt;code&amp;gt;xml:id&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    text.XText = xDoc.getText();&lt;br /&gt;
    text.XTextCursor xCursor = ... // position to where you want the annotation&lt;br /&gt;
    Object xMeta = xDocFactory.createInstance(&lt;br /&gt;
            &amp;quot;com.sun.star.text.InContentMetadata&amp;quot;);&lt;br /&gt;
    text.XTextContent xContent = (text.XTextContent)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XTextContent.class, xMeta);&lt;br /&gt;
    try {&lt;br /&gt;
        xDocText.insertTextContent(xCursor, xMeta, true);&lt;br /&gt;
    } catch (lang.IllegalArgumentException) {&lt;br /&gt;
        // overlap?&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the &amp;lt;code&amp;gt;InContentMetadata&amp;lt;/code&amp;gt; is successfully inserted, you can add metadata by just using it as the subject or object of an RDF statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xMetadatable = (rdf.XMetadatable)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XMetadatable.class, xContent);&lt;br /&gt;
    rdf.XURI xComment = rdf.URI.createKnown(rdf.URIs.RDFS_COMMENT);&lt;br /&gt;
    rdf.XLiteral xObj = rdf.Literal.create(&amp;quot;a most interesting description&amp;quot;);&lt;br /&gt;
    rdf.XNamedGraph xGraph = xDocRepository.getGraph(xMyGraphURI);&lt;br /&gt;
    xGraph.addStatement(xMetadatable, xComment, xObj);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Metadata field ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.text.MetadataField&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a new text field that is explicitly designed for being used with RDF metadata: &amp;lt;idl&amp;gt;com.sun.star.text.textfield.MetadataField&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In contrast with the &amp;lt;code&amp;gt;InContentMetadata&amp;lt;/code&amp;gt;, where an &amp;#039;&amp;#039;existing&amp;#039;&amp;#039; range of text is being annotated with additional metadata, the metadata field allows for text content to be &amp;#039;&amp;#039;generated from&amp;#039;&amp;#039; RDF metadata.&lt;br /&gt;
&lt;br /&gt;
For example, a bibliography extension could use a metadata field to insert a citation.&lt;br /&gt;
The user could tell the bibliography extension which citation format should be used, and the extension will generate the content of all the citation metadata fields based on this choice.&lt;br /&gt;
The extension may use some bibliography database that may also be stored as an RDF graph.&lt;br /&gt;
&lt;br /&gt;
Metadata fields must be contained within a single paragraph, and must not overlap (but they are allowed to nest).&lt;br /&gt;
&lt;br /&gt;
To enable generating the content, the metadata field implements the &amp;lt;idl&amp;gt;com.sun.star.text.XText&amp;lt;/idl&amp;gt; interface.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    text.XTextContent xMetafield = ... ; // get an inserted metadata field&lt;br /&gt;
    text.XText xMetafieldText = (text.XText)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XText.class, xMetafield);&lt;br /&gt;
    xMetafieldText.setString(&amp;quot;&amp;quot;); // clear the field: delete all content&lt;br /&gt;
    text.XTextCursor xCursor = xMetafieldText.createCursor();&lt;br /&gt;
    xMetafieldText.insertString(xCursor, &amp;quot;field content&amp;quot;, true);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, you can not just insert plain text, but everything that you could insert into a paragraph.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    xCursor.gotoEnd(false);&lt;br /&gt;
    text.XTextContent xFootnote = ... ; // create and init footnote&lt;br /&gt;
    xMetafieldText.insertTextContent(xCursor, xFootnote, false);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Metadata fields have another interesting aspect: they can have a &amp;#039;&amp;#039;prefix&amp;#039;&amp;#039; and/or &amp;#039;&amp;#039;suffix&amp;#039;&amp;#039; text that is taken from one of the RDF graphs in the document.&lt;br /&gt;
In this way you can create a metadata field with text content that is automatically displayed (non-editable) based on an RDF statement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xMetafield = ... ; // get an inserted metadata field&lt;br /&gt;
    rdf.XNamedGraph xGraph = xDocRepository.getGraph(xMyGraphURI);&lt;br /&gt;
    rdf.XURI xPrefix = rdf.URI.createKnown(rdf.URIs.ODF_PREFIX);&lt;br /&gt;
    xGraph.addStatement(xMetafield, xPrefix,&lt;br /&gt;
        &amp;quot;this text will be displayed as prefix content of the field&amp;quot;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Other document entities ===&lt;br /&gt;
&lt;br /&gt;
In addition to the annotated text range and the metadata field, other document content entities implement the &amp;lt;idls&amp;gt;com.sun.star.rdf.XMetadatable&amp;lt;/idls&amp;gt; interface as well.&lt;br /&gt;
These entities can thus be used in RDF statements.&lt;br /&gt;
The list of entities which can be thus annotated will grow in future releases of {{PRODUCTNAME}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Adding metadata to a document ===&lt;br /&gt;
&lt;br /&gt;
The metadata support in ODF 1.2 allows for adding RDF graphs to an ODF package.&lt;br /&gt;
Every RDF graph is stored as an &amp;lt;code&amp;gt;RDF/XML&amp;lt;/code&amp;gt; stream in the package.&lt;br /&gt;
&lt;br /&gt;
There is a special RDF graph called the &amp;#039;&amp;#039;metadata manifest&amp;#039;&amp;#039;.&lt;br /&gt;
This RDF graph belongs to a document and enumerates all the files relevant for metadata, such as the individual RDF/XML files.&lt;br /&gt;
&lt;br /&gt;
This manifest graph is maintained by {{PRODUCTNAME}} itself; extension authors should not modify it directly, but use the interface &amp;lt;idl&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess&amp;lt;/idl&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In order to isolate different metadata users, every extension that wants to add metadata should create one (or several) own RDF graph(s).&lt;br /&gt;
It is recommended to give the new graphs a &amp;#039;&amp;#039;type&amp;#039;&amp;#039; that identifies what kind of information is contained, especially if a well-known RDF vocabulary is used.&lt;br /&gt;
With the method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:addMetadataFile&amp;lt;/idlm&amp;gt;, you can specify as many types as you want for a graph.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    try {&lt;br /&gt;
        rdf.XURI xGraphName = xDMA.addMetadataFile(&amp;quot;myextension/mygraph.rdf&amp;quot;,&lt;br /&gt;
            new rdf.XURI[] { xType } );&lt;br /&gt;
        rdf.XNamedGraph xGraph = xDMA.getRDFRepository().getGraph(xGraphName);&lt;br /&gt;
    } catch (container.ElementExistException e) { // filename exists?&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note| Choose a stream name that is unlikely to conflict with other extensions.  The preferred suffix is &amp;lt;code&amp;gt;.rdf&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Tip | The method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:importMetadataFile&amp;lt;/idlm&amp;gt; allows to import an existing RDF/XML file into the document RDF repository.}}&lt;br /&gt;
&lt;br /&gt;
Now you can simply insert RDF statements into the graph:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XMetadatable xElement = ...; // some document content entity&lt;br /&gt;
    rdf.XURI xLabel = rdf.URI.createKnown(rdf.URIs.RDFS_LABEL);&lt;br /&gt;
    rdf.XLiteral xObj = rdf.Literal.create(&amp;quot;a most interesting description&amp;quot;);&lt;br /&gt;
    xGraph.addStatement(xElement, xLabel, xObj);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reading metadata from a document ===&lt;br /&gt;
&lt;br /&gt;
In order to read metadata that is stored in a document, query the RDF repository of the document.&lt;br /&gt;
&lt;br /&gt;
There are basically two ways to do this.&lt;br /&gt;
One way is to use the getter methods at the named graph and repository interfaces.&lt;br /&gt;
The method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:getStatements&amp;lt;/idlm&amp;gt; will return all statements in any graph in the repository that match the given parameters.&lt;br /&gt;
But note that this is not necessarily what you want.&lt;br /&gt;
Usually, an extension is only interested in the metadata it has itself inserted.&lt;br /&gt;
Thus it is better to first get the graph(s) that the extension is interested in, and then only query those graphs via &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:getStatements&amp;lt;/idlm&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    rdf.XURI[] GraphNames = xDMA.getMetadataGraphsWithType(xType);&lt;br /&gt;
    for (rdf.XURI xGraphName : GraphNames) {&lt;br /&gt;
        rdf.XNamedGraph xGraph = xDMA.getRDFRepository().getGraph(xGraphName);&lt;br /&gt;
        // replace nulls with interesting URIs&lt;br /&gt;
        container.XEnumeration xResult = xGraph.getStatements(null, null, null);&lt;br /&gt;
        while (xResult.hasMoreElements()) {&lt;br /&gt;
            rdf.Statement stmt = (rdf.Statement) xResult.nextElement();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The other way of getting information out of the repository is via the [http://www.w3.org/TR/rdf-sparql-query/  SPARQL query language].&lt;br /&gt;
&lt;br /&gt;
The same considerations as above apply: by default, the result will contain information from all graphs in the repository.&lt;br /&gt;
You can restrict the graphs via the &amp;lt;code&amp;gt;GRAPH&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;FROM&amp;lt;/code&amp;gt; clauses.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xType = rdf.URI.create(&amp;quot;http://example.com/myextension/v1.0&amp;quot;);&lt;br /&gt;
    rdf.XURI[] GraphNames = xDMA.getMetadataGraphsWithType(xType);&lt;br /&gt;
    if (GraphNames.length &amp;gt; 0) {&lt;br /&gt;
        String graphName = GraphNames[0].getStringValue();&lt;br /&gt;
        String query =&lt;br /&gt;
            &amp;quot;CONSTRUCT { ?s ?p ?o } WHERE { GRAPH &amp;lt;&amp;quot;&lt;br /&gt;
                + graphName + &amp;quot;&amp;gt; { ?s ?p ?o } . }&amp;quot;;&lt;br /&gt;
        container.XEnumeration xResult =&lt;br /&gt;
            xDMA.getRDFRepository().queryConstruct(query);&lt;br /&gt;
        while (xResult.hasMoreElements()) {&lt;br /&gt;
            rdf.Statement stmt = (rdf.Statement) xResult.nextElement();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Besides the &amp;lt;code&amp;gt;CONSTRUCT&amp;lt;/code&amp;gt; query shown above, there are also the methods &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:querySelect&amp;lt;/idlm&amp;gt;, which returns a table of results, and &amp;lt;idlm&amp;gt;com.sun.star.rdf.XRepository:queryAsk&amp;lt;/idlm&amp;gt;, which simply returns a &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt;.&lt;br /&gt;
There are different methods for the different query types because the return types differ.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Always use the query method that matches the query type.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mapping from URIs to document entities ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess;com.sun.star.rdf.XMetadatable&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that for a document content annotation the RDF repository will only give you an URI in its results, not the actual document content entity.&lt;br /&gt;
In order to map the URI to the document entity, use the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:getElementByURI&amp;lt;/idlm&amp;gt; method.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    rdf.XDocumentMetadataAccess xDMA = (rdf.XDocumentMetadataAccess)&lt;br /&gt;
        UnoRuntime.queryInterface(rdf.XDocumentMetadataAccess.class, xModel);&lt;br /&gt;
    rdf.XURI xElemURI = ... // query the document repository&lt;br /&gt;
    rdf.XMetadatable xElement = xDMA.getElementByURI(xElemURI);&lt;br /&gt;
    text.XTextContent xElemContent = (text.XTextContent)&lt;br /&gt;
        UnoRuntime.queryInterface(text.XTextContent.class, xElement);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Tip | You can check if an URI refers to a document entity: it does if it has as a prefix the &amp;#039;&amp;#039;base URI&amp;#039;&amp;#039; of the document, which is available as the &amp;lt;idls&amp;gt;com.sun.star.rdf.XURI&amp;lt;/idls&amp;gt; implementation of the document model.  But please keep in mind that the document entity does not need to exist, because it may have been removed from the document.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Removing metadata from a document ===&lt;br /&gt;
&lt;br /&gt;
The named graph supports the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:removeStatements&amp;lt;/idlm&amp;gt; method, which removes all statements that match the parameters from the graph.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Note | There is no update operation.  If you want to update an RDF statement, you have to remove the existing statement, and insert a new one.}}&lt;br /&gt;
&lt;br /&gt;
Also, there is the &amp;lt;idlm&amp;gt;com.sun.star.rdf.XNamedGraph:clear&amp;lt;/idlm&amp;gt; method, which is equivalent to &amp;lt;code&amp;gt;removeStatements(null, null, null)&amp;lt;/code&amp;gt;, and removes all statements from the graph.&lt;br /&gt;
&lt;br /&gt;
For removing whole metadata streams from an ODF document, there is the method &amp;lt;idlm&amp;gt;com.sun.star.rdf.XDocumentMetadataAccess:removeMetadataFile&amp;lt;/idlm&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Vocabulary ===&lt;br /&gt;
&lt;br /&gt;
Some notes on RDF vocabularies; of course, a comprehensive discussion of RDF design is beyond the scope of this guide.&lt;br /&gt;
&lt;br /&gt;
{{Documentation/Caution | Do not use URIs based on the document base URI as properties.  Properties should be independent of the location of the document.}}&lt;br /&gt;
&lt;br /&gt;
An important question when adding RDF metadata is: which vocabulary do you use?&lt;br /&gt;
First, it is usually a good idea to re-use an existing vocabulary.&lt;br /&gt;
This will improve the chances that other software, which also supports the existing vocabulary, is able to do something interesting and useful with the metadata that is added.&lt;br /&gt;
&lt;br /&gt;
For example, for basic datatypes you can use the types specified in [http://www.w3.org/TR/xmlschema-2/  W3C XMLSchema Part 2].&lt;br /&gt;
A well-known vocabulary for expressing social relations is [http://www.foaf-project.org/  Friend-of-a-Friend].&lt;br /&gt;
A directory of RDF schemata can be found at [http://schemaweb.info/  SchemaWeb].&lt;br /&gt;
Another useful resource might be [http://dbpedia.org/  DBPedia].&lt;br /&gt;
&lt;br /&gt;
If you do not find an existing vocabulary that matches your use case, here are some hints for designing your own:&lt;br /&gt;
The most important thing is that the URIs should really be unique.&lt;br /&gt;
If you have a DNS domain, then that is quite easy to achieve: use URIs like &amp;lt;code&amp;gt;http://example.com/myvocabulary/v1.0/foo&amp;lt;/code&amp;gt;.&lt;br /&gt;
It is probably a good idea to use a versioned namespace prefix like &amp;lt;code&amp;gt;http://example.com/myvocabulary/v1.0/&amp;lt;/code&amp;gt; for all URIs, and a special prefix for properties (like &amp;lt;code&amp;gt;http://example.com/myvocabulary/v1.0/properties/&amp;lt;/code&amp;gt;.&lt;br /&gt;
The version component allows you to evolve the vocabulary to meet future requirements.&lt;br /&gt;
Now you can use the versioned namespace prefix to denote the format, i.e., as a type for your metadata stream, making it easy to find.&lt;br /&gt;
You can also create an actual HTML page to document the vocabulary at the URI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Status ===&lt;br /&gt;
&lt;br /&gt;
As of OOo version 3.2, RDF metadata is only supported in writer documents.&lt;br /&gt;
The generic RDF parts of the API are all implemented.&lt;br /&gt;
The document integration parts are not yet completely implemented:&lt;br /&gt;
most elements do not support the &amp;lt;code&amp;gt;xml:id&amp;lt;/code&amp;gt; that is required for use with RDF.&lt;br /&gt;
The following elements can be annotated:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!ODF element&lt;br /&gt;
!Service&lt;br /&gt;
!description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:p&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Paragraph&amp;lt;/idl&amp;gt;&lt;br /&gt;
|paragraph&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:h&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Paragraph&amp;lt;/idl&amp;gt;&lt;br /&gt;
|heading&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:bookmark&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Bookmark&amp;lt;/idl&amp;gt;&lt;br /&gt;
|bookmark&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:bookmark-start&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.Bookmark&amp;lt;/idl&amp;gt;&lt;br /&gt;
|bookmark&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:meta&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.InContentMetadata&amp;lt;/idl&amp;gt;&lt;br /&gt;
|annotated text range&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;amp;lt;text:meta-field&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.text.textfield.MetadataField&amp;lt;/idl&amp;gt;&lt;br /&gt;
|text field whose content is generated from metadata&lt;br /&gt;
|}&lt;br /&gt;
&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>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/Text/Printing_Text_Documents&amp;diff=156158</id>
		<title>Documentation/DevGuide/Text/Printing Text Documents</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/Text/Printing_Text_Documents&amp;diff=156158"/>
		<updated>2010-02-02T15:24:34Z</updated>

		<summary type="html">&lt;p&gt;Mst: typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/TextTOC&lt;br /&gt;
|Text2a=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/Text/Saving Text Documents&lt;br /&gt;
|NextPage=Documentation/DevGuide/Text/Working with Text Documents&lt;br /&gt;
}}&lt;br /&gt;
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Text/{{SUBPAGENAME}}}} &lt;br /&gt;
 {{DISPLAYTITLE:Printing Text Documents}}&lt;br /&gt;
=== Printer and Print Job Settings ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.view.XPrintable&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
Printing is a common office functionality. The chapter [[Documentation/DevGuide/OfficeDev/Office Development|Office Development]] provides in-depth information about it. The writer document implements the &amp;lt;idl&amp;gt;com.sun.star.view.XPrintable&amp;lt;/idl&amp;gt; interface for printing. It consists of three methods:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
  sequence&amp;lt; com::sun::star::beans::PropertyValue &amp;gt; getPrinter ()&lt;br /&gt;
  void setPrinter ( [in] sequence&amp;lt; com::sun::star::beans::PropertyValue &amp;gt; aPrinter)&lt;br /&gt;
  void print ( [in] sequence&amp;lt; com::sun::star::beans::PropertyValue &amp;gt; xOptions)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The following code is used with a given document xDoc to print to the standard printer without any settings: &lt;br /&gt;
&amp;lt;!--[SOURCE:Text/TextDocuments.java]--&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
  // query the XPrintable interface from your document&lt;br /&gt;
  XPrintable xPrintable = (XPrintable)UnoRuntime.queryInterface(XPrintable.class, xDoc);&lt;br /&gt;
  &lt;br /&gt;
  // create an empty printOptions array&lt;br /&gt;
  PropertyValue[] printOpts = new PropertyValue[0];&lt;br /&gt;
  &lt;br /&gt;
  // kick off printing&lt;br /&gt;
  xPrintable.print(printOpts);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
There are two groups of properties involved in general printing. The first one is used with &amp;lt;code&amp;gt;setPrinter()&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;getPrinter()&amp;lt;/code&amp;gt; that controls the printer, and the second one is passed to &amp;lt;code&amp;gt;print()&amp;lt;/code&amp;gt; and controls the print job.&lt;br /&gt;
&lt;br /&gt;
[http://api.openoffice.org/docs/common/ref/com/sun/star/view/PrinterDescriptor.html  com.sun.star.view.PrinterDescriptor] comprises the properties for the printer:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Properties of &amp;lt;idl&amp;gt;com.sun.star.view.PrinterDescriptor&amp;lt;/idl&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.view.PrinterDescriptor:Name&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; - Specifies the name of the printer queue to be used. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.view.PrinterDescriptor:PaperOrientation&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.view.PaperOrientation&amp;lt;/idl&amp;gt;. Specifies the orientation of the paper.  &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.view.PrinterDescriptor:PaperFormat&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.view.PaperFormat&amp;lt;/idl&amp;gt;. Specifies a predefined paper size or if the paper size is a user-defined size. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.view.PrinterDescriptor:PaperSize&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;idl&amp;gt;com.sun.star.awt.Size&amp;lt;/idl&amp;gt;. Specifies the size of the paper in 1/100 mm. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.view.PrinterDescriptor:IsBusy&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; - Indicates if the printer is busy. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.view.PrinterDescriptor:CanSetPaperOrientation&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; - Indicates if the printer allows changes to &amp;lt;code&amp;gt;PaperOrientation&amp;lt;/code&amp;gt;. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.view.PrinterDescriptor:CanSetPaperFormat&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; - Indicates if the printer allows changes to &amp;lt;code&amp;gt;PaperFormat&amp;lt;/code&amp;gt;. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.view.PrinterDescriptor:CanSetPaperSize&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; - Indicates if the printer allows changes to &amp;lt;code&amp;gt;PaperSize&amp;lt;/code&amp;gt;. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;idl&amp;gt;com.sun.star.view.PrintOptions&amp;lt;/idl&amp;gt; contains the following possibilities for a print job:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Properties of &amp;lt;idl&amp;gt;com.sun.star.view.PrintOptions&amp;lt;/idl&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.view.PrintOptions:CopyCount&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;short&amp;lt;/code&amp;gt; - Specifies the number of copies to print. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.view.PrintOptions:FileName&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; - Specifies the name of a file to print to, if set. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.view.PrintOptions:Collate&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; - Advises the printer to collate the pages of the copies. If true, a whole document is printed prior to the next copy, otherwise the page copies are completed together. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.view.PrintOptions:Pages&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; - Specifies the pages to print in the same format as in the print dialog of the GUI (e.g. &amp;quot;1, 3, 4-7, 9-&amp;quot;) &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.view.PrintOptions:Wait&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; - Advises that the print job should be performed synchronously, i.e. wait until printing is complete before returning from printing. Otherwise return is immediate and following actions (e.g. closing the corresponding model) may fail until printing is complete. Default is false.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The following method uses &amp;lt;code&amp;gt;PrinterDescriptor&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;PrintOptions&amp;lt;/code&amp;gt; to print to a special printer, and preselect the pages to print. &lt;br /&gt;
&amp;lt;!--[SOURCE:Text/TextDocuments.java]--&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
  protected void printDocComponent(XComponent xDoc) throws java.lang.Exception {&lt;br /&gt;
      XPrintable xPrintable = (XPrintable)UnoRuntime.queryInterface(XPrintable.class, xDoc);&lt;br /&gt;
      PropertyValue[] printerDesc = new PropertyValue[1];&lt;br /&gt;
      printerDesc[0] = new PropertyValue();&lt;br /&gt;
      printerDesc[0].Name = &amp;quot;Name&amp;quot;;&lt;br /&gt;
      printerDesc[0].Value = &amp;quot;5D PDF Creator&amp;quot;; &lt;br /&gt;
  &lt;br /&gt;
      xPrintable.setPrinter(printerDesc); &lt;br /&gt;
  &lt;br /&gt;
      PropertyValue[] printOpts = new PropertyValue[1];&lt;br /&gt;
      printOpts[0] = new PropertyValue();&lt;br /&gt;
      printOpts[0].Name = &amp;quot;Pages&amp;quot;;&lt;br /&gt;
      printOpts[0].Value = &amp;quot;3-5,7&amp;quot;; &lt;br /&gt;
  &lt;br /&gt;
      xPrintable.print(printOpts);&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
=== Printing Multiple Pages on one Page ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.text.XPagePrintable&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
The interface &amp;lt;idl&amp;gt;com.sun.star.text.XPagePrintable&amp;lt;/idl&amp;gt; is used to print more than one document page to a single printed page. &lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
  sequence&amp;lt; com::sun::star::beans::PropertyValue &amp;gt; getPagePrintSettings()&lt;br /&gt;
  void setPagePrintSettings( [in] sequence&amp;lt; com::sun::star::beans::PropertyValue &amp;gt; aSettings)&lt;br /&gt;
  void printPages( [in] sequence&amp;lt; com::sun::star::beans::PropertyValue &amp;gt; xOptions) &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The first two methods &amp;lt;code&amp;gt;getPagePrintSettings()&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;setPagePrintSettings()&amp;lt;/code&amp;gt; control the page printing. They use a sequence of &amp;lt;idl&amp;gt;com.sun.star.beans.PropertyValue&amp;lt;/idl&amp;gt;s whose possible values are defined in &amp;lt;idl&amp;gt;com.sun.star.text.PagePrintSettings&amp;lt;/idl&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=4 style=&amp;quot;border-collapse:collapse;&amp;quot;&lt;br /&gt;
|-bgcolor=#EDEDED&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Properties of &amp;lt;idl&amp;gt;com.sun.star.text.PagePrintSettings&amp;lt;/idl&amp;gt;  &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.text.PagePrintSettings:PageRows&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;short&amp;lt;/code&amp;gt; - Number of rows in which document pages should appear on the output page. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.text.PagePrintSettings:PageColumns&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;short&amp;lt;/code&amp;gt; - Number of columns in which document pages should appear on the output page. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.text.PagePrintSettings:LeftMargin&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;long&amp;lt;/code&amp;gt; - Left margin on the output page. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.text.PagePrintSettings:RightMargin&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;long&amp;lt;/code&amp;gt; - Right margin on the output page. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.text.PagePrintSettings:TopMargin&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;long&amp;lt;/code&amp;gt; - Top margin on the output page. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.text.PagePrintSettings:BottomMargin&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;long&amp;lt;/code&amp;gt; - Bottom margin on the output page. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.text.PagePrintSettings:HoriMargin&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;long&amp;lt;/code&amp;gt; - Margin between the columns on the output page. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.text.PagePrintSettings:VertMargin&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;long&amp;lt;/code&amp;gt; - Margin between the rows on the output page. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;idlm&amp;gt;com.sun.star.text.PagePrintSettings:IsLandscape&amp;lt;/idlm&amp;gt; &lt;br /&gt;
|&amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; - Determines if the output page is in landscape format. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The method &amp;lt;code&amp;gt;printPages()&amp;lt;/code&amp;gt; prints the document according to the previous settings. The argument for the &amp;lt;code&amp;gt;printPages()&amp;lt;/code&amp;gt; method may contain the &amp;lt;code&amp;gt;PrintOptions&amp;lt;/code&amp;gt; as described in the section above (containing the properties &amp;lt;code&amp;gt;CopyCount&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;FileName&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Collate&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Pages&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
{{PDL1}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Developer&amp;#039;s Guide/Text Documents]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/Text/Saving_Text_Documents&amp;diff=156156</id>
		<title>Documentation/DevGuide/Text/Saving Text Documents</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/Text/Saving_Text_Documents&amp;diff=156156"/>
		<updated>2010-02-02T15:17:08Z</updated>

		<summary type="html">&lt;p&gt;Mst: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/TextTOC&lt;br /&gt;
|Text2a=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/Text/Handling Text Document Files&lt;br /&gt;
|NextPage=Documentation/DevGuide/Text/Printing Text Documents&lt;br /&gt;
}}&lt;br /&gt;
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Text/{{SUBPAGENAME}}}} &lt;br /&gt;
 {{DISPLAYTITLE:Saving Text Documents}}&lt;br /&gt;
=== Storing ===&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.frame.XStorable&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
Documents are storable through their interface &amp;lt;idl&amp;gt;com.sun.star.frame.XStorable&amp;lt;/idl&amp;gt;. This interface is discussed in detail in [[Documentation/DevGuide/OfficeDev/Office Development|Office Development]]. An &amp;lt;code&amp;gt;XStorable&amp;lt;/code&amp;gt; implements these operations:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
  boolean hasLocation()&lt;br /&gt;
  string getLocation()&lt;br /&gt;
  boolean isReadonly()&lt;br /&gt;
  void store() &lt;br /&gt;
  void storeAsURL( [in] string aURL, sequence&amp;lt; com::sun::star::beans::PropertyValue &amp;gt; aArgs)&lt;br /&gt;
  void storeToURL( [in] string aURL, sequence&amp;lt; com::sun::star::beans::PropertyValue &amp;gt; aArgs) &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The method names are evident. The method &amp;lt;code&amp;gt;storeAsUrl()&amp;lt;/code&amp;gt; is the exact representation of &amp;#039;&amp;#039;&amp;#039;File - Save As&amp;#039;&amp;#039;&amp;#039;, that is, it changes the current document location. In contrast, &amp;lt;code&amp;gt;storeToUrl()&amp;lt;/code&amp;gt; stores a copy to a new location, but leaves the current document URL untouched. &lt;br /&gt;
&lt;br /&gt;
=== Exporting ===&lt;br /&gt;
&lt;br /&gt;
For exporting purposes, a filter name can be passed to &amp;lt;code&amp;gt;storeAsURL()&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;storeToURL()&amp;lt;/code&amp;gt; that triggers an export to other file formats. The property needed for this purpose is the string argument &amp;lt;code&amp;gt;FilterName&amp;lt;/code&amp;gt; that takes filter names defined in the configuration file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;OfficePath&amp;gt;\share\config\registry\instance\org\openoffice\Office\TypeDetection.xml&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
In &amp;#039;&amp;#039;TypeDetection.xml&amp;#039;&amp;#039;, look for &amp;lt;code&amp;gt;&amp;lt;Filter/&amp;gt;&amp;lt;/code&amp;gt; elements, their &amp;lt;code&amp;gt;cfg:name&amp;lt;/code&amp;gt; attribute contains the needed strings for &amp;lt;code&amp;gt;FilterName&amp;lt;/code&amp;gt;. The proper filter name for StarWriter 5.x is &amp;quot;StarWriter 5.0&amp;quot;, and the export format &amp;quot;MS Word 97&amp;quot; is also popular. This is the element in &amp;#039;&amp;#039;TypeDetection.xml&amp;#039;&amp;#039; that describes the MS Word 97 filter:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;Filter cfg:name=&amp;quot;MS Word 97&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;Installed cfg:type=&amp;quot;boolean&amp;quot;&amp;gt;true&amp;lt;/Installed&amp;gt; &lt;br /&gt;
     &amp;lt;UIName cfg:type=&amp;quot;string&amp;quot; cfg:localized=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;cfg:value xml:lang=&amp;quot;en-US&amp;quot;&amp;gt;Microsoft Word 97/2000/XP&amp;lt;/cfg:value&amp;gt; &lt;br /&gt;
     &amp;lt;/UIName&amp;gt;&lt;br /&gt;
     &amp;lt;Data cfg:type=&amp;quot;string&amp;quot;&amp;gt;3,writer_MS_Word_97,com.sun.star.text.TextDocument,,67,CWW8,0,,&amp;lt;/Data&amp;gt; &lt;br /&gt;
  &amp;lt;/Filter&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The following method stores a document using this filter: &lt;br /&gt;
&amp;lt;!--[SOURCE:Text/TextDocuments.java]--&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
  /** Store a document, using the MS Word 97/2000/XP Filter */&lt;br /&gt;
      protected void storeDocComponent(XComponent xDoc, String storeUrl) throws java.lang.Exception {&lt;br /&gt;
  &lt;br /&gt;
          XStorable xStorable = (XStorable)UnoRuntime.queryInterface(XStorable.class, xDoc);&lt;br /&gt;
          PropertyValue[] storeProps = new PropertyValue[1];&lt;br /&gt;
          storeProps[0] = new PropertyValue();&lt;br /&gt;
          storeProps[0].Name = &amp;quot;FilterName&amp;quot;;&lt;br /&gt;
          storeProps[0].Value = &amp;quot;MS Word 97&amp;quot;; &lt;br /&gt;
          xStorable.storeAsURL(storeUrl, storeProps); &lt;br /&gt;
      } &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
If an empty array of &amp;lt;code&amp;gt;PropertyValue&amp;lt;/code&amp;gt; structs is passed, the native &amp;#039;&amp;#039;.odt&amp;#039;&amp;#039; format of {{PRODUCTNAME}} is used.&lt;br /&gt;
&lt;br /&gt;
{{PDL1}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Developer&amp;#039;s Guide/Text Documents]]&lt;/div&gt;</summary>
		<author><name>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/Resolving_Path_Variables&amp;diff=155775</id>
		<title>Documentation/DevGuide/OfficeDev/Resolving Path Variables</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/Resolving_Path_Variables&amp;diff=155775"/>
		<updated>2010-01-27T12:40:48Z</updated>

		<summary type="html">&lt;p&gt;Mst: typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/OfficeDevTOC&lt;br /&gt;
|OfficeDev2b=block&lt;br /&gt;
|OfficeDevPath=block&lt;br /&gt;
|OfficeDevPathOrg=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/OfficeDev/Custom Path Variables&lt;br /&gt;
|NextPage=Documentation/DevGuide/OfficeDev/OpenOffice.org Single Sign-On API&lt;br /&gt;
}}&lt;br /&gt;
{{Documentation/DevGuideLanguages|Documentation/DevGuide/OfficeDev/{{SUBPAGENAME}}}} &lt;br /&gt;
 {{DISPLAYTITLE:Resolving Path Variables}}&lt;br /&gt;
This section explains how to use the {{PRODUCTNAME}} implementation of the path substitution service. The following code snippet creates a path substitution service.&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
  import com.sun.star.lang.XMultiServiceFactory;&lt;br /&gt;
  import com.sun.star.uno.Exception;&lt;br /&gt;
  import com.sun.star.uno.XInterface;&lt;br /&gt;
  import com.sun.star.util.XStringSubstitution&lt;br /&gt;
  &lt;br /&gt;
  XStringSubstitution createPathSubstitution() {&lt;br /&gt;
    &lt;br /&gt;
      /////////////////////////////////////////////////////////////////////&lt;br /&gt;
      // Obtain Process Service Manager.&lt;br /&gt;
      /////////////////////////////////////////////////////////////////////&lt;br /&gt;
  &lt;br /&gt;
      XMultiServiceFactory xServiceFactory = ...&lt;br /&gt;
  &lt;br /&gt;
      /////////////////////////////////////////////////////////////////////&lt;br /&gt;
      // Create Path Substitution. This needs to be done only once per process.&lt;br /&gt;
      /////////////////////////////////////////////////////////////////////&lt;br /&gt;
  &lt;br /&gt;
      XInterface xPathSubst;&lt;br /&gt;
      try {&lt;br /&gt;
          xPathSubst = xServiceFactory.createInstance(&lt;br /&gt;
              &amp;quot;com.sun.star.util.PathSubstitution&amp;quot; );&lt;br /&gt;
      }&lt;br /&gt;
      catch (com.sun.star.uno.Exception e) {&lt;br /&gt;
      }&lt;br /&gt;
  &lt;br /&gt;
      if (xPathSubst != null)&lt;br /&gt;
          return (XStringSubstitution)UnoRuntime.queryInterface( &lt;br /&gt;
              XStringSubstitution.class, xPathSubst );&lt;br /&gt;
      else&lt;br /&gt;
          return null;&lt;br /&gt;
  }&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
The service is implemented as a one-instance service and supports the interface &amp;lt;idl&amp;gt;com.sun.star.util.XStringSubstitution&amp;lt;/idl&amp;gt;. The interface has three methods:&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
  string substituteVariables( [in] string aText, [in] boolean bSubstRequired )&lt;br /&gt;
  string reSubstituteVariables( [in] string aText )&lt;br /&gt;
  string getSubstituteVariableValue( [in] string variable )&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
The method &amp;lt;code&amp;gt;substituteVariables()&amp;lt;/code&amp;gt; returns a string where all known variables are replaced by their value. Unknown variables are not replaced. The argument &amp;lt;code&amp;gt;bSubstRequired&amp;lt;/code&amp;gt; can be used to indicate that the client needs a full substitution - otherwise the function fails and throws a &amp;lt;idl&amp;gt;com.sun.star.container.NoSuchElementException&amp;lt;/idl&amp;gt;. For example: &amp;#039;&amp;#039;$(inst)/share/autotext/$(vlang)&amp;#039;&amp;#039; could be substituted to &amp;#039;&amp;#039;file:///c:/OpenOffice.org1.0.2/share/autotext/english&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The method &amp;lt;code&amp;gt;reSubstituteVariables()&amp;lt;/code&amp;gt; returns a string where parts of the provided path &amp;lt;code&amp;gt;aText&amp;lt;/code&amp;gt; are replaced by variables that represent this part of the path. If a matching variable is not found, the path is not modified.&lt;br /&gt;
&lt;br /&gt;
The predefined variable &amp;lt;code&amp;gt;$(path)&amp;lt;/code&amp;gt; is not used for substitution. Instead, it is a placeholder for the path environment variable does not have a static value during runtime. The path variables &amp;lt;code&amp;gt;$(lang)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;$(langid)&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$(vlang)&amp;lt;/code&amp;gt;, which represent a directory or a filename in a path, only match inside or at the end of a provided path. For example: &amp;#039;&amp;#039;english&amp;#039;&amp;#039; is not replaced by &amp;#039;&amp;#039;$(vlang)&amp;#039;&amp;#039;, whereas &amp;#039;&amp;#039;file:///c:/english&amp;#039;&amp;#039; is replaced by &amp;#039;&amp;#039;file:///c:/$(vlang)&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The method &amp;lt;code&amp;gt;getSubstituteVariableValue()&amp;lt;/code&amp;gt; returns the current value of the provided path variable as a predefined or a user-defined value. If an unknown variable name is provided, a &amp;lt;idl&amp;gt;com.sun.star.container.NoSuchElementException&amp;lt;/idl&amp;gt; is thrown. The argument variable can be provided with preceding &amp;quot;&amp;lt;code&amp;gt;$(&amp;lt;/code&amp;gt;&amp;quot; and succeeding &amp;quot;&amp;lt;code&amp;gt;)&amp;lt;/code&amp;gt;&amp;quot; or without them. So both &amp;#039;&amp;#039;$(work)&amp;#039;&amp;#039; and &amp;#039;&amp;#039;work&amp;#039;&amp;#039; can be used.&lt;br /&gt;
&lt;br /&gt;
This code example shows how to access, substitute, and resubstitute path variables by means of the {{PRODUCTNAME}} API.&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
  import com.sun.star.bridge.XUnoUrlResolver;&lt;br /&gt;
  import com.sun.star.uno.UnoRuntime;&lt;br /&gt;
  import com.sun.star.uno.XComponentContext;&lt;br /&gt;
  import com.sun.star.lang.XMultiComponentFactory;&lt;br /&gt;
  import com.sun.star.beans.XPropertySet;&lt;br /&gt;
  import com.sun.star.beans.PropertyValue;&lt;br /&gt;
  &lt;br /&gt;
  import com.sun.star.util.XStringSubstitution;&lt;br /&gt;
  import com.sun.star.frame.TerminationVetoException;&lt;br /&gt;
  import com.sun.star.frame.XTerminateListener;&lt;br /&gt;
  &lt;br /&gt;
  /*&lt;br /&gt;
   * Provides example code how to access and use the&lt;br /&gt;
   * path substitution sercvice.&lt;br /&gt;
   */&lt;br /&gt;
  public class PathSubstitutionTest extends java.lang.Object {&lt;br /&gt;
  &lt;br /&gt;
      /*&lt;br /&gt;
       * List of predefined path variables supported by&lt;br /&gt;
       * the path substitution service.&lt;br /&gt;
       */&lt;br /&gt;
      private static String[] predefinedPathVariables = {&lt;br /&gt;
          &amp;quot;$(home)&amp;quot;,&amp;quot;$(inst)&amp;quot;,&amp;quot;$(prog)&amp;quot;,&amp;quot;$(temp)&amp;quot;,&amp;quot;$(user)&amp;quot;,&lt;br /&gt;
          &amp;quot;$(work)&amp;quot;,&amp;quot;$(path)&amp;quot;,&amp;quot;$(lang)&amp;quot;,&amp;quot;$(langid)&amp;quot;,&amp;quot;$(vlang)&amp;quot;&lt;br /&gt;
      };&lt;br /&gt;
  &lt;br /&gt;
      /*&lt;br /&gt;
       * @param args the command line arguments&lt;br /&gt;
       */&lt;br /&gt;
      public static void main(String[] args) {&lt;br /&gt;
  &lt;br /&gt;
          XComponentContext xRemoteContext = null;&lt;br /&gt;
          XMultiComponentFactory xRemoteServiceManager = null;&lt;br /&gt;
          XStringSubstitution xPathSubstService = null;&lt;br /&gt;
  &lt;br /&gt;
          try {&lt;br /&gt;
              // connect&lt;br /&gt;
              XComponentContext xLocalContext =&lt;br /&gt;
                  com.sun.star.comp.helper.Bootstrap.createInitialComponentContext(null);&lt;br /&gt;
              XMultiComponentFactory xLocalServiceManager = xLocalContext.getServiceManager();&lt;br /&gt;
              Object urlResolver = xLocalServiceManager.createInstanceWithContext(&lt;br /&gt;
                  &amp;quot;com.sun.star.bridge.UnoUrlResolver&amp;quot;, xLocalContext );&lt;br /&gt;
              XUnoUrlResolver xUnoUrlResolver = (XUnoUrlResolver) UnoRuntime.queryInterface( &lt;br /&gt;
                  XUnoUrlResolver.class, urlResolver );&lt;br /&gt;
              Object initialObject = xUnoUrlResolver.resolve( &lt;br /&gt;
                  &amp;quot;uno:socket,host=localhost,port=2083;urp;StarOffice.ServiceManager&amp;quot; );&lt;br /&gt;
              XPropertySet xPropertySet = (XPropertySet)UnoRuntime.queryInterface(&lt;br /&gt;
                  XPropertySet.class, initialObject);&lt;br /&gt;
              Object context = xPropertySet.getPropertyValue(&amp;quot;DefaultContext&amp;quot;); &lt;br /&gt;
              xRemoteContext = (XComponentContext)UnoRuntime.queryInterface(&lt;br /&gt;
                  XComponentContext.class, context);&lt;br /&gt;
              xRemoteServiceManager = xRemoteContext.getServiceManager();&lt;br /&gt;
  &lt;br /&gt;
              Object pathSubst = xRemoteServiceManager.createInstanceWithContext(&lt;br /&gt;
                  &amp;quot;com.sun.star.comp.framework.PathSubstitution&amp;quot;, xRemoteContext );&lt;br /&gt;
              xPathSubstService = (XStringSubstitution)UnoRuntime.queryInterface(&lt;br /&gt;
                  XStringSubstitution.class, pathSubst);&lt;br /&gt;
  &lt;br /&gt;
              /* Work with path variables */&lt;br /&gt;
              workWithPathVariables( xPathSubstService );&lt;br /&gt;
          }&lt;br /&gt;
          catch (java.lang.Exception e){&lt;br /&gt;
              e.printStackTrace();&lt;br /&gt;
          }&lt;br /&gt;
          finally {&lt;br /&gt;
              System.exit(0);&lt;br /&gt;
          }&lt;br /&gt;
      }&lt;br /&gt;
  &lt;br /&gt;
      /*&lt;br /&gt;
       * Retrieve, resubstitute path variables&lt;br /&gt;
       * @param xPathSubstService the path substitution service&lt;br /&gt;
       */&lt;br /&gt;
      public static void workWithPathVariables( XStringSubstitution xPathSubstService )&lt;br /&gt;
      {&lt;br /&gt;
          if ( xPathSubstService != null ) {&lt;br /&gt;
              for ( int i=0; i&amp;lt;predefinedPathVariables.length; i++ ) {&lt;br /&gt;
                  try {&lt;br /&gt;
                          /* Retrieve values for predefined path variables */ &lt;br /&gt;
                          String aPath = xPathSubstService.getSubstituteVariableValue( &lt;br /&gt;
                                              predefinedPathVariables[i] );&lt;br /&gt;
                          System.out.println( &amp;quot;Variable=&amp;quot;+ predefinedPathVariables[i] + &lt;br /&gt;
                                              &amp;quot; Path=&amp;quot; + aPath );&lt;br /&gt;
                       &lt;br /&gt;
                          /* Check resubstitute */&lt;br /&gt;
                          String aValue = xPathSubstService.reSubstituteVariables( aPath );&lt;br /&gt;
                          System.out.println( &amp;quot;Path=&amp;quot; + aPath +&lt;br /&gt;
                                              &amp;quot; Variable=&amp;quot; + aValue );&lt;br /&gt;
                  }&lt;br /&gt;
                  catch ( com.sun.star.container.NoSuchElementException e) {&lt;br /&gt;
                      System.out.println( &amp;quot;NoSuchElementException has been thrown accessing&amp;quot;&lt;br /&gt;
                                          + predefinedPathVariables[i]);&lt;br /&gt;
                  }&lt;br /&gt;
              }&lt;br /&gt;
          }&lt;br /&gt;
      }&lt;br /&gt;
  }&lt;br /&gt;
 &amp;lt;/source&amp;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>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/Managing_Number_Formats&amp;diff=155451</id>
		<title>Documentation/DevGuide/OfficeDev/Managing Number Formats</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/Managing_Number_Formats&amp;diff=155451"/>
		<updated>2010-01-22T11:59:37Z</updated>

		<summary type="html">&lt;p&gt;Mst: typos&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/OfficeDevTOC&lt;br /&gt;
|OfficeDev2b=block&lt;br /&gt;
|OfficeDevNumber=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/OfficeDev/Number Formats&lt;br /&gt;
|NextPage=Documentation/DevGuide/OfficeDev/Applying Number Formats&lt;br /&gt;
}}&lt;br /&gt;
{{Documentation/DevGuideLanguages|Documentation/DevGuide/OfficeDev/{{SUBPAGENAME}}}} &lt;br /&gt;
 {{DISPLAYTITLE:Managing Number Formats}}&lt;br /&gt;
Documents provide their formats through the interface &amp;lt;idl&amp;gt;com.sun.star.util.XNumberFormatsSupplier&amp;lt;/idl&amp;gt; that has one method &amp;lt;code&amp;gt;getNumberFormats()&amp;lt;/code&amp;gt; that returns &amp;lt;idl&amp;gt;com.sun.star.util.NumberFormats&amp;lt;/idl&amp;gt;. Using &amp;lt;code&amp;gt;NumberFormats&amp;lt;/code&amp;gt;, developers can read and modify number formats in documents, and also add new formats. &lt;br /&gt;
&lt;br /&gt;
You have to retrieve the &amp;lt;code&amp;gt;NumberFormatsSupplier&amp;lt;/code&amp;gt; as a property at a few objects from their &amp;lt;idl&amp;gt;com.sun.star.beans.XPropertySet&amp;lt;/idl&amp;gt; interface, for example, from data sources supporting the &amp;lt;idl&amp;gt;com.sun.star.sdb.DataSource&amp;lt;/idl&amp;gt; service and from database connections supporting the service &amp;lt;idl&amp;gt;com.sun.star.sdb.DatabaseEnvironment&amp;lt;/idl&amp;gt;, or &amp;lt;idl&amp;gt;com.sun.star.sdb.DatabaseAccess&amp;lt;/idl&amp;gt;. In addition, all UNO controls offering the service &amp;lt;idl&amp;gt;com.sun.star.awt.UnoControlFormattedFieldModel&amp;lt;/idl&amp;gt; have a &amp;lt;code&amp;gt;NumberFormatsSupplier&amp;lt;/code&amp;gt; property.&lt;br /&gt;
&lt;br /&gt;
=== NumberFormats Service ===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;idl&amp;gt;com.sun.star.util.NumberFormats&amp;lt;/idl&amp;gt; service specifies a container of number formats and implements the interfaces &amp;lt;idl&amp;gt;com.sun.star.util.XNumberFormatTypes&amp;lt;/idl&amp;gt; and &amp;lt;idl&amp;gt;com.sun.star.util.XNumberFormats&amp;lt;/idl&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
==== XNumberFormats ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;NumberFormats&amp;lt;/code&amp;gt; supports the interface &amp;lt;idl&amp;gt;com.sun.star.util.XNumberFormats&amp;lt;/idl&amp;gt;. This interface provides access to the number formats of a container. It is used to query the properties of a number format by an index key, retrieve a list of available number format keys of a given type for a given locale, query the key for a user-defined format string, or add new format codes into the list or to remove formats.&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
  com::sun::star::beans::XPropertySet getByKey ( [in] long nKey )&lt;br /&gt;
  &lt;br /&gt;
  sequence&amp;lt; long &amp;gt; queryKeys ( [in] short nType, &lt;br /&gt;
                 [in] com::sun::star::lang::Locale nLocale, &lt;br /&gt;
                 [in] boolean bCreate )&lt;br /&gt;
  long queryKey ( [in] string aFormat,&lt;br /&gt;
                 [in] com::sun::star::lang::Locale nLocale, &lt;br /&gt;
                 [in] boolean bScan )&lt;br /&gt;
  &lt;br /&gt;
  long addNew ( [in] string aFormat, [in] com::sun::star::lang::Locale nLocale ) &lt;br /&gt;
  long addNewConverted ( [in] string aFormat, [in] com::sun::star::lang::Locale nLocale, &lt;br /&gt;
                 [in] com::sun::star::lang::Locale nNewLocale ) &lt;br /&gt;
  &lt;br /&gt;
  void removeByKey ( [in] long nKey )&lt;br /&gt;
  &lt;br /&gt;
  string generateFormat ( [in] long nBaseKey, [in] com::sun::star::lang::Locale nLocale, &lt;br /&gt;
                 [in] boolean bThousands, [in] boolean bRed, [in] short nDecimals, [in] short nLeading )&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
The important methods are probably &amp;lt;code&amp;gt;queryKey()&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;addNew()&amp;lt;/code&amp;gt;. The method &amp;lt;code&amp;gt;queryKey()&amp;lt;/code&amp;gt; finds the key for a given format string and locale, whereas &amp;lt;code&amp;gt;addNew()&amp;lt;/code&amp;gt; creates a new format in the container and returns its key for immediate use. The &amp;lt;code&amp;gt;bScan&amp;lt;/code&amp;gt; is reserved for future use and should be set to false.&lt;br /&gt;
&lt;br /&gt;
The properties of a single number format are obtained by a call to &amp;lt;code&amp;gt;getByKey()&amp;lt;/code&amp;gt; which returns a &amp;lt;idl&amp;gt;com.sun.star.util.NumberFormatProperties&amp;lt;/idl&amp;gt; service for the given index key. &lt;br /&gt;
&lt;br /&gt;
==== XNumberFormatTypes ====&lt;br /&gt;
&lt;br /&gt;
The interface &amp;lt;idl&amp;gt;com.sun.star.util.XNumberFormatTypes&amp;lt;/idl&amp;gt; offers functions to retrieve the index keys of specific predefined number format types. The predefined types are addressed by constants from &amp;lt;idl&amp;gt;com.sun.star.util.NumberFormat&amp;lt;/idl&amp;gt;. The &amp;lt;code&amp;gt;NumberFormat&amp;lt;/code&amp;gt; contains values for predefined format types, such as PERCENT, TIME, CURRENCY, and TEXT.&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;idl&amp;quot;&amp;gt;&lt;br /&gt;
  long getStandardIndex ( [in] com::sun::star::lang::Locale nLocale )&lt;br /&gt;
  long getStandardFormat ( [in] short nType, &lt;br /&gt;
                [in] com::sun::star::lang::Locale nLocale )&lt;br /&gt;
  long getFormatIndex ( [in] short nIndex, &lt;br /&gt;
                [in] com::sun::star::lang::Locale nLocale )&lt;br /&gt;
  &lt;br /&gt;
  boolean isTypeCompatible ( [in] short nOldType, [in] short nNewType )&lt;br /&gt;
  &lt;br /&gt;
  long getFormatForLocale ( [in] long nKey, &lt;br /&gt;
                [in] com::sun::star::lang::Locale nLocale )&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
In most cases you will need &amp;lt;code&amp;gt;getStandardFormat()&amp;lt;/code&amp;gt;. It expects a type constant from the &amp;lt;code&amp;gt;NumberFormat&amp;lt;/code&amp;gt; group and the locale to use, and returns the key of the corresponding predefined format.&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>Mst</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/Number_Formats&amp;diff=155450</id>
		<title>Documentation/DevGuide/OfficeDev/Number Formats</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/OfficeDev/Number_Formats&amp;diff=155450"/>
		<updated>2010-01-22T11:56:44Z</updated>

		<summary type="html">&lt;p&gt;Mst: typos&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation/DevGuide/OfficeDevTOC&lt;br /&gt;
|OfficeDev2b=block&lt;br /&gt;
|OfficeDevNumber=block&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|PrevPage=Documentation/DevGuide/OfficeDev/XML Filter Detection&lt;br /&gt;
|NextPage=Documentation/DevGuide/OfficeDev/Managing Number Formats&lt;br /&gt;
}}&lt;br /&gt;
{{Documentation/DevGuideLanguages|Documentation/DevGuide/OfficeDev/{{SUBPAGENAME}}}} &lt;br /&gt;
 {{DISPLAYTITLE:Number Formats}}&lt;br /&gt;
&amp;lt;!--&amp;lt;idltopic&amp;gt;com.sun.star.util.XNumberFormatsSupplier;com.sun.star.util.NumberFormats;com.sun.star.util.XNumberFormatTypes;com.sun.star.util.XNumberFormats;com.sun.star.util.XNumberFormatter;com.sun.star.util.NumberFormatter;com.sun.star.util.XNumberFormatPreviewer&amp;lt;/idltopic&amp;gt;--&amp;gt;&lt;br /&gt;
Number formats are template strings consisting of format codes defining how numbers or text appear, for example, whether or not to display trailing zeros, group by thousands, separators, colors, and how many decimals are displayed. This does not include any font attributes, except for colors. They are found wherever number formats are applied, for example, on the &amp;#039;&amp;#039;&amp;#039;Numbers&amp;#039;&amp;#039;&amp;#039; tab of the &amp;#039;&amp;#039;&amp;#039;Format – Cells&amp;#039;&amp;#039;&amp;#039; dialog in spreadsheets.&lt;br /&gt;
&lt;br /&gt;
Number formats are defined on the document level. A document displaying formatted values has a collection of number formats, each with a unique index key within that document. Identical formats are not necessarily represented by the same index key in different documents.&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>Mst</name></author>
	</entry>
</feed>