|
Hello everyone,
OpenOffice barfs when converting files that have _commas_ from RTF or TXT to ODT under Windows XP. File names with _NO commas_ work excellently. Does anyone know how any solutions when converting files with commas? Here are errors and lines where the problems exist.
This line gives an error when a comma is used in the file name when converting from TXT to ODT:
oDoc = StarDesktop.loadComponentFromURL( cURL, "_blank", 0,
The error is:
BASIC runtime error.
An exception occured
Type: com.sun.star.lang.IllegalArguementException
Message: URL seems to be an unsupported one..
The problem seems to be in the 'Calls' section bottom right where a new '= ' wants to appear in the new filename.
Author, Filename.txt --> Author, = Filename.txt
The command I was using was:
"C:\Program Files\OpenOffice.org 2.0\program\soffice" -invisible macro:///Standard.MyConversions.SaveAsOOO("C:\test\Author , Filename.txt")
Thanks for your help!
|