Apache OpenOffice (AOO) Bugzilla – Issue 118893
Macro assigned to print event doesn't execute.
Last modified: 2014-07-07 10:06:45 UTC
Created attachment 77199 [details] Macro example I'd like to run a macro when I start a printing job. Therefore I've assigned such macro to print document event. Unfortunately when I print the document the macro doesn't start. Attached there is an example of a macro opening a msgbox when I open the document and when I print it. The first runs but not the second.
I can confirm this bug with AOO 3.4.1. Also present in LibreOffice 3.5-3.7, see: https://bugs.freedesktop.org/show_bug.cgi?id=57626
FYI, LibO has this issue fixed since 3.6
Isn't this bug 121810? I cannot reproduce. (In reply to oooforum from comment #2) > FYI, LibO has this issue fixed since 3.6 FYI that's because they took my fix in Revision 1449533 ;)
Created attachment 83650 [details] Modified version Added two macros: Sub OnPrint msgbox "On Print!!" End Sub Sub OnPrintFormLetter msgbox "On Print Form Letter!!" End Sub Both work with the respective event
Dup of bug 121810 Fixed with Revision 1449533 *** This issue has been marked as a duplicate of issue 121810 ***