Apache OpenOffice (AOO) Bugzilla – Issue 1439
XStorable interface
Last modified: 2013-02-24 21:09:51 UTC
From a java program how to use XStorable to save my document into a winword file format ? Everything is ok when I save my document in StarWriter format but I didn't find the correct paramaters for the winword format. My current code is : XStorable aStore= (XStorable) UnoRuntime.queryInterface(XStorable.class, myDoc); XPropertySet storeParam = (XPropertySet)UnoRuntime.queryInterface( XPropertySet.class, aStore ); storeParam.setPropertyValue("FilterName", "swriter: MS Word 97"); aStore.storeAsURL(myFileName, new PropertyValue [0]); Can you correct this code or give an url that describe that ?
This is not a support system, only a change management system, mostly for bugs and other change requests. Nobody but a few people will see solutions here, thus this method des not scale. USE your storeParam as the second argument in storeAsURL()!
Not a bug. Not a change request.