LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwInsertConfig Class Referencefinal

#include <modcfg.hxx>

Inheritance diagram for SwInsertConfig:
[legend]
Collaboration diagram for SwInsertConfig:
[legend]

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
 
ConfigItemoperator= (ConfigItem const &)=delete
 
ConfigItemoperator= (ConfigItem &&)=delete
 
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 ()
 
ConfigurationBroadcasteroperator= (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< InsCaptionOptArrm_pCapOptions
 
std::unique_ptr< InsCaptionOptm_pOLEMiscOpt
 
SvGlobalName m_aGlobalNames [5]
 
bool m_bInsWithCaption
 
bool m_bCaptionOrderNumberingFirst
 
SwInsertTableOptions m_aInsTableOpts
 
bool const m_bIsWeb
 

Friends

class SwModuleOptions
 

Additional Inherited Members

- Protected Member Functions inherited from utl::ConfigItem
 ConfigItem (const OUString &rSubTree, 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_BoolGetReadOnlyStates (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)
 

Detailed Description

Definition at line 118 of file modcfg.hxx.

Constructor & Destructor Documentation

SwInsertConfig::SwInsertConfig ( bool  bWeb)
SwInsertConfig::~SwInsertConfig ( )
overridevirtual

Definition at line 581 of file modcfg.cxx.

References m_pCapOptions, and m_pOLEMiscOpt.

Member Function Documentation

const Sequence< OUString > & SwInsertConfig::GetPropertyNames ( ) const
private

Definition at line 459 of file modcfg.cxx.

References INS_PROP_TABLE_BORDER, and m_bIsWeb.

Referenced by ImplCommit(), and Load().

void SwInsertConfig::ImplCommit ( )
overrideprivatevirtual

Implements utl::ConfigItem.

Definition at line 606 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, INS_PROP_CAP_AUTOMATIC, INS_PROP_CAP_CAPTIONORDERNUMBERINGFIRST, INS_PROP_CAP_OBJECT_CALC_APPLYATTRIBUTES, INS_PROP_CAP_OBJECT_CALC_CAPTIONTEXT, INS_PROP_CAP_OBJECT_CALC_CATEGORY, INS_PROP_CAP_OBJECT_CALC_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_CALC_DELIMITER, INS_PROP_CAP_OBJECT_CALC_ENABLE, INS_PROP_CAP_OBJECT_CALC_LEVEL, INS_PROP_CAP_OBJECT_CALC_NUMBERING, INS_PROP_CAP_OBJECT_CALC_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_CALC_POSITION, INS_PROP_CAP_OBJECT_CHART_APPLYATTRIBUTES, INS_PROP_CAP_OBJECT_CHART_CAPTIONTEXT, INS_PROP_CAP_OBJECT_CHART_CATEGORY, INS_PROP_CAP_OBJECT_CHART_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_CHART_DELIMITER, INS_PROP_CAP_OBJECT_CHART_ENABLE, INS_PROP_CAP_OBJECT_CHART_LEVEL, INS_PROP_CAP_OBJECT_CHART_NUMBERING, INS_PROP_CAP_OBJECT_CHART_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_CHART_POSITION, INS_PROP_CAP_OBJECT_DRAW_APPLYATTRIBUTES, INS_PROP_CAP_OBJECT_DRAW_CAPTIONTEXT, INS_PROP_CAP_OBJECT_DRAW_CATEGORY, INS_PROP_CAP_OBJECT_DRAW_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_DRAW_DELIMITER, INS_PROP_CAP_OBJECT_DRAW_ENABLE, INS_PROP_CAP_OBJECT_DRAW_LEVEL, INS_PROP_CAP_OBJECT_DRAW_NUMBERING, INS_PROP_CAP_OBJECT_DRAW_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_DRAW_POSITION, INS_PROP_CAP_OBJECT_FORMULA_APPLYATTRIBUTES, INS_PROP_CAP_OBJECT_FORMULA_CAPTIONTEXT, INS_PROP_CAP_OBJECT_FORMULA_CATEGORY, INS_PROP_CAP_OBJECT_FORMULA_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_FORMULA_DELIMITER, INS_PROP_CAP_OBJECT_FORMULA_ENABLE, INS_PROP_CAP_OBJECT_FORMULA_LEVEL, INS_PROP_CAP_OBJECT_FORMULA_NUMBERING, INS_PROP_CAP_OBJECT_FORMULA_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_FORMULA_POSITION, INS_PROP_CAP_OBJECT_FRAME_CAPTIONTEXT, INS_PROP_CAP_OBJECT_FRAME_CATEGORY, INS_PROP_CAP_OBJECT_FRAME_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_FRAME_DELIMITER, INS_PROP_CAP_OBJECT_FRAME_ENABLE, INS_PROP_CAP_OBJECT_FRAME_LEVEL, INS_PROP_CAP_OBJECT_FRAME_NUMBERING, INS_PROP_CAP_OBJECT_FRAME_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_FRAME_POSITION, INS_PROP_CAP_OBJECT_GRAPHIC_APPLYATTRIBUTES, INS_PROP_CAP_OBJECT_GRAPHIC_CAPTIONTEXT, INS_PROP_CAP_OBJECT_GRAPHIC_CATEGORY, INS_PROP_CAP_OBJECT_GRAPHIC_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_GRAPHIC_DELIMITER, INS_PROP_CAP_OBJECT_GRAPHIC_ENABLE, INS_PROP_CAP_OBJECT_GRAPHIC_LEVEL, INS_PROP_CAP_OBJECT_GRAPHIC_NUMBERING, INS_PROP_CAP_OBJECT_GRAPHIC_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_GRAPHIC_POSITION, INS_PROP_CAP_OBJECT_IMPRESS_APPLYATTRIBUTES, INS_PROP_CAP_OBJECT_IMPRESS_CAPTIONTEXT, INS_PROP_CAP_OBJECT_IMPRESS_CATEGORY, INS_PROP_CAP_OBJECT_IMPRESS_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_IMPRESS_DELIMITER, INS_PROP_CAP_OBJECT_IMPRESS_ENABLE, INS_PROP_CAP_OBJECT_IMPRESS_LEVEL, INS_PROP_CAP_OBJECT_IMPRESS_NUMBERING, INS_PROP_CAP_OBJECT_IMPRESS_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_IMPRESS_POSITION, INS_PROP_CAP_OBJECT_OLEMISC_APPLYATTRIBUTES, INS_PROP_CAP_OBJECT_OLEMISC_CAPTIONTEXT, INS_PROP_CAP_OBJECT_OLEMISC_CATEGORY, INS_PROP_CAP_OBJECT_OLEMISC_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_OLEMISC_DELIMITER, INS_PROP_CAP_OBJECT_OLEMISC_ENABLE, INS_PROP_CAP_OBJECT_OLEMISC_LEVEL, INS_PROP_CAP_OBJECT_OLEMISC_NUMBERING, INS_PROP_CAP_OBJECT_OLEMISC_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_OLEMISC_POSITION, INS_PROP_CAP_OBJECT_TABLE_CAPTIONTEXT, INS_PROP_CAP_OBJECT_TABLE_CATEGORY, INS_PROP_CAP_OBJECT_TABLE_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_TABLE_DELIMITER, INS_PROP_CAP_OBJECT_TABLE_ENABLE, INS_PROP_CAP_OBJECT_TABLE_LEVEL, INS_PROP_CAP_OBJECT_TABLE_NUMBERING, INS_PROP_CAP_OBJECT_TABLE_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_TABLE_POSITION, INS_PROP_TABLE_BORDER, INS_PROP_TABLE_HEADER, INS_PROP_TABLE_REPEATHEADER, INS_PROP_TABLE_SPLIT, lcl_WriteOpt(), m_aGlobalNames, m_aInsTableOpts, m_bCaptionOrderNumberingFirst, m_bInsWithCaption, m_pCapOptions, m_pOLEMiscOpt, SwInsertTableOptions::mnInsMode, SwInsertTableOptions::mnRowsToRepeat, OLE_CAP, utl::ConfigItem::PutProperties(), SplitLayout, and TABLE_CAP.

void SwInsertConfig::Load ( )

Definition at line 842 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, INS_PROP_CAP_AUTOMATIC, INS_PROP_CAP_CAPTIONORDERNUMBERINGFIRST, INS_PROP_CAP_OBJECT_CALC_APPLYATTRIBUTES, INS_PROP_CAP_OBJECT_CALC_CAPTIONTEXT, INS_PROP_CAP_OBJECT_CALC_CATEGORY, INS_PROP_CAP_OBJECT_CALC_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_CALC_DELIMITER, INS_PROP_CAP_OBJECT_CALC_ENABLE, INS_PROP_CAP_OBJECT_CALC_LEVEL, INS_PROP_CAP_OBJECT_CALC_NUMBERING, INS_PROP_CAP_OBJECT_CALC_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_CALC_POSITION, INS_PROP_CAP_OBJECT_CHART_APPLYATTRIBUTES, INS_PROP_CAP_OBJECT_CHART_CAPTIONTEXT, INS_PROP_CAP_OBJECT_CHART_CATEGORY, INS_PROP_CAP_OBJECT_CHART_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_CHART_DELIMITER, INS_PROP_CAP_OBJECT_CHART_ENABLE, INS_PROP_CAP_OBJECT_CHART_LEVEL, INS_PROP_CAP_OBJECT_CHART_NUMBERING, INS_PROP_CAP_OBJECT_CHART_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_CHART_POSITION, INS_PROP_CAP_OBJECT_DRAW_APPLYATTRIBUTES, INS_PROP_CAP_OBJECT_DRAW_CAPTIONTEXT, INS_PROP_CAP_OBJECT_DRAW_CATEGORY, INS_PROP_CAP_OBJECT_DRAW_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_DRAW_DELIMITER, INS_PROP_CAP_OBJECT_DRAW_ENABLE, INS_PROP_CAP_OBJECT_DRAW_LEVEL, INS_PROP_CAP_OBJECT_DRAW_NUMBERING, INS_PROP_CAP_OBJECT_DRAW_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_DRAW_POSITION, INS_PROP_CAP_OBJECT_FORMULA_APPLYATTRIBUTES, INS_PROP_CAP_OBJECT_FORMULA_CAPTIONTEXT, INS_PROP_CAP_OBJECT_FORMULA_CATEGORY, INS_PROP_CAP_OBJECT_FORMULA_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_FORMULA_DELIMITER, INS_PROP_CAP_OBJECT_FORMULA_ENABLE, INS_PROP_CAP_OBJECT_FORMULA_LEVEL, INS_PROP_CAP_OBJECT_FORMULA_NUMBERING, INS_PROP_CAP_OBJECT_FORMULA_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_FORMULA_POSITION, INS_PROP_CAP_OBJECT_FRAME_CAPTIONTEXT, INS_PROP_CAP_OBJECT_FRAME_CATEGORY, INS_PROP_CAP_OBJECT_FRAME_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_FRAME_DELIMITER, INS_PROP_CAP_OBJECT_FRAME_ENABLE, INS_PROP_CAP_OBJECT_FRAME_LEVEL, INS_PROP_CAP_OBJECT_FRAME_NUMBERING, INS_PROP_CAP_OBJECT_FRAME_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_FRAME_POSITION, INS_PROP_CAP_OBJECT_GRAPHIC_APPLYATTRIBUTES, INS_PROP_CAP_OBJECT_GRAPHIC_CAPTIONTEXT, INS_PROP_CAP_OBJECT_GRAPHIC_CATEGORY, INS_PROP_CAP_OBJECT_GRAPHIC_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_GRAPHIC_DELIMITER, INS_PROP_CAP_OBJECT_GRAPHIC_ENABLE, INS_PROP_CAP_OBJECT_GRAPHIC_LEVEL, INS_PROP_CAP_OBJECT_GRAPHIC_NUMBERING, INS_PROP_CAP_OBJECT_GRAPHIC_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_GRAPHIC_POSITION, INS_PROP_CAP_OBJECT_IMPRESS_APPLYATTRIBUTES, INS_PROP_CAP_OBJECT_IMPRESS_CAPTIONTEXT, INS_PROP_CAP_OBJECT_IMPRESS_CATEGORY, INS_PROP_CAP_OBJECT_IMPRESS_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_IMPRESS_DELIMITER, INS_PROP_CAP_OBJECT_IMPRESS_ENABLE, INS_PROP_CAP_OBJECT_IMPRESS_LEVEL, INS_PROP_CAP_OBJECT_IMPRESS_NUMBERING, INS_PROP_CAP_OBJECT_IMPRESS_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_IMPRESS_POSITION, INS_PROP_CAP_OBJECT_OLEMISC_APPLYATTRIBUTES, INS_PROP_CAP_OBJECT_OLEMISC_CAPTIONTEXT, INS_PROP_CAP_OBJECT_OLEMISC_CATEGORY, INS_PROP_CAP_OBJECT_OLEMISC_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_OLEMISC_DELIMITER, INS_PROP_CAP_OBJECT_OLEMISC_ENABLE, INS_PROP_CAP_OBJECT_OLEMISC_LEVEL, INS_PROP_CAP_OBJECT_OLEMISC_NUMBERING, INS_PROP_CAP_OBJECT_OLEMISC_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_OLEMISC_POSITION, INS_PROP_CAP_OBJECT_TABLE_CAPTIONTEXT, INS_PROP_CAP_OBJECT_TABLE_CATEGORY, INS_PROP_CAP_OBJECT_TABLE_CHARACTERSTYLE, INS_PROP_CAP_OBJECT_TABLE_DELIMITER, INS_PROP_CAP_OBJECT_TABLE_ENABLE, INS_PROP_CAP_OBJECT_TABLE_LEVEL, INS_PROP_CAP_OBJECT_TABLE_NUMBERING, INS_PROP_CAP_OBJECT_TABLE_NUMBERINGSEPARATOR, INS_PROP_CAP_OBJECT_TABLE_POSITION, INS_PROP_TABLE_BORDER, INS_PROP_TABLE_HEADER, INS_PROP_TABLE_REPEATHEADER, INS_PROP_TABLE_SPLIT, lcl_ReadOpt(), m_aGlobalNames, m_aInsTableOpts, m_bCaptionOrderNumberingFirst, m_bInsWithCaption, m_bIsWeb, m_pCapOptions, m_pOLEMiscOpt, SwInsertTableOptions::mnInsMode, SwInsertTableOptions::mnRowsToRepeat, NONE, OLE_CAP, SplitLayout, and TABLE_CAP.

Referenced by SwInsertConfig().

void SwInsertConfig::Notify ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

Implements utl::ConfigItem.

Definition at line 604 of file modcfg.cxx.

Friends And Related Function Documentation

friend class SwModuleOptions
friend

Definition at line 120 of file modcfg.hxx.

Member Data Documentation

SvGlobalName SwInsertConfig::m_aGlobalNames[5]
private

Definition at line 125 of file modcfg.hxx.

Referenced by ImplCommit(), Load(), and SwInsertConfig().

SwInsertTableOptions SwInsertConfig::m_aInsTableOpts
private

Definition at line 130 of file modcfg.hxx.

Referenced by SwModuleOptions::GetInsTableFlags(), ImplCommit(), and Load().

bool SwInsertConfig::m_bCaptionOrderNumberingFirst
private
bool SwInsertConfig::m_bInsWithCaption
private
bool const SwInsertConfig::m_bIsWeb
private

Definition at line 131 of file modcfg.hxx.

Referenced by GetPropertyNames(), Load(), and SwInsertConfig().

std::unique_ptr<InsCaptionOptArr> SwInsertConfig::m_pCapOptions
private

Definition at line 122 of file modcfg.hxx.

Referenced by ImplCommit(), Load(), SwInsertConfig(), and ~SwInsertConfig().

std::unique_ptr<InsCaptionOpt> SwInsertConfig::m_pOLEMiscOpt
private

Definition at line 123 of file modcfg.hxx.

Referenced by ImplCommit(), Load(), and ~SwInsertConfig().


The documentation for this class was generated from the following files: