LibreOffice
LibreOffice 24.2 SDK API Reference
Variables
com::sun::star::embed::Actions Constant Group Referencepublished

This constant set contains possible actions that could be approved by ActionsApproval implementation. More...

Variables

const long PREVENT_CLOSE = 1
 "Prevent Close" - throws veto exception if target object is going to close. More...
 
const long PREVENT_TERMINATION = 2
 "Prevent Termination" - throws veto exception if target object is going to terminate. More...
 

Detailed Description

This constant set contains possible actions that could be approved by ActionsApproval implementation.

Variable Documentation

◆ PREVENT_CLOSE

const long PREVENT_CLOSE = 1

"Prevent Close" - throws veto exception if target object is going to close.

Usually a com::sun::star::util::XCloseListener implementation could use this constant to request approval to throw veto exception.

◆ PREVENT_TERMINATION

const long PREVENT_TERMINATION = 2

"Prevent Termination" - throws veto exception if target object is going to terminate.

Usually a com::sun::star::frame::XTerminateListener implementation could use this constant to request approval to throw veto exception.