Hi,

I want to open a report, save it as a writer document and close it:

aProp(0).Name = "ActiveConnection"
aProp(0).Value = xConnection
aProp(1).Name = "OpenMode"
aProp(1).Value = "open"
        
args(0).Name = "Overwrite"
args(0).Value = true
        report=reports.loadComponentFromURL(sReportName,"_blank",0,aProp())
report.storeToURL(newURL,args())
report.close(true)

Here I get the CloseVetoException, even with .close(false).
Any hints how to circumvent this?

Regards

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@dba.openoffice.org
For additional commands, e-mail: dev-h...@dba.openoffice.org

Reply via email to