Andreas Schlüns schrieb: > Dyego Souza Dantas Leal schrieb: >> In the Code: >> >> XStorable xStorable = (XStorable)UnoRuntime.queryInterface( >> XStorable.class, xDoc); >> PropertyValue[] storeProps = new PropertyValue[1]; >> storeProps[0] = new PropertyValue(); >> storeProps[0].Name = "FilterName"; >> storeProps[0].Value = "MS Word 97"; >> xStorable.storeAsURL(storeUrl, storeProps); >> I can Store the actual document as Ms Word 97... >> Very Nice... but... where can get the all possibilities of >> "FilterName" property ? > > A list of all actual supported filters can be found here: > "http://wiki.services.openoffice.org/wiki/Framework/Article/Filter" >
A question I've always asked myself why the hell are those standard formats not provided by the UNO-API as constants? Something like IExportFormats#MS_WORD_97, if defined in some an IDL I could simply use them without thinking too much about spelling because my favorite IDE would provide auto-expansion for it. Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
