LibreOffice Module sw (master) 1
|
#include <modcfg.hxx>
Public Member Functions | |
SwInsertConfig (bool bWeb) | |
virtual | ~SwInsertConfig () 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 | |
const css::uno::Sequence< OUString > & | GetPropertyNames () const |
virtual void | ImplCommit () override |
Private Attributes | |
std::unique_ptr< InsCaptionOptArr > | m_pCapOptions |
std::unique_ptr< InsCaptionOpt > | m_pOLEMiscOpt |
SvGlobalName | m_aGlobalNames [5] |
bool | m_bInsWithCaption |
bool | m_bCaptionOrderNumberingFirst |
SwInsertTableOptions | m_aInsTableOpts |
bool | m_bIsWeb |
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 118 of file modcfg.hxx.
SwInsertConfig::SwInsertConfig | ( | bool | bWeb | ) |
Definition at line 563 of file modcfg.cxx.
References GLOB_NAME_CALC, GLOB_NAME_CHART, GLOB_NAME_DRAW, GLOB_NAME_IMPRESS, GLOB_NAME_MATH, Load(), m_aGlobalNames, m_bIsWeb, m_pCapOptions, ReleaseTree, SO3_SC_CLASSID, SO3_SCH_CLASSID, SO3_SDRAW_CLASSID, SO3_SIMPRESS_CLASSID, and SO3_SM_CLASSID.
|
overridevirtual |
Definition at line 582 of file modcfg.cxx.
References m_pCapOptions, and m_pOLEMiscOpt.
|
private |
Definition at line 460 of file modcfg.cxx.
References m_bIsWeb.
Referenced by ImplCommit(), and Load().
|
overrideprivatevirtual |
Implements utl::ConfigItem.
Definition at line 607 of file modcfg.cxx.
References Any, DefaultBorder, FRAME_CAP, GetPropertyNames(), GLOB_NAME_CALC, GLOB_NAME_CHART, GLOB_NAME_DRAW, GLOB_NAME_IMPRESS, GLOB_NAME_MATH, GRAPHIC_CAP, Headline, lcl_WriteOpt(), m_aGlobalNames, m_aInsTableOpts, m_bCaptionOrderNumberingFirst, m_bInsWithCaption, m_pCapOptions, m_pOLEMiscOpt, SwInsertTableOptions::mnInsMode, SwInsertTableOptions::mnRowsToRepeat, OLE_CAP, utl::ConfigItem::PutProperties(), pValues, SplitLayout, and TABLE_CAP.
void SwInsertConfig::Load | ( | ) |
Definition at line 843 of file modcfg.cxx.
References Any, DefaultBorder, FRAME_CAP, utl::ConfigItem::GetProperties(), GetPropertyNames(), GLOB_NAME_CALC, GLOB_NAME_CHART, GLOB_NAME_DRAW, GLOB_NAME_IMPRESS, GLOB_NAME_MATH, GRAPHIC_CAP, Headline, lcl_ReadOpt(), m_aGlobalNames, m_aInsTableOpts, m_bCaptionOrderNumberingFirst, m_bInsWithCaption, m_bIsWeb, m_pCapOptions, m_pOLEMiscOpt, SwInsertTableOptions::mnInsMode, SwInsertTableOptions::mnRowsToRepeat, NONE, OLE_CAP, pValues, SplitLayout, and TABLE_CAP.
Referenced by SwInsertConfig().
|
overridevirtual |
Implements utl::ConfigItem.
Definition at line 605 of file modcfg.cxx.
|
friend |
Definition at line 120 of file modcfg.hxx.
|
private |
Definition at line 125 of file modcfg.hxx.
Referenced by SwModuleOptions::GetCapOption(), ImplCommit(), Load(), SwModuleOptions::SetCapOption(), and SwInsertConfig().
|
private |
Definition at line 130 of file modcfg.hxx.
Referenced by SwModuleOptions::GetInsTableFlags(), ImplCommit(), and Load().
|
private |
Definition at line 128 of file modcfg.hxx.
Referenced by ImplCommit(), SwModuleOptions::IsCaptionOrderNumberingFirst(), Load(), and SwModuleOptions::SetCaptionOrderNumberingFirst().
|
private |
Definition at line 127 of file modcfg.hxx.
Referenced by ImplCommit(), SwModuleOptions::IsInsWithCaption(), Load(), and SwModuleOptions::SetInsWithCaption().
|
private |
Definition at line 131 of file modcfg.hxx.
Referenced by GetPropertyNames(), Load(), and SwInsertConfig().
|
private |
Definition at line 122 of file modcfg.hxx.
Referenced by SwModuleOptions::GetCapOption(), ImplCommit(), Load(), SwModuleOptions::SetCapOption(), SwInsertConfig(), and ~SwInsertConfig().
|
private |
Definition at line 123 of file modcfg.hxx.
Referenced by SwModuleOptions::GetCapOption(), ImplCommit(), Load(), SwModuleOptions::SetCapOption(), and ~SwInsertConfig().