Vincenzo Giuliano wrote:

<snip>

Hi Andreas,
I already answered in another mail. The file was corrupted probably or
was not maybe an excel file in real.
I paste the mail below.

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);


Regards
Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to