Top > OOoBasic > Macros > 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).
longLonglongintsal_Int32Signed 32-bit integer type (ranging from -2147483648 to 2147483647, inclusive).
hyperinternal typelonglongsal_Int64Signed 64-bit integer type (ranging from -9223372036854775808 to 9223372036854775807, inclusive).
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