|
LibreOffice Module unotools (master) 1
|
Public Member Functions | |
| SvtSearchOptions_Impl () | |
| virtual | ~SvtSearchOptions_Impl () override |
| virtual void | Notify (const css::uno::Sequence< OUString > &aPropertyNames) override |
| is called from the ConfigManager before application ends of from the PropertyChangeListener if the sub tree broadcasts changes. More... | |
| bool | GetFlag (sal_uInt16 nOffset) const |
| void | SetFlag (sal_uInt16 nOffset, bool bVal) |
| void | SetSearchAlgorithm (sal_uInt16 nOffset, bool bVal) |
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 |
| is called from the ConfigManager before application ends of from the PropertyChangeListener if the sub tree broadcasts changes. More... | |
| 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) |
Protected Member Functions | |
| bool | IsModified () const |
| void | SetModified (bool bVal) |
| void | Load () |
| bool | Save () |
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) |
| enables notifications about changes on selected sub nodes/values More... | |
| void | DisableNotification () |
| disables notifications about changes on sub nodes/values, which previously had been enabled with EnableNotification More... | |
| 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) |
Static Protected Member Functions | |
| static Sequence< OUString > | GetPropertyNames () |
Private Member Functions | |
| SvtSearchOptions_Impl (const SvtSearchOptions_Impl &)=delete | |
| SvtSearchOptions_Impl & | operator= (const SvtSearchOptions_Impl &)=delete |
| virtual void | ImplCommit () override |
| writes the changed values into the sub tree. More... | |
Private Attributes | |
| sal_Int32 | nFlags |
| bool | bModified |
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) |
Definition at line 35 of file searchopt.cxx.
|
privatedelete |
| SvtSearchOptions_Impl::SvtSearchOptions_Impl | ( | ) |
Definition at line 66 of file searchopt.cxx.
References Load(), and utl::ConfigItem::SetModified().
|
overridevirtual |
Definition at line 75 of file searchopt.cxx.
References IsModified().
| bool SvtSearchOptions_Impl::GetFlag | ( | sal_uInt16 | nOffset | ) | const |
Definition at line 90 of file searchopt.cxx.
References DBG_ASSERT, MAX_FLAGS_OFFSET, and nFlags.
Referenced by Save(), and SetSearchAlgorithm().
|
staticprotected |
Definition at line 118 of file searchopt.cxx.
References aPropNames, i, and MAX_FLAGS_OFFSET.
|
overrideprivatevirtual |
writes the changed values into the sub tree.
Private and only called from non-virtual public Commit().
Implements utl::ConfigItem.
Definition at line 80 of file searchopt.cxx.
References IsModified(), and Save().
|
inlineprotected |
Definition at line 47 of file searchopt.cxx.
References bModified.
Referenced by ImplCommit(), and ~SvtSearchOptions_Impl().
|
protected |
Definition at line 178 of file searchopt.cxx.
References Any, DBG_ASSERT, utl::ConfigItem::GetProperties(), GetPropertyNames(), i, MAX_FLAGS_OFFSET, pValues, and SetFlag().
Referenced by SvtSearchOptions_Impl().
|
overridevirtual |
is called from the ConfigManager before application ends of from the PropertyChangeListener if the sub tree broadcasts changes.
Implements utl::ConfigItem.
Definition at line 86 of file searchopt.cxx.
|
privatedelete |
|
protected |
Definition at line 229 of file searchopt.cxx.
References Any, DBG_ASSERT, GetFlag(), GetPropertyNames(), i, MAX_FLAGS_OFFSET, utl::ConfigItem::PutProperties(), and utl::ConfigItem::SetModified().
Referenced by ImplCommit().
| void SvtSearchOptions_Impl::SetFlag | ( | sal_uInt16 | nOffset, |
| bool | bVal | ||
| ) |
Definition at line 96 of file searchopt.cxx.
References DBG_ASSERT, MAX_FLAGS_OFFSET, nFlags, and utl::ConfigItem::SetModified().
Referenced by Load(), and SetSearchAlgorithm().
|
protected |
Definition at line 109 of file searchopt.cxx.
References bModified.
| void SvtSearchOptions_Impl::SetSearchAlgorithm | ( | sal_uInt16 | nOffset, |
| bool | bVal | ||
| ) |
Definition at line 163 of file searchopt.cxx.
|
private |
Definition at line 38 of file searchopt.cxx.
Referenced by IsModified(), and SetModified().
|
private |
Definition at line 37 of file searchopt.cxx.