https://bugs.documentfoundation.org/show_bug.cgi?id=172623
Bug ID: 172623
Summary: Add a "Preview Requested" / "OnPreview" sheet event
trigger for Basic macros
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Actual behavior:
Currently, when trying to automate headers/footers updates through basic macros
in LibreOffice Calc, there is no event trigger associated with the "Print
Preview" view change action. Using "View Created" triggers the macro too early
and causes a crash because the controller interface isn't fully ready.
Expected behavior / Suggestion:
It would be highly valuable to add a native document event named "Preview
Requested" (or "OnPreview"). This event would fire right before the Print
Preview render, allowing users to update document properties, headers, or
dynamic text strings via macros seamlessly before the user visualizes the sheet
layout.
Best regards,
Pierre Lepage
--
You are receiving this mail because:
You are the assignee for the bug.