LibreOffice
LibreOffice 24.2 SDK API Reference
Variables
com::sun::star::beans::MethodConcept Constant Group Referencepublished

These constants are used to specify concepts of the introspection which apply to methods. More...

Variables

const long ALL = -1
 This value is used to query for all methods, see XIntrospectionAccess::getMethod() and XIntrospectionAccess::getMethods() More...
 
const long DANGEROUS = 1
 specifies methods which can result in an unstable state (i.e. More...
 
const long PROPERTY = 2
 specifies methods which are used to set and get the value of properties/attributes. More...
 
const long LISTENER = 4
 specifies methods of the listener concept. More...
 
const long ENUMERATION = 8
 specifies methods of the enumeration concept. More...
 
const long NAMECONTAINER = 16
 specifies methods of the name container concept. More...
 
const long INDEXCONTAINER = 32
 specifies methods of the index container concept. More...
 

Detailed Description

These constants are used to specify concepts of the introspection which apply to methods.

This list is not necessarily complete; new constants may be added.

See also
Introspection
XIntrospection
XIntrospectionAccess

Variable Documentation

◆ ALL

const long ALL = -1

This value is used to query for all methods, see XIntrospectionAccess::getMethod() and XIntrospectionAccess::getMethods()

◆ DANGEROUS

const long DANGEROUS = 1

specifies methods which can result in an unstable state (i.e.

deadlock, application crash, security hole, etc.) when called directly by the user.

◆ ENUMERATION

const long ENUMERATION = 8

specifies methods of the enumeration concept.

These methods have the signature create...Enumeration and return an interface that is derived from com::sun::star::container::XEnumeration. Additionally, the method com::sun::star::container::XEnumerationAccess::getElementType() belongs to this concept.

◆ INDEXCONTAINER

const long INDEXCONTAINER = 32

specifies methods of the index container concept.

These methods have the signature get...ByIndex(), insert...ByIndex(), replace...ByIndex(), or remove...ByIndex(). The method com::sun::star::container::XIndexAccess::getCount() also belongs to this concept.

◆ LISTENER

const long LISTENER = 4

specifies methods of the listener concept.

These methods have the signature add...Listener() or remove...Listener().

◆ NAMECONTAINER

const long NAMECONTAINER = 16

specifies methods of the name container concept.

These methods have the signature get...ByName(), set...ByName(), replace...ByName(), remove...ByName(), has...ByName(), or get...Names. In addition, the method com::sun::star::container::XEnumerationAccess::getElementType() belongs to this concept.

◆ PROPERTY

const long PROPERTY = 2

specifies methods which are used to set and get the value of properties/attributes.

These methods have the signature type get...() , void set...() or boolean is...() .