LibreOffice
LibreOffice 7.4 SDK API Reference
|
allows set and retrieve the property type of an entry in a conversion dictionary More...
import"XConversionPropertyType.idl";
Public Member Functions | |
void | setPropertyType ([in] string aLeftText, [in] string aRightText, [in] short nPropertyType) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::IllegalArgumentException ) |
sets the property type for the specified entry. More... | |
short | getPropertyType ([in] string aLeftText, [in] string aRightText) raises ( com::sun::star::container::NoSuchElementException ) |
returns the property type for the specified entry. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
allows set and retrieve the property type of an entry in a conversion dictionary
The property type must be one of com::sun::star::linguistic2::ConversionPropertyType
short getPropertyType | ( | [in] string | aLeftText, |
[in] string | aRightText | ||
) | |||
raises | ( | com::sun::star::container::NoSuchElementException | |
) |
returns the property type for the specified entry.
The conversion entry is specified by the pair ( aLeftText, aRightText ).
aLeftText | the left text of the dictionary entry. |
aRightText | the right text of the dictionary entry. |
void setPropertyType | ( | [in] string | aLeftText, |
[in] string | aRightText, | ||
[in] short | nPropertyType | ||
) | |||
raises | ( | com::sun::star::container::NoSuchElementException, | |
com::sun::star::lang::IllegalArgumentException | |||
) |
sets the property type for the specified entry.
The conversion entry is specified by the pair ( aLeftText, aRightText ).
aLeftText | the left text of the dictionary entry. |
aRightText | the right text of the dictionary entry. |
nPropertyType | the property type to be set for the entry |