LibreOffice Module svx (master) 1
|
#include <nbdtmg.hxx>
Public Member Functions | |
NumberingTypeMgr () | |
virtual | ~NumberingTypeMgr () override |
virtual void | Init () override |
virtual sal_uInt16 | GetNBOIndexForNumRule (SvxNumRule &aNum, sal_uInt16 mLevel, sal_uInt16 nFromIndex=0) override |
virtual void | ReplaceNumRule (SvxNumRule &aNum, sal_uInt16 nIndex, sal_uInt16 mLevel) override |
virtual void | ApplyNumRule (SvxNumRule &aNum, sal_uInt16 nIndex, sal_uInt16 mLevel, bool isDefault=false, bool isResetSize=false) override |
virtual OUString | GetDescription (sal_uInt16 nIndex, bool isDefault) override |
virtual bool | IsCustomized (sal_uInt16 nIndex) override |
Public Member Functions inherited from svx::sidebar::NBOTypeMgrBase | |
NBOTypeMgrBase () | |
virtual | ~NBOTypeMgrBase () |
virtual void | Init ()=0 |
virtual sal_uInt16 | GetNBOIndexForNumRule (SvxNumRule &aNum, sal_uInt16 mLevel, sal_uInt16 nFromIndex=0)=0 |
virtual void | ReplaceNumRule (SvxNumRule &aNum, sal_uInt16 nIndex, sal_uInt16 mLevel)=0 |
virtual void | ApplyNumRule (SvxNumRule &aNum, sal_uInt16 nIndex, sal_uInt16 mLevel, bool isDefault=false, bool isResetSize=false)=0 |
virtual OUString | GetDescription (sal_uInt16 nIndex, bool isDefault)=0 |
virtual bool | IsCustomized (sal_uInt16 nIndex)=0 |
void | SetItems (const SfxItemSet *pArg) |
Static Public Member Functions | |
static NumberingTypeMgr & | GetInstance () |
Static Public Member Functions inherited from svx::sidebar::NBOTypeMgrBase | |
static sal_uInt16 | IsSingleLevel (sal_uInt16 nCurLevel) |
Private Member Functions | |
NumberingTypeMgr (const NumberingTypeMgr &)=delete | |
Private Attributes | |
NumberSettingsArr_Impl | maNumberSettingsArr |
NumberSettingsArr_Impl | maDefaultNumberSettingsArr |
Additional Inherited Members | |
Protected Member Functions inherited from svx::sidebar::NBOTypeMgrBase | |
const OUString & | GetBulletCharFmtName () const |
const OUString & | GetNumCharFmtName () const |
MapUnit | GetMapUnit () const |
void | ImplLoad (std::u16string_view filename) |
void | ImplStore (std::u16string_view filename) |
Definition at line 171 of file nbdtmg.hxx.
|
privatedelete |
svx::sidebar::NumberingTypeMgr::NumberingTypeMgr | ( | ) |
Definition at line 378 of file nbdtmg.cxx.
References svx::sidebar::NBOTypeMgrBase::ImplLoad(), Init(), maDefaultNumberSettingsArr, maNumberSettingsArr, and u.
|
overridevirtual |
Definition at line 385 of file nbdtmg.cxx.
|
overridevirtual |
Implements svx::sidebar::NBOTypeMgrBase.
Definition at line 504 of file nbdtmg.cxx.
References SvxNumRule::GetLevel(), SvxNumRule::GetLevelCount(), SvxNumberType::GetNumberingType(), svx::sidebar::NBOTypeMgrBase::GetNumCharFmtName(), i, maDefaultNumberSettingsArr, maNumberSettingsArr, nIndex, svx::sidebar::NumSettings_Impl::nNumberType, svx::sidebar::NumberSettings_Impl::pNumSetting, SvxNumberFormat::SetBulletRelSize(), SvxNumberFormat::SetCharFormatName(), SvxNumRule::SetLevel(), SvxNumberFormat::SetListFormat(), SvxNumberType::SetNumberingType(), svx::sidebar::NumSettings_Impl::sPrefix, and svx::sidebar::NumSettings_Impl::sSuffix.
Referenced by ReplaceNumRule().
|
overridevirtual |
Implements svx::sidebar::NBOTypeMgrBase.
Definition at line 531 of file nbdtmg.cxx.
References maDefaultNumberSettingsArr, maNumberSettingsArr, nIndex, and nLength.
Referenced by ReplaceNumRule().
|
static |
Definition at line 401 of file nbdtmg.cxx.
Referenced by svx::sidebar::NBOutlineTypeMgrFact::CreateInstance().
|
overridevirtual |
Implements svx::sidebar::NBOTypeMgrBase.
Definition at line 436 of file nbdtmg.cxx.
References SvxNumRule::GetLevel(), SvxNumRule::GetLevelCount(), SvxNumberType::GetNumberingType(), SvxNumberFormat::GetPrefix(), SvxNumberFormat::GetSuffix(), i, svx::sidebar::NBOTypeMgrBase::IsSingleLevel(), maNumberSettingsArr, nCount, svx::sidebar::NumSettings_Impl::nNumberType, svx::sidebar::NumberSettings_Impl::pNumSetting, sPrefix, svx::sidebar::NumSettings_Impl::sPrefix, and svx::sidebar::NumSettings_Impl::sSuffix.
|
overridevirtual |
Implements svx::sidebar::NBOTypeMgrBase.
Definition at line 407 of file nbdtmg.cxx.
References Exception, getLocale(), Application::GetSettings(), i, Locale, maNumberSettingsArr, nLength, svx::sidebar::RID_SVXSTR_SINGLENUM_DESCRIPTIONS, and SvxResId().
Referenced by NumberingTypeMgr().
|
overridevirtual |
Implements svx::sidebar::NBOTypeMgrBase.
Definition at line 545 of file nbdtmg.cxx.
References maNumberSettingsArr, nIndex, and nLength.
|
overridevirtual |
Implements svx::sidebar::NBOTypeMgrBase.
Definition at line 472 of file nbdtmg.cxx.
References ApplyNumRule(), svx::sidebar::NumberSettings_Impl::bIsCustomized, GetDescription(), SvxNumRule::GetLevel(), SvxNumberType::GetNumberingType(), SvxNumberFormat::GetPrefix(), SvxNumberFormat::GetSuffix(), svx::sidebar::NBOTypeMgrBase::ImplStore(), svx::sidebar::NBOTypeMgrBase::IsSingleLevel(), maNumberSettingsArr, nCount, nIndex, svx::sidebar::NumSettings_Impl::nNumberType, svx::sidebar::NumberSettings_Impl::pNumSetting, svx::sidebar::NumberSettings_Impl::sDescription, svx::sidebar::NumSettings_Impl::sPrefix, svx::sidebar::NumSettings_Impl::sSuffix, and u.
|
private |
Definition at line 186 of file nbdtmg.hxx.
Referenced by ApplyNumRule(), GetDescription(), and NumberingTypeMgr().
|
private |
Definition at line 185 of file nbdtmg.hxx.
Referenced by ApplyNumRule(), GetDescription(), GetNBOIndexForNumRule(), Init(), IsCustomized(), NumberingTypeMgr(), and ReplaceNumRule().