interface XTypeConverter in module com::sun::star::script::

(Global Index)

Syntax

interface XTypeConverter : com::sun::star::uno::XInterface ;

Description

provides standard type conversions.

Method Summary

convertTo converts the value in aFrom to the specified type.

convertToSimpleType converts the value in aFrom to the specified simple type.

Method Details



convertTo

Syntax

any convertTo (
any aFrom,
type xDestinationType )
raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::script::CannotConvertException );

Description

converts the value in aFrom to the specified type.


convertToSimpleType

Syntax

any convertToSimpleType (
any aFrom,
com::sun::star::uno::TypeClass aDestinationType )
raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::script::CannotConvertException );

Description

converts the value in aFrom to the specified simple type.

Top of Page