LibreOffice Module sc (master) 1
|
#include <inputopt.hxx>
Public Member Functions | |
ScInputCfg () | |
const ScInputOptions & | GetOptions () const |
void | SetOptions (const ScInputOptions &rNew) |
virtual void | Notify (const css::uno::Sequence< OUString > &aPropertyNames) override |
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 | |
void | ReadCfg () |
virtual void | ImplCommit () override |
Private Member Functions inherited from ScInputOptions | |
ScInputOptions () | |
void | SetMoveDir (sal_uInt16 nNew) |
sal_uInt16 | GetMoveDir () const |
void | SetMoveSelection (bool bSet) |
bool | GetMoveSelection () const |
void | SetEnterEdit (bool bSet) |
bool | GetEnterEdit () const |
void | SetExtendFormat (bool bSet) |
bool | GetExtendFormat () const |
void | SetRangeFinder (bool bSet) |
bool | GetRangeFinder () const |
void | SetExpandRefs (bool bSet) |
bool | GetExpandRefs () const |
void | SetSortRefUpdate (bool bSet) |
bool | GetSortRefUpdate () const |
void | SetMarkHeader (bool bSet) |
bool | GetMarkHeader () const |
void | SetUseTabCol (bool bSet) |
bool | GetUseTabCol () const |
void | SetTextWysiwyg (bool bSet) |
bool | GetTextWysiwyg () const |
void | SetReplaceCellsWarn (bool bSet) |
bool | GetReplaceCellsWarn () const |
void | SetLegacyCellSelection (bool bSet) |
bool | GetLegacyCellSelection () const |
void | SetEnterPasteMode (bool bSet) |
bool | GetEnterPasteMode () const |
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 74 of file inputopt.hxx.
ScInputCfg::ScInputCfg | ( | ) |
Definition at line 82 of file inputopt.cxx.
References utl::ConfigItem::EnableNotification(), GetPropertyNames(), and ReadCfg().
|
inline |
Definition at line 84 of file inputopt.hxx.
|
staticprivate |
Definition at line 66 of file inputopt.cxx.
Referenced by ImplCommit(), ReadCfg(), and ScInputCfg().
|
overrideprivatevirtual |
Implements utl::ConfigItem.
Definition at line 124 of file inputopt.cxx.
References Any, ScInputOptions::GetEnterEdit(), ScInputOptions::GetEnterPasteMode(), ScInputOptions::GetExpandRefs(), ScInputOptions::GetExtendFormat(), ScInputOptions::GetLegacyCellSelection(), ScInputOptions::GetMarkHeader(), ScInputOptions::GetMoveDir(), ScInputOptions::GetMoveSelection(), GetPropertyNames(), ScInputOptions::GetRangeFinder(), ScInputOptions::GetReplaceCellsWarn(), ScInputOptions::GetSortRefUpdate(), ScInputOptions::GetUseTabCol(), utl::ConfigItem::PutProperties(), pValues, SCINPUTOPT_EDTEREDIT, SCINPUTOPT_ENTER_PASTE_MODE, SCINPUTOPT_EXPANDREFS, SCINPUTOPT_EXTENDFMT, SCINPUTOPT_LEGACY_CELL_SELECTION, SCINPUTOPT_MARKHEADER, SCINPUTOPT_MOVEDIR, SCINPUTOPT_MOVESEL, SCINPUTOPT_RANGEFIND, SCINPUTOPT_REPLCELLSWARN, SCINPUTOPT_SORT_REF_UPDATE, and SCINPUTOPT_USETABCOL.
|
overridevirtual |
|
private |
Definition at line 90 of file inputopt.cxx.
References utl::ConfigItem::GetProperties(), GetPropertyNames(), SCINPUTOPT_EDTEREDIT, SCINPUTOPT_ENTER_PASTE_MODE, SCINPUTOPT_EXPANDREFS, SCINPUTOPT_EXTENDFMT, SCINPUTOPT_LEGACY_CELL_SELECTION, SCINPUTOPT_MARKHEADER, SCINPUTOPT_MOVEDIR, SCINPUTOPT_MOVESEL, SCINPUTOPT_RANGEFIND, SCINPUTOPT_REPLCELLSWARN, SCINPUTOPT_SORT_REF_UPDATE, SCINPUTOPT_USETABCOL, ScInputOptions::SetEnterEdit(), ScInputOptions::SetEnterPasteMode(), ScInputOptions::SetExpandRefs(), ScInputOptions::SetExtendFormat(), ScInputOptions::SetLegacyCellSelection(), ScInputOptions::SetMarkHeader(), ScInputOptions::SetMoveDir(), ScInputOptions::SetMoveSelection(), ScInputOptions::SetRangeFinder(), ScInputOptions::SetReplaceCellsWarn(), ScInputOptions::SetSortRefUpdate(), and ScInputOptions::SetUseTabCol().
Referenced by Notify(), and ScInputCfg().
void ScInputCfg::SetOptions | ( | const ScInputOptions & | rNew | ) |
Definition at line 150 of file inputopt.cxx.
References utl::ConfigItem::Commit(), and utl::ConfigItem::SetModified().