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

handles string representations of property values. More...

import"XStringRepresentation.idl";

Inheritance diagram for XStringRepresentation:
StringRepresentation

Public Member Functions

string convertToControlValue ([in]any PropertyValue) raises ( com::sun::star::uno::Exception )
 converts a into a string. More...
 
any convertToPropertyValue ([in]string ControlValue, [in]type ControlValueType) raises ( com::sun::star::uno::Exception )
 converts a string into an any with the type defined by the target type. More...
 

Detailed Description

handles string representations of property values.

See also

Member Function Documentation

◆ convertToControlValue()

string convertToControlValue ( [in] any  PropertyValue)
raises (com::sun::star::uno::Exception
)

converts a into a string.

Parameters
PropertyValueThe to-be-converted property value.
Returns
The converted string representation of the property value.
See also
XPropertyHandler::convertToControlValue()

◆ convertToPropertyValue()

any convertToPropertyValue ( [in] string  ControlValue,
[in] type  ControlValueType 
)
raises (com::sun::star::uno::Exception
)

converts a string into an any with the type defined by the target type.

Parameters
ControlValueThe to-be-converted control value.
ControlValueTypeThe target type of the conversion.
See also
XPropertyHandler::convertToPropertyValue()

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