LibreOffice
LibreOffice 24.2 SDK API Reference
|
import"XConfigManager.idl";
Public Member Functions | |
void | addPropertyChangeListener ([in] string KeyName, [in] com::sun::star::beans::XPropertyChangeListener Listener) |
add a listener to notify changes on well known variables inside the real implementation More... | |
void | removePropertyChangeListener ([in] string KeyName, [in] com::sun::star::beans::XPropertyChangeListener Listener) |
remove a registered listener More... | |
string | substituteVariables ([in] string Text) |
substitute variables (place holder) inside given parameter Text More... | |
void | flush () |
was designed for additional functionality for interface com::sun::star::registry::XSimpleRegistry and make no sense without that 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... | |
void addPropertyChangeListener | ( | [in] string | KeyName, |
[in] com::sun::star::beans::XPropertyChangeListener | Listener | ||
) |
add a listener to notify changes on well known variables inside the real implementation
Listener can update his text values by calling XConfigManager::substituteVariables() again. If KeyName specifies a group of keys, the listener gets one notify for each subkey.
KeyName | specifies variable about listener will be informed on changes |
Listener | listener which will be informed |
void flush | ( | ) |
was designed for additional functionality for interface com::sun::star::registry::XSimpleRegistry and make no sense without that
void removePropertyChangeListener | ( | [in] string | KeyName, |
[in] com::sun::star::beans::XPropertyChangeListener | Listener | ||
) |
remove a registered listener
KeyName | specifies variable on which listener was registered |
Listener | listener which will be deregistered |
string substituteVariables | ( | [in] string | Text | ) |
substitute variables (place holder) inside given parameter Text
The value of Text is NOT changed.
Text | original value including variables |