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

            Bug ID: 95445
           Summary: Why not add an event to trigger an action after
                    printing a document
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Hello,

I work on calc document with multiple sheets. To print, i sometimes need to
select 2 or 3 sheets and print them at once (for page numbering). But if i
forgot to deselect the sheets and if i modify a cell, I lose the content of the
cell on the other sheets (not only the active sheet).

My idea was to put a macro on the OnPrint event of the document, but this event
is called before LibreOffice starts actually the print job. If i change the
selected sheets at this time, I can't be sure of the result.

The best way would be to start the macro on key press (but there is no event
related to this), or to start the macro after printing (to automaticaly
deselect the selected sheets after printing), but there is no event OnPrintEnd.

Is there a way to add such event ?

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to