LibreOffice Module editeng (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SvxSwAutoCorrCfg Class Referencefinal

#include <acorrcfg.hxx>

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

Public Member Functions

 SvxSwAutoCorrCfg (SvxAutoCorrCfg &rParent)
 
virtual ~SvxSwAutoCorrCfg () override
 
void Load (bool bInit)
 
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
 
ConfigItemoperator= (ConfigItem const &)=delete
 
ConfigItemoperator= (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 ()
 
ConfigurationBroadcasteroperator= (ConfigurationBroadcaster const &other)
 
virtual void BlockBroadcasts (bool bBlock)
 

Private Member Functions

virtual void ImplCommit () override
 

Static Private Member Functions

static css::uno::Sequence< OUString > GetPropertyNames ()
 

Private Attributes

SvxAutoCorrCfgrParent
 

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_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 46 of file acorrcfg.hxx.

Constructor & Destructor Documentation

◆ SvxSwAutoCorrCfg()

SvxSwAutoCorrCfg::SvxSwAutoCorrCfg ( SvxAutoCorrCfg rParent)

Definition at line 581 of file acorrcfg.cxx.

◆ ~SvxSwAutoCorrCfg()

SvxSwAutoCorrCfg::~SvxSwAutoCorrCfg ( )
overridevirtual

Definition at line 587 of file acorrcfg.cxx.

Member Function Documentation

◆ GetPropertyNames()

Sequence< OUString > SvxSwAutoCorrCfg::GetPropertyNames ( )
staticprivate

Definition at line 372 of file acorrcfg.cxx.

References aPropNames, i, and nCount.

Referenced by ImplCommit(), and Load().

◆ ImplCommit()

void SvxSwAutoCorrCfg::ImplCommit ( )
overrideprivatevirtual

Implements utl::ConfigItem.

Definition at line 591 of file acorrcfg.cxx.

References SvxSwAutoFormatFlags::aBulletFont, SvxSwAutoFormatFlags::aByInputBulletFont, SvxSwAutoFormatFlags::bAddNonBrkSpace, SvxSwAutoFormatFlags::bAFormatByInpDelSpacesAtSttEnd, SvxSwAutoFormatFlags::bAFormatByInpDelSpacesBetweenLines, SvxSwAutoFormatFlags::bAFormatDelSpacesAtSttEnd, SvxSwAutoFormatFlags::bAFormatDelSpacesBetweenLines, SvxSwAutoFormatFlags::bAutoCmpltAppendBlank, SvxSwAutoFormatFlags::bAutoCmpltCollectWords, SvxSwAutoFormatFlags::bAutoCmpltEndless, SvxSwAutoFormatFlags::bAutoCmpltKeepList, SvxSwAutoFormatFlags::bAutoCmpltShowAsTip, SvxSwAutoFormatFlags::bAutoCompleteWords, SvxSwAutoFormatFlags::bAutoCorrect, SvxAutoCorrCfg::bAutoFmtByInput, SvxAutoCorrCfg::bAutoTextPreview, SvxAutoCorrCfg::bAutoTextTip, SvxSwAutoFormatFlags::bCapitalStartSentence, SvxSwAutoFormatFlags::bCapitalStartWord, SvxSwAutoFormatFlags::bChgEnumNum, SvxSwAutoFormatFlags::bChgOrdinalNumber, SvxSwAutoFormatFlags::bChgToEnEmDash, SvxSwAutoFormatFlags::bChgUserColl, SvxSwAutoFormatFlags::bChgWeightUnderl, SvxSwAutoFormatFlags::bCreateTable, SvxSwAutoFormatFlags::bDelEmptyNode, SvxAutoCorrCfg::bFileRel, SvxAutoCorrCfg::bNetRel, SvxSwAutoFormatFlags::bReplaceStyles, SvxSwAutoFormatFlags::bRightMargin, SvxAutoCorrCfg::bSearchInAllCategories, SvxSwAutoFormatFlags::bSetBorder, SvxSwAutoFormatFlags::bSetDOIAttr, SvxSwAutoFormatFlags::bSetINetAttr, SvxSwAutoFormatFlags::bSetNumRule, SvxSwAutoFormatFlags::cBullet, SvxSwAutoFormatFlags::cByInputBullet, vcl::Font::GetCharSet(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), vcl::Font::GetPitch(), GetPropertyNames(), SvxSwAutoFormatFlags::nAutoCmpltExpandKey, SvxSwAutoFormatFlags::nAutoCmpltListLen, SvxSwAutoFormatFlags::nAutoCmpltWordLen, SvxSwAutoFormatFlags::nRightMargin, SvxAutoCorrCfg::pAutoCorrect, utl::ConfigItem::PutProperties(), and rParent.

◆ Load()

void SvxSwAutoCorrCfg::Load ( bool  bInit)

Definition at line 433 of file acorrcfg.cxx.

References SvxSwAutoFormatFlags::aBulletFont, SvxSwAutoFormatFlags::aByInputBulletFont, Any, SvxSwAutoFormatFlags::bAddNonBrkSpace, SvxSwAutoFormatFlags::bAFormatByInpDelSpacesAtSttEnd, SvxSwAutoFormatFlags::bAFormatByInpDelSpacesBetweenLines, SvxSwAutoFormatFlags::bAFormatDelSpacesAtSttEnd, SvxSwAutoFormatFlags::bAFormatDelSpacesBetweenLines, SvxSwAutoFormatFlags::bAutoCmpltAppendBlank, SvxSwAutoFormatFlags::bAutoCmpltCollectWords, SvxSwAutoFormatFlags::bAutoCmpltEndless, SvxSwAutoFormatFlags::bAutoCmpltKeepList, SvxSwAutoFormatFlags::bAutoCmpltShowAsTip, SvxSwAutoFormatFlags::bAutoCompleteWords, SvxSwAutoFormatFlags::bAutoCorrect, SvxAutoCorrCfg::bAutoFmtByInput, SvxAutoCorrCfg::bAutoTextPreview, SvxAutoCorrCfg::bAutoTextTip, SvxSwAutoFormatFlags::bCapitalStartSentence, SvxSwAutoFormatFlags::bCapitalStartWord, SvxSwAutoFormatFlags::bChgEnumNum, SvxSwAutoFormatFlags::bChgOrdinalNumber, SvxSwAutoFormatFlags::bChgToEnEmDash, SvxSwAutoFormatFlags::bChgUserColl, SvxSwAutoFormatFlags::bChgWeightUnderl, SvxSwAutoFormatFlags::bCreateTable, SvxSwAutoFormatFlags::bDelEmptyNode, SvxAutoCorrCfg::bFileRel, SvxAutoCorrCfg::bNetRel, SvxSwAutoFormatFlags::bReplaceStyles, SvxSwAutoFormatFlags::bRightMargin, SvxAutoCorrCfg::bSearchInAllCategories, SvxSwAutoFormatFlags::bSetBorder, SvxSwAutoFormatFlags::bSetDOIAttr, SvxSwAutoFormatFlags::bSetINetAttr, SvxSwAutoFormatFlags::bSetNumRule, SvxSwAutoFormatFlags::cBullet, SvxSwAutoFormatFlags::cByInputBullet, DBG_ASSERT, utl::ConfigItem::EnableNotification(), utl::ConfigItem::GetProperties(), GetPropertyNames(), SvxSwAutoFormatFlags::nAutoCmpltExpandKey, SvxSwAutoFormatFlags::nAutoCmpltListLen, SvxSwAutoFormatFlags::nAutoCmpltWordLen, SvxSwAutoFormatFlags::nRightMargin, SvxAutoCorrCfg::pAutoCorrect, pValues, rParent, vcl::Font::SetCharSet(), vcl::Font::SetFamily(), vcl::Font::SetFamilyName(), and vcl::Font::SetPitch().

Referenced by Notify(), and SvxAutoCorrCfg::SvxAutoCorrCfg().

◆ Notify()

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

Implements utl::ConfigItem.

Definition at line 683 of file acorrcfg.cxx.

References Load().

Member Data Documentation

◆ rParent

SvxAutoCorrCfg& SvxSwAutoCorrCfg::rParent
private

Definition at line 49 of file acorrcfg.hxx.

Referenced by ImplCommit(), and Load().


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