LibreOffice Module sw (master) 1
|
#include <modcfg.hxx>
Public Member Functions | |
SwTableConfig (bool bWeb) | |
virtual | ~SwTableConfig () override |
virtual void | Notify (const css::uno::Sequence< OUString > &aPropertyNames) override |
void | Load () |
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 const css::uno::Sequence< OUString > & | GetPropertyNames () |
Private Attributes | |
sal_uInt16 | m_nTableHMove |
sal_uInt16 | m_nTableVMove |
sal_uInt16 | m_nTableHInsert |
sal_uInt16 | m_nTableVInsert |
TableChgMode | m_eTableChgMode |
bool | m_bInsTableFormatNum |
bool | m_bInsTableChangeNumFormat |
bool | m_bInsTableAlignNum |
bool | m_bSplitVerticalByDefault |
Friends | |
class | SwModuleOptions |
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 146 of file modcfg.hxx.
SwTableConfig::SwTableConfig | ( | bool | bWeb | ) |
Definition at line 1085 of file modcfg.cxx.
References FixedWidthChangeAbs, Load(), and ReleaseTree.
|
overridevirtual |
Definition at line 1101 of file modcfg.cxx.
|
staticprivate |
Definition at line 1068 of file modcfg.cxx.
Referenced by ImplCommit(), and Load().
|
overrideprivatevirtual |
Implements utl::ConfigItem.
Definition at line 1107 of file modcfg.cxx.
References Any, convertTwipToMm100(), GetPropertyNames(), m_bInsTableAlignNum, m_bInsTableChangeNumFormat, m_bInsTableFormatNum, m_bSplitVerticalByDefault, m_eTableChgMode, m_nTableHInsert, m_nTableHMove, m_nTableVInsert, m_nTableVMove, utl::ConfigItem::PutProperties(), and pValues.
void SwTableConfig::Load | ( | ) |
Definition at line 1131 of file modcfg.cxx.
References Any, utl::ConfigItem::GetProperties(), GetPropertyNames(), m_bInsTableAlignNum, m_bInsTableChangeNumFormat, m_bInsTableFormatNum, m_bSplitVerticalByDefault, m_eTableChgMode, m_nTableHInsert, m_nTableHMove, m_nTableVInsert, m_nTableVMove, o3tl::mm100, pValues, and o3tl::toTwips().
Referenced by SwTableConfig().
|
overridevirtual |
Implements utl::ConfigItem.
Definition at line 1105 of file modcfg.cxx.
|
friend |
Definition at line 148 of file modcfg.hxx.
|
private |
Definition at line 158 of file modcfg.hxx.
Referenced by ImplCommit(), SwModuleOptions::IsInsTableAlignNum(), and Load().
|
private |
Definition at line 157 of file modcfg.hxx.
Referenced by ImplCommit(), SwModuleOptions::IsInsTableChangeNumFormat(), and Load().
|
private |
Definition at line 156 of file modcfg.hxx.
Referenced by ImplCommit(), SwModuleOptions::IsInsTableFormatNum(), and Load().
|
private |
Definition at line 159 of file modcfg.hxx.
Referenced by ImplCommit(), SwModuleOptions::IsSplitVerticalByDefault(), and Load().
|
private |
Definition at line 154 of file modcfg.hxx.
Referenced by SwModuleOptions::GetTableMode(), ImplCommit(), Load(), and SwModuleOptions::SetTableMode().
|
private |
Definition at line 152 of file modcfg.hxx.
Referenced by SwModuleOptions::GetTableHInsert(), ImplCommit(), Load(), and SwModuleOptions::SetTableHInsert().
|
private |
Definition at line 150 of file modcfg.hxx.
Referenced by SwModuleOptions::GetTableHMove(), ImplCommit(), Load(), and SwModuleOptions::SetTableHMove().
|
private |
Definition at line 153 of file modcfg.hxx.
Referenced by SwModuleOptions::GetTableVInsert(), ImplCommit(), Load(), and SwModuleOptions::SetTableVInsert().
|
private |
Definition at line 151 of file modcfg.hxx.
Referenced by SwModuleOptions::GetTableVMove(), ImplCommit(), Load(), and SwModuleOptions::SetTableVMove().