Did you know that the OpenOffice.org Wiki has a WYSIWYG editor? See Help:FCKeditor

Simple Types

From OpenOffice.org Wiki

Jump to: navigation, search



UNO provides a set of predefined, simple types which are listed in the following table:

UNO TypeDescription
voidEmpty type, used only as method return type and in any.
booleanCan be true or false.
byteSigned 8-bit integer type (ranging from -128 to 127, inclusive).
shortSigned 16-bit integer type (ranging from −32768 to 32767, inclusive).
unsigned shortUnsigned 16-bit integer type (deprecated).
longSigned 32-bit integer type (ranging from −2147483648 to 2147483647, inclusive).
unsigned longUnsigned 32-bit integer type (deprecated).
hyperSigned 64-bit integer type (ranging from −9223372036854775808 to 9223372036854775807, inclusive).
unsigned hyperUnsigned 64-bit integer type (deprecated).
floatIEC 60559 single precision floating point type.
doubleIEC 60559 double precision floating point type.
charRepresents individual Unicode characters (more precisely: individual UTF-16 code units).
stringRepresents Unicode strings (more precisely: strings of Unicode scalar values).
typeMeta type that describes all UNO types.
anySpecial type that can represent values of all other types.

The chapters about language bindings Java Language Binding, C++ Language Binding, OpenOffice.org Basic and Automation Bridge describe how these types are mapped to the types of your target language.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
Create a book
In other languages