LibreOffice Module sc (master) 1
|
#include <defaultsoptions.hxx>
Public Member Functions | |
ScDefaultsCfg () | |
void | SetOptions (const ScDefaultsOptions &rNew) |
virtual void | Notify (const css::uno::Sequence< OUString > &aPropertyNames) override |
Public Member Functions inherited from ScDefaultsOptions | |
ScDefaultsOptions () | |
void | SetDefaults () |
SCTAB | GetInitTabCount () const |
void | SetInitTabCount (SCTAB nTabs) |
void | SetInitTabPrefix (const OUString &aPrefix) |
const OUString & | GetInitTabPrefix () const |
bool | GetInitJumboSheets () const |
bool | operator== (const ScDefaultsOptions &rOpt) const |
Public Member Functions inherited from utl::ConfigItem | |
virtual | ~ConfigItem () override |
ConfigItem (ConfigItem const &)=default | |
ConfigItem (ConfigItem &&)=default | |
ConfigItem & | operator= (ConfigItem const &)=delete |
ConfigItem & | operator= (ConfigItem &&)=delete |
virtual void | Notify (const css::uno::Sequence< OUString > &aPropertyNames)=0 |
const OUString & | GetSubTreeName () const |
bool | IsModified () const |
void | Commit () |
ConfigItemMode | GetMode () const |
Public Member Functions inherited from utl::ConfigurationBroadcaster | |
void | AddListener (utl::ConfigurationListener *pListener) |
void | RemoveListener (utl::ConfigurationListener const *pListener) |
void | NotifyListeners (ConfigurationHints nHint) |
ConfigurationBroadcaster () | |
ConfigurationBroadcaster (ConfigurationBroadcaster const &) | |
virtual | ~ConfigurationBroadcaster () |
ConfigurationBroadcaster & | operator= (ConfigurationBroadcaster const &other) |
virtual void | BlockBroadcasts (bool bBlock) |
Private Member Functions | |
virtual void | ImplCommit () override |
Static Private Member Functions | |
static css::uno::Sequence< OUString > | GetPropertyNames () |
Additional Inherited Members | |
Static Public Member Functions inherited from utl::ConfigItem | |
static css::uno::Sequence< OUString > | GetNodeNames (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, ConfigNameFormat eFormat) |
static css::uno::Sequence< css::uno::Any > | GetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, bool bAllLocales) |
static bool | PutProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues, bool bAllLocales) |
static bool | ClearNodeSet (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode) |
static bool | ReplaceSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues, bool bAllLocales) |
static bool | SetSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues) |
Protected Member Functions inherited from utl::ConfigItem | |
ConfigItem (OUString aSubTree, ConfigItemMode nMode=ConfigItemMode::NONE) | |
void | SetModified () |
void | ClearModified () |
css::uno::Sequence< css::uno::Any > | GetProperties (const css::uno::Sequence< OUString > &rNames) |
css::uno::Sequence< sal_Bool > | GetReadOnlyStates (const css::uno::Sequence< OUString > &rNames) |
bool | PutProperties (const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues) |
bool | EnableNotification (const css::uno::Sequence< OUString > &rNames, bool bEnableInternalNotification=false) |
void | DisableNotification () |
css::uno::Sequence< OUString > | GetNodeNames (const OUString &rNode) |
css::uno::Sequence< OUString > | GetNodeNames (const OUString &rNode, ConfigNameFormat eFormat) |
bool | ClearNodeSet (const OUString &rNode) |
bool | ClearNodeElements (const OUString &rNode, css::uno::Sequence< OUString > const &rElements) |
bool | SetSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues) |
bool | ReplaceSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues) |
bool | AddNode (const OUString &rNode, const OUString &rNewNode) |
Definition at line 66 of file defaultsoptions.hxx.
ScDefaultsCfg::ScDefaultsCfg | ( | ) |
Definition at line 79 of file defaultsoptions.cxx.
References Any, utl::ConfigItem::GetProperties(), GetPropertyNames(), pValues, SCDEFAULTSOPT_JUMBO_SHEETS, SCDEFAULTSOPT_TAB_COUNT, SCDEFAULTSOPT_TAB_PREFIX, ScDefaultsOptions::SetInitTabCount(), and ScDefaultsOptions::SetInitTabPrefix().
|
staticprivate |
Definition at line 71 of file defaultsoptions.cxx.
Referenced by ImplCommit(), and ScDefaultsCfg().
|
overrideprivatevirtual |
Implements utl::ConfigItem.
Definition at line 120 of file defaultsoptions.cxx.
References Any, ScDefaultsOptions::GetInitJumboSheets(), ScDefaultsOptions::GetInitTabCount(), ScDefaultsOptions::GetInitTabPrefix(), GetPropertyNames(), utl::ConfigItem::PutProperties(), pValues, SCDEFAULTSOPT_JUMBO_SHEETS, SCDEFAULTSOPT_TAB_COUNT, and SCDEFAULTSOPT_TAB_PREFIX.
|
overridevirtual |
Implements utl::ConfigItem.
Definition at line 150 of file defaultsoptions.cxx.
void ScDefaultsCfg::SetOptions | ( | const ScDefaultsOptions & | rNew | ) |
Definition at line 144 of file defaultsoptions.cxx.
References utl::ConfigItem::SetModified().