LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XConstantTypeDescription Interface Referencepublished

Reflects a constant. More...


Inheritance diagram for XConstantTypeDescription:
XTypeDescription XInterface

Public Member Functions

any getConstantValue ()
- Public Member Functions inherited from XTypeDescription
com::sun::star::uno::TypeClass getTypeClass ()
 Returns the type class of the reflected UNOIDL entity. More...
string getName ()
 Returns the fully qualified name of the UNOIDL entity. More...
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
void acquire ()
 increases the reference counter by one. More...
void release ()
 decreases the reference counter by one. More...

Detailed Description

Reflects a constant.

The type class of this type is com::sun::star::uno::TypeClass::CONSTANT.

Constants may be contained in constants groups and modules.

See also
OOo 1.1.2

Member Function Documentation

◆ getConstantValue()

any getConstantValue ( )
the value of the constant.

Following types are allowed for constants:

  • boolean
  • byte
  • short
  • unsigned short
  • long
  • unsigned long
  • hyper
  • unsigned hyper
  • float
  • double

The documentation for this interface was generated from the following file: