LibreOffice Module editeng (master) 1
|
#include <acorrcfg.hxx>
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 | |
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 css::uno::Sequence< OUString > | GetPropertyNames () |
Private Attributes | |
SvxAutoCorrCfg & | rParent |
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 46 of file acorrcfg.hxx.
SvxSwAutoCorrCfg::SvxSwAutoCorrCfg | ( | SvxAutoCorrCfg & | rParent | ) |
Definition at line 581 of file acorrcfg.cxx.
|
overridevirtual |
Definition at line 587 of file acorrcfg.cxx.
|
staticprivate |
Definition at line 372 of file acorrcfg.cxx.
References aPropNames, i, and nCount.
Referenced by ImplCommit(), and Load().
|
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.
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().
|
overridevirtual |
|
private |
Definition at line 49 of file acorrcfg.hxx.
Referenced by ImplCommit(), and Load().