Top > OOo > Ext > MRI > Documentation > TypeMappings

UNO Type Mappings Edit

UNO TypeOOo BasicPythonJavaC++Description
voidinternal type(None)voidvoidEmpty type, used only as method return type and in any.
booleanBooleanboolbooleansal_BoolCan be true or false.
byteIntegerlongbytesal_Int8Signed 8-bit integer type (ranging from -128 to 127, inclusive).
shortIntegerlongshortsal_Int16Signed 16-bit integer type (ranging from -32768 to 32767, inclusive).
unsigned shortinternal typelongshortsal_uInt16Unsigned 16-bit integer type (deprecated).
longLonglongintsal_Int32Signed 32-bit integer type (ranging from -2147483648 to 2147483647, inclusive).
unsigned longinternal typelongintsal_uInt32Unsigned 32-bit integer type (deprecated).
hyperinternal typelonglongsal_Int64Signed 64-bit integer type (ranging from -9223372036854775808 to 9223372036854775807, inclusive).
unsigned hyperinternal typelonglongsal_uInt64Unsigned 64-bit integer type (deprecated).
floatSinglefloatfloatfloatIEC 60559 single precision floating point type.
doubleDoublefloatdoubledoubleIEC 60559 double precision floating point type.
charinternal typeuno.Charcharsal_UnicodeRepresents individual Unicode characters (more precisely: individual UTF-16 code units).
stringStringunicodejava.lang.Stringrtl::OUStringRepresents Unicode strings (more precisely: strings of Unicode scalar values).
typecom.sun.star.
reflection.XIdlClass
uno.Typecom.sun.star.
uno.Type
com::sun::star::
uno::Type
Meta type that describes all UNO types.
anyVariant(uno.Any)java.lang.Object/
com.sun.star.
uno.Any
com::sun::star::
uno::Any
Special type that can represent values of all other types.

Reload   New Lower page making Edit Freeze Diff Upload Copy Rename   Front page List of pages Search Recent changes Backup   Help   RSS of recent changes