https://bugs.documentfoundation.org/show_bug.cgi?id=147573
Robert Großkopf <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Robert Großkopf <[email protected]> --- Isn't possible at this moment without macros. Would be a good feature, because external forms will be able to print data through a report. At this moment a macro will help: SUB Reportstart(oEvent AS OBJECT) DIM oField AS OBJECT DIM oForm AS OBJECT DIM oDocument AS OBJECT DIM oDocView AS OBJECT DIM Arg() oField = oEvent.Source.Model oForm = oField.Parent sURL = oForm.DataSourceName oDocument = StarDesktop.loadComponentFromURL(sURL, "_blank", 0, Arg() ) oDocView = oDocument.CurrentController.Frame.ContainerWindow oDocView.Visible = False oDocument.getCurrentController().connect Wait(100) oDocument.ReportDocuments.getByName("MyReport").open oDocument.close(True) END SUB Tested with LO 7.3.1.1 on OpenSUSE 15.3 64bit rpm Linux -- You are receiving this mail because: You are the assignee for the bug.
