LibreOffice
LibreOffice 5.3 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Variables
com::sun::star::beans::PropertyAttribute Constant Group Referencepublished

These values are used to specify the behavior of a Property. More...

Variables

const short MAYBEVOID = 1
 indicates that a property value can be void. More...
 
const short BOUND = 2
 indicates that a PropertyChangeEvent will be fired to all registered XPropertyChangeListeners whenever the value of this property changes. More...
 
const short CONSTRAINED = 4
 indicates that a PropertyChangeEvent will be fired to all registered XVetoableChangeListeners whenever the value of this property is about to change. More...
 
const short TRANSIENT = 8
 indicates that the value of the property is not persistent. More...
 
const short READONLY = 16
 indicates that the value of the property is read-only. More...
 
const short MAYBEAMBIGUOUS = 32
 indicates that the value of the property can be ambiguous. More...
 
const short MAYBEDEFAULT = 64
 indicates that the property can be set to default. More...
 
const short REMOVABLE = 128
 indicates that the property can be removed (i.e., by calling XPropertyContainer::removeProperty()). More...
 
const short REMOVEABLE = 128
 
const short OPTIONAL = 256
 indicates that a property is optional. More...
 

Detailed Description

These values are used to specify the behavior of a Property.

Variable Documentation

const short BOUND = 2

indicates that a PropertyChangeEvent will be fired to all registered XPropertyChangeListeners whenever the value of this property changes.

const short CONSTRAINED = 4

indicates that a PropertyChangeEvent will be fired to all registered XVetoableChangeListeners whenever the value of this property is about to change.

This always implies that the property is bound, too.

const short MAYBEAMBIGUOUS = 32

indicates that the value of the property can be ambiguous.

const short MAYBEDEFAULT = 64

indicates that the property can be set to default.

const short MAYBEVOID = 1

indicates that a property value can be void.

It does not mean that the type of the property is void!

const short OPTIONAL = 256

indicates that a property is optional.

<p>This attribute is not of interest for concrete property
implementations. It's needed for property specifications inside
service specifications in UNOIDL.</p>

@see com::sun::star::reflection::XPropertyTypeDescription
@see com::sun::star::reflection::XServiceTypeDescription
Since
OOo 1.1.2
const short READONLY = 16

indicates that the value of the property is read-only.

const short REMOVABLE = 128

indicates that the property can be removed (i.e., by calling XPropertyContainer::removeProperty()).

const short REMOVEABLE = 128
const short TRANSIENT = 8

indicates that the value of the property is not persistent.