Hello, I need to add MS Office 2007 export capability to oo.o. oo.o includes import only filters for these formats. I tried to add another, export-only filter for e.g. type "writer_MS_Word_2007". But openoffice seems to ignore it (does not list it as an available type in "save as" dialog) unless it is given the import flag also. I have attached my filter definition to this mail. I install it as an oo.o extension. Another unpleasant thing with my filter is the following: If I open a .docx file, change it and then try to save, instead of saving of the document I am presented with save dialog with file type changed to .odt. I have to manually choose .docx format to save the file. Does somebody has experience in this area? -- Pavel Lastovicka
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd"> <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:package="org.openoffice.TypeDetection" oor:name="Filter"> <node oor:name="Filters"> <node oor:name="MOOX" oor:op="replace"> <prop oor:name="Flags"> <value>EXPORT OWN ALIEN</value> </prop> <prop oor:name="UIComponent"/> <prop oor:name="FilterService"/> <prop oor:name="UserData"> <value>CXML,Preprocess=<%origin%/odfconverter.exe /DOCX2ODT /I %SOURCE% /O %TARGET%>,Postprocess=<%origin%/odfconverter.exe /ODT2DOCX /I %SOURCE% /O %TARGET%></value> </prop> <prop oor:name="FileFormatVersion"> <value>0</value> </prop> <prop oor:name="Type"> <value>writer_MS_Word_2007</value> </prop> <prop oor:name="TemplateName"/> <prop oor:name="DocumentService"> <value>com.sun.star.text.TextDocument</value> </prop> <prop oor:name="UIName"> <value xml:lang="x-default">Microsoft Word 2007 Document</value> </prop> </node> </node> </oor:component-data>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]