LibreOffice
LibreOffice 24.2 SDK API Reference
|
is the interface for binding programmatic names to aliases. More...
import"XLocalizedAliases.idl";
Public Member Functions | |
void | bindAlias ([in]string programmaticName, [in]com::sun::star::lang::Locale locale, [in]string alias) raises (com::sun::star::container::ElementExistException) |
registers an alias for a programmatic name. More... | |
void | unbindAlias ([in]com::sun::star::lang::Locale locale, [in]string alias) raises (com::sun::star::container::NoSuchElementException) |
revokes an alias for a programmatic name. More... | |
string | lookupAlias ([in]com::sun::star::lang::Locale locale, [in]string Alias) raises (com::sun::star::container::NoSuchElementException) |
retrieves a registered programmatic name identified by an alias. More... | |
string | lookupProgrammatic ([in]com::sun::star::lang::Locale locale, [in]string programmatic) raises (com::sun::star::container::NoSuchElementException) |
retrieves a given alias for a programmatic name. More... | |
void | unbindAliases ([in]string programmaticName) raises (com::sun::star::container::NoSuchElementException) |
removes all aliases for a programmatic name. More... | |
void | rebindAliases ([in]string currentProgrammatic, [in]string newProgrammatic) raises (com::sun::star::container::NoSuchElementException, com::sun::star::container::ElementExistException) |
rebinds all aliases registered to a given URL to a new one. More... | |
void | renameAlias ([in]com::sun::star::lang::Locale locale, [in]string oldName, [in]string aNewName) raises (com::sun::star::container::NoSuchElementException, com::sun::star::container::ElementExistException) |
renames an alias for a programmatic name. More... | |
sequence< AliasProgrammaticPair > | listAliases ([in]com::sun::star::lang::Locale locale) |
retrieves a list of all registered aliases for a certain 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... | |
is the interface for binding programmatic names to aliases.
Aliases can be provided in several locales for the same programmatic name.
void bindAlias | ( | [in] string | programmaticName, |
[in] com::sun::star::lang::Locale | locale, | ||
[in] string | alias | ||
) | |||
raises | ( | com::sun::star::container::ElementExistException | |
) |
registers an alias for a programmatic name.
sequence<AliasProgrammaticPair> listAliases | ( | [in] com::sun::star::lang::Locale | locale | ) |
retrieves a list of all registered aliases for a certain language.
locale | specifies the locale scope. |
string lookupAlias | ( | [in] com::sun::star::lang::Locale | locale, |
[in] string | Alias | ||
) | |||
raises | ( | com::sun::star::container::NoSuchElementException | |
) |
retrieves a registered programmatic name identified by an alias.
string lookupProgrammatic | ( | [in] com::sun::star::lang::Locale | locale, |
[in] string | programmatic | ||
) | |||
raises | ( | com::sun::star::container::NoSuchElementException | |
) |
retrieves a given alias for a programmatic name.
void rebindAliases | ( | [in] string | currentProgrammatic, |
[in] string | newProgrammatic | ||
) | |||
raises | ( | com::sun::star::container::NoSuchElementException, | |
com::sun::star::container::ElementExistException | |||
) |
rebinds all aliases registered to a given URL to a new one.
void renameAlias | ( | [in] com::sun::star::lang::Locale | locale, |
[in] string | oldName, | ||
[in] string | aNewName | ||
) | |||
raises | ( | com::sun::star::container::NoSuchElementException, | |
com::sun::star::container::ElementExistException | |||
) |
renames an alias for a programmatic name.
void unbindAlias | ( | [in] com::sun::star::lang::Locale | locale, |
[in] string | alias | ||
) | |||
raises | ( | com::sun::star::container::NoSuchElementException | |
) |
revokes an alias for a programmatic name.
void unbindAliases | ( | [in] string | programmaticName | ) | |
raises | ( | com::sun::star::container::NoSuchElementException | |||
) |
removes all aliases for a programmatic name.