LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides a name for the service to be used in displays. More...
import"XServiceDisplayName.idl";
Public Member Functions | |
string | getServiceDisplayName ([in] ::com::sun::star::lang::Locale aLocale) |
returns the display name of the service for a given language. 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... | |
provides a name for the service to be used in displays.
This name can be used in displays (dialogs, menus, etc.) to provide a more memorable / meaningful name than the service name or its implementation name. It should not be used to identify / select a specific service / implementation.
string getServiceDisplayName | ( | [in] ::com::sun::star::lang::Locale | aLocale | ) |
returns the display name of the service for a given language.
The caller may specify a com::sun::star::lang::Locale for the preferred language of the resulting string. However, if that locale is not supported the resulting string may be given in a different language. Usually this should be English.
aLocale | the preferred language for the resulting display name. |