[Libreoffice-bugs] [Bug 127214] Base files macros not being able to run through a command line

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 29 12:08:49 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=127214

--- Comment #3 from Mike Kaganski <mikekaganski at hotmail.com> ---
Created attachment 153732
  --> https://bugs.documentfoundation.org/attachment.cgi?id=153732&action=edit
A DB with a macro

This contains a library Reports, module Report, macro genRep that only shows a
"Test" messagebox.

Allowing to run macros, and trying

> soffice dbMacro.odb macro://dbMacro/Reports.Report.genRep

does not show the dialog when opening the DB. As mentioned, the DB doesn't have
an associated shell in the list returned by SfxObjectShell::GetFirst called
from SfxMacroLoader::loadMacro, thus not allowing to access its macros when
dispatching the 'macro:' URI.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190829/8e26e971/attachment-0001.html>


More information about the Libreoffice-bugs mailing list