The converters installed in OpenOffice.org determine the valid save formats. You should specify the name of the converter, as it is known internally in OpenOffice.org.
OOoFormat ("writer_pdf_Export") saves the document in PDF format
OOoFormat ("MS Word 97") saves the document in the Word 97/2000/XP/2003 file format
The document formats to which the OpenOffice.org documents can be converted can be located in an xml file named TypeDetection.xml. For OpenOffice.org 1.1.1 and StarOffice 7.0 the location of this xml file is "share\registry\data\org\openoffice\office\TypeDetection.xml".
Sample entry:
<node oor:name="MS Word 97" oor:op="replace">
<prop oor:name="UIName">
<value xml:lang="en-US">Microsoft Word 97/2000/XP</value>
</prop>
<prop oor:name="Data">
<value>3,writer_MS_Word_97,
com.sun.star.text.TextDocument,,67,CWW8,0,,</value>
</prop>
<prop oor:name="Installed" oor:type="xs:boolean">
<value>true</value>
</prop>
</node>
Note the attribute 'name' and Installed properties. These are both significant. The value of the attribute name is the name of the converter you should use. The installed property indicates whether the converter is installed or not.
Note
The specified OOoFormat is treated case sensitive by OpenOffice.org 2.0, while OpenOffice.org 1.x does not care about case.