|
LibreOffice
LibreOffice 26.2 SDK C/C++ API Reference
|
#include <bootstrap.hxx>
Public Member Functions | |
| Bootstrap () | |
| default ctor. | |
| Bootstrap (const rtl::OUString &iniName) | |
| Opens a bootstrap argument container. | |
| ~Bootstrap () | |
| Closes a bootstrap argument container. | |
| bool | getFrom (const ::rtl::OUString &sName, ::rtl::OUString &outValue) const |
| Retrieves a bootstrap argument. | |
| void | getFrom (const ::rtl::OUString &sName, ::rtl::OUString &outValue, const ::rtl::OUString &aDefault) const |
| Retrieves a bootstrap argument. | |
| void | getIniName (::rtl::OUString &iniName) const |
| Retrieves the name of the underlying ini-file. | |
| void | expandMacrosFrom (::rtl::OUString ¯o) const |
| Expands a macro using bootstrap variables. | |
| rtlBootstrapHandle | getHandle () const |
| Provides the bootstrap internal handle. | |
Static Public Member Functions | |
| static void | setIniFilename (const ::rtl::OUString &sFileUri) |
| static bool | get (const ::rtl::OUString &sName, ::rtl::OUString &outValue) |
| Retrieves a bootstrap parameter. | |
| static void | get (const ::rtl::OUString &sName, ::rtl::OUString &outValue, const ::rtl::OUString &aDefault) |
| Retrieves a bootstrap parameter. | |
| static void | set (::rtl::OUString const &name, ::rtl::OUString const &value) |
| Sets a bootstrap parameter. | |
| static void | expandMacros (::rtl::OUString ¯o) |
| Expands a macro using default bootstrap variables. | |
| static inline ::rtl::OUString | encode (::rtl::OUString const &value) |
| Escapes special characters ("$" and "\"). | |
|
inline |
default ctor.
|
inline |
Opens a bootstrap argument container.
|
inline |
Closes a bootstrap argument container.
|
inlinestatic |
Escapes special characters ("$" and "\").
| value | an arbitrary value |
|
inlinestatic |
Expands a macro using default bootstrap variables.
| [in,out] | macro | The macro to be expanded |
|
inline |
Expands a macro using bootstrap variables.
| [in,out] | macro | The macro to be expanded |
|
inlinestatic |
Retrieves a bootstrap parameter.
| sName | name of the bootstrap value. case insensitive. | |
| [out] | outValue | On success contains the value, otherwise an empty string. |
|
inlinestatic |
Retrieves a bootstrap parameter.
| sName | name of the bootstrap value. case insensitive. | |
| [out] | outValue | Contains the value associated with sName. |
| aDefault | if none of the other methods retrieved a value, outValue is assigned to aDefault. |
|
inline |
Retrieves a bootstrap argument.
It is first tried to retrieve the value via the global function and second via the special bootstrap container.
|
inline |
Retrieves a bootstrap argument.
It is first tried to retrieve the value via the global function and second via the special bootstrap container.
|
inline |
Provides the bootstrap internal handle.
|
inline |
Retrieves the name of the underlying ini-file.
|
inlinestatic |
Sets a bootstrap parameter.
| name | name of bootstrap parameter |
| value | value of bootstrap parameter |
|
inlinestatic |