|
LibreOffice
LibreOffice 26.2 SDK C/C++ API Reference
|
Deprecated API. More...
#include <profile.hxx>
Public Member Functions | |
| Profile (const rtl::OUString &strProfileName, oslProfileOption Options=Profile_DEFAULT) | |
| Open or create a configuration profile. | |
| ~Profile () | |
| Close the opened profile an flush all data to the disk. | |
| bool | flush () |
| rtl::OString | readString (const rtl::OString &rSection, const rtl::OString &rEntry, const rtl::OString &rDefault) |
| bool | readBool (const rtl::OString &rSection, const rtl::OString &rEntry, bool bDefault) |
| sal_uInt32 | readIdent (const rtl::OString &rSection, const rtl::OString &rEntry, sal_uInt32 nFirstId, const std::list< rtl::OString > &rStrings, sal_uInt32 nDefault) |
| bool | writeString (const rtl::OString &rSection, const rtl::OString &rEntry, const rtl::OString &rString) |
| bool | writeBool (const rtl::OString &rSection, const rtl::OString &rEntry, bool Value) |
| bool | writeIdent (const rtl::OString &rSection, const rtl::OString &rEntry, sal_uInt32 nFirstId, const std::list< rtl::OString > &rStrings, sal_uInt32 nValue) |
| bool | removeEntry (const rtl::OString &rSection, const rtl::OString &rEntry) |
| Remove an entry from a section. | |
| std::list< rtl::OString > | getSectionEntries (const rtl::OString &rSection) |
| Get all entries belonging to the specified section. | |
| std::list< rtl::OString > | getSections () |
| Get all section entries. | |
Deprecated API.
|
inline |
Open or create a configuration profile.
Sets a handle to the profile, otherwise if the profile could not be opened then throw an exception.
|
inline |
Close the opened profile an flush all data to the disk.
|
inline |
|
inline |
Get all entries belonging to the specified section.
| rSection | Name of the section. |
|
inline |
Get all section entries.
|
inline |
|
inline |
|
inline |
|
inline |
Remove an entry from a section.
| rSection | Name of the section. |
| rEntry | Name of the entry to remove. |
| False | if section or entry could not be found. |
|
inline |
|
inline |
|
inline |