Am Dienstag, den 11.04.2006, 15:21 +0200 schrieb Marc Santhoff: > Maybe, I cannot test with 2.x atm. But on 1.1.3 this works perfectly > well (copied from the basic-IDE): > > sub saveUnpacked > fname = "/home/marc/tmp/test" > doc = ThisComponent > dim Args(2) as new com.sun.star.beans.PropertyValue > args(1).Name = "Overwrite" > args(1).Value = TRUE > args(0).Name = "Unpacked" > args(0).Value = TRUE > doc.storeAsUrl(ConvertToUrl(fname), args()) > end sub > > When called from a document it leaves me with a folder > > /home/marc/tmp/content.test > > containing all the stuff put into the zip otherwise.
After testing a 2.0Beta1 (or beta 2, don't know exactly) with only the filename changed I can confirm the macro does *not* write out data. It does something but no error is occurs. Please file an issue, if this holds true for the current version of OO.o (2.0.2?). Marc --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
