The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

Java Application „FilterUI“



I've started development of a new java based application to access filter configuration data of any StarOffice or OpenOffice installation. The first version of it will be a very simple tool and supports read only access only. It's planned to extend it's functionality, step by step, to get a full-featured administration tool. But this task can't be done by one person only. So I offer the code on OpenOffice. Please feel free to contact me if you are interested in this code.


The filter configuration of an office is a very complex mechanism. Configuration data is organized similar to a database, e.g., filters are registered for different types. This data is available, inside an office installation, in a file named TypeDetection.xml. The structure of the file is simple, but the number of entries can be very high, e.g., on a full installation set. Reading and editing large sets isn't easy. That is the reason for this application: to provide a simple access to the data source and also illustrate the use of the office filter api.


It's completely free. Use of the binaries and source will not be regulated in any way. That doesn't include any external requirements, e.g., jdk / office, which may use their own license models.





There exist three possiblities:

  1. Get the JAR file, for direct use.
    Copy it into your office installation (this means your directory „<office_install>/program/classes“) or to any other directory which includes the required JAR files.
    (see Requirements)

  2. Use sources from OpenOffice project framework/framework. Change to sub directory “java/filterui“. There you will find all necessary sources to build the application as a packed JAR file, as well as to generate the class and property files. See “java/filterui/readme.txt“ for further information. After compilation, you will have a JAR file. Use it in the same manner as described in 1.

  3. Get the java sources and build it by yourself.
    Of course, this is possible also – but I will not document it here. See 1 and 2 for more information on how to build from source, and use it for your own interests.

Start It

  1. Start office with the following command line parameter to initiate remote mode:
    soffice -accept=socket,host=<HOST>,port=<PORT>;urp;
    Variable <HOST> describe the host on which office runs, e.g., „localhost“.
    Variable <PORT> describe the port on which office listens for incoming requests.
    These values must correspond to values set in the configuration file of the „FilterUI“ application named „filterui.ini“.

  2. Start application with the following command: „java -jar filterui.jar


It will come as soon as possible ...


Main Window



Andreas Schlüns


last modified


Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.