Andreas Schlüns wrote: > I've readed this email too. > But I've tried to mention that using the command line in combination > with using the UNO API isnt realy an option. > The command line of OOo supports very(!) simple requests only. > You should prevent it and use the OOo API instead. > > Especialy "Process.execute(soffice -calc <document>)" can be written as: > > PropertyValue[] lArgs = new PropertyValue[1]; > lArgs[0] = new PropertyValue(); > lArgs[0].Name = "DocumentService"; > lArgs[0].Value = "com.sun.star.sheet.SpreadsheetDocument"; > xDoc = xDesktop.loadComponentFromURL(url, "_default", 0, lArgs); > >
Ok, Andreas. However my class java was a simple (and probably not corrected) "workaround", the OOo API are better then Runtime&Process classes obviously. > Regards > Andreas Thank you, Andreas. Regards, Vincenzo. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
