LibreOffice LibreOffice 25.2 SDK API Reference

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

## ◆ BOUND

const short BOUND = 2

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

## ◆ CONSTRAINED

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.

    <p>This always implies that the property is <em>bound</em>, too. </p>

## ◆ MAYBEAMBIGUOUS

const short MAYBEAMBIGUOUS = 32

indicates that the value of the property can be ambiguous.

## ◆ MAYBEDEFAULT

const short MAYBEDEFAULT = 64

indicates that the property can be set to default.

## ◆ MAYBEVOID

const short MAYBEVOID = 1

indicates that a property value can be void.

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

## ◆ OPTIONAL

const short OPTIONAL = 256

indicates that a property is optional.

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

See also
  com::sun::star::reflection::XPropertyTypeDescription
  com::sun::star::reflection::XServiceTypeDescription

Since
  OOo 1.1.2

## ◆ READONLY

const short READONLY = 16

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

## ◆ REMOVABLE

const short REMOVABLE = 128

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

## ◆ REMOVEABLE

const short REMOVEABLE = 128

Deprecated:
  same as PropertyAttribute::REMOVABLE.

## ◆ TRANSIENT

const short TRANSIENT = 8

indicates that the value of the property is not persistent.