Getting rid of unwanted dialogs in headless context

Not sure where to post? Post here!
Post Reply
jmillo
Posts: 6
Joined: Wed Mar 02, 2011 12:23 am

Getting rid of unwanted dialogs in headless context

Post by jmillo »

Hi,

I have an application where I extract text from various files via a UNO bridge.
Of course the server OpenOffice program is started with the headless parameter.
For some files, the process hangs.
I tried loading one of the problem files (a xlsx) through the GUI and got the following dialog box popping up:
--- This file contains links to other files
--- Should they be updated?
--- Yes/No
I assume waiting for this dialog box, invisible under headless, is the cause of the hang up.
Is there a way to bypass that, such as adding a property to loadComponentFromURL?

Thanks,
J. M.
OpenOffice 3.3
Centos 5
Post Reply