LibreOffice
LibreOffice 5.3 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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

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.

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.