Apache OpenOffice (AOO) Bugzilla – Issue 15809
Headless mode doesn't work after loading a defect document
Last modified: 2003-07-04 15:39:24 UTC
The Office has a special argument called "-headless" to support external scripting without user interaction. After loading a defect document the headless mode gets internally disabled. From that point on the Office can show dialogs which kills external scripting.
Created attachment 6993 [details] Defect documents to reproduce this problem
CD: There is a bug in the framework project, where we call Application::EnableDialogCancel( sal_True ) to suppress for a short time all dialogs. Afterwards the code calls Application::EnableDialogCancel( sal_False ) which kills the headless mode. We have to save the old value and restore afterwards to support the headless mode.
CD: Reviewed and approved by MBA.
.
CD->SG: Please verify my bugfix. You should use the attached document to check it.
- fixed -
Checked on Windows and Solaris and works -> verified.
SG: checked again on Windows and Solaris with Office srx645_m9s3 and works -> closed.