Hi,
Now I use OpenOffice to convert document from pdf format into html
format, and I try to cath all the exception as below:
...
*try{*
* ooStore->storeToURL( OUString::createFromAscii(strOOPathFile), storeProps
);
}catch(...) // catch all the exception
{
handleException();
return E_GEN_ERR;*
* *
It runs well when the pdf document is normal.But when I am doing the
stability test, I constructed a new abnormal pdf document with some wildcat
string such as "&(()))^%$$", OpenOpen will not throw any exception but just
raised the "segmentation fault" and exit directly.
I need to catch any exception from OpenOffice, could you have any
suggestion for me?
My environment is OpenOffice 3.1.0/Suse Linux/C++.
Thanks very much!
Best Regards,
Kermit