LibreOffice Module unotools (master) 1
|
#include <unotools/historyoptions.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <comphelper/configurationhelper.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <optional>
Go to the source code of this file.
Namespaces | |
namespace | SvtHistoryOptions |
Collect information about history features. | |
Functions | |
static uno::Reference< container::XNameAccess > | GetConfig () |
static uno::Reference< container::XNameAccess > | GetCommonXCU () |
static uno::Reference< container::XNameAccess > | GetListAccess (uno::Reference< container::XNameAccess > const &xCfg, EHistoryType eHistory) |
static void | TruncateList (const uno::Reference< container::XNameAccess > &xCfg, const uno::Reference< container::XNameAccess > &xList, sal_uInt32 nSize) |
static void | PrependItem (const uno::Reference< container::XNameAccess > &xCfg, uno::Reference< container::XNameContainer > &xList, std::u16string_view sURL) |
static void | MoveItemToUnpinned (const uno::Reference< container::XNameAccess > &xCfg, uno::Reference< container::XNameContainer > &xOrderList, uno::Reference< container::XNameContainer > &xItemList, std::u16string_view sURL) |
static sal_uInt32 | GetCapacity (const uno::Reference< container::XNameAccess > &xCommonXCU, EHistoryType eHistory) |
void | SvtHistoryOptions::Clear (EHistoryType eHistory) |
Clear complete specified list. More... | |
std::vector< HistoryItem > | SvtHistoryOptions::GetList (EHistoryType eHistory) |
void | SvtHistoryOptions::AppendItem (EHistoryType eHistory, const OUString &sURL, const OUString &sFilter, const OUString &sTitle, const std::optional< OUString > &sThumbnail, ::std::optional< bool > const oIsReadOnly) |
void | SvtHistoryOptions::DeleteItem (EHistoryType eHistory, const OUString &sURL) |
Delete item from the specified list. More... | |
void | SvtHistoryOptions::TogglePinItem (EHistoryType eHistory, const OUString &sURL) |
|
static |
Definition at line 563 of file historyoptions.cxx.
References HelpBookmarks, and PickList.
Referenced by SvtHistoryOptions::AppendItem(), and SvtHistoryOptions::GetList().
|
static |
Definition at line 403 of file historyoptions.cxx.
References comphelper::ConfigurationHelper::openConfig(), and comphelper::Standard.
Referenced by SvtHistoryOptions::AppendItem(), and SvtHistoryOptions::GetList().
|
static |
Definition at line 393 of file historyoptions.cxx.
References comphelper::ConfigurationHelper::openConfig(), and comphelper::Standard.
Referenced by SvtHistoryOptions::AppendItem(), SvtHistoryOptions::Clear(), SvtHistoryOptions::DeleteItem(), SvtHistoryOptions::GetList(), and SvtHistoryOptions::TogglePinItem().
|
static |
Definition at line 413 of file historyoptions.cxx.
References HelpBookmarks, and PickList.
Referenced by SvtHistoryOptions::AppendItem(), SvtHistoryOptions::Clear(), SvtHistoryOptions::DeleteItem(), SvtHistoryOptions::GetList(), and SvtHistoryOptions::TogglePinItem().
|
static |
Definition at line 491 of file historyoptions.cxx.
References comphelper::ConfigurationHelper::flush(), i, and nLength.
Referenced by SvtHistoryOptions::AppendItem(), and SvtHistoryOptions::TogglePinItem().
|
static |
Definition at line 459 of file historyoptions.cxx.
References comphelper::ConfigurationHelper::flush(), i, and nLength.
Referenced by SvtHistoryOptions::AppendItem(), and SvtHistoryOptions::TogglePinItem().
|
static |
Definition at line 431 of file historyoptions.cxx.
References comphelper::ConfigurationHelper::flush(), i, and nLength.
Referenced by SvtHistoryOptions::AppendItem(), and SvtHistoryOptions::GetList().