LibreOffice Module svx (master) 1
|
#include <nbdtmg.hxx>
Public Member Functions | |
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 sal_uInt16 | IsSingleLevel (sal_uInt16 nCurLevel) |
Protected Member Functions | |
const OUString & | GetBulletCharFmtName () const |
const OUString & | GetNumCharFmtName () const |
MapUnit | GetMapUnit () const |
void | ImplLoad (std::u16string_view filename) |
void | ImplStore (std::u16string_view filename) |
Private Member Functions | |
NBOTypeMgrBase (const NBOTypeMgrBase &)=delete | |
Private Attributes | |
const SfxItemSet * | pSet |
MapUnit | eCoreUnit |
OUString | aBulletCharFmtName |
OUString | aNumCharFmtName |
bool | bIsLoading |
Definition at line 110 of file nbdtmg.hxx.
|
privatedelete |
|
inline |
Definition at line 123 of file nbdtmg.hxx.
References MapTwip.
|
inlinevirtual |
Definition at line 128 of file nbdtmg.hxx.
|
pure virtual |
Implemented in svx::sidebar::BulletsTypeMgr, svx::sidebar::NumberingTypeMgr, and svx::sidebar::OutlineTypeMgr.
Referenced by ImplStore().
|
inlineprotected |
Definition at line 139 of file nbdtmg.hxx.
Referenced by svx::sidebar::BulletsTypeMgr::ApplyNumRule(), and svx::sidebar::OutlineTypeMgr::ApplyNumRule().
|
pure virtual |
Implemented in svx::sidebar::BulletsTypeMgr, svx::sidebar::NumberingTypeMgr, and svx::sidebar::OutlineTypeMgr.
|
inlineprotected |
Definition at line 141 of file nbdtmg.hxx.
Referenced by svx::sidebar::OutlineTypeMgr::ApplyNumRule().
|
pure virtual |
Implemented in svx::sidebar::BulletsTypeMgr, svx::sidebar::NumberingTypeMgr, and svx::sidebar::OutlineTypeMgr.
|
inlineprotected |
Definition at line 140 of file nbdtmg.hxx.
Referenced by svx::sidebar::NumberingTypeMgr::ApplyNumRule(), and svx::sidebar::OutlineTypeMgr::ApplyNumRule().
|
protected |
Definition at line 179 of file nbdtmg.cxx.
References INetURLObject::Append(), bIsLoading, utl::UcbStreamHelper::CreateStream(), DEFAULT_NUM_VALUSET_COUNT, DEFAULT_NUMBERING_CACHE_FORMAT_VERSION, eCoreUnit, SvxNumberFormat::GetBulletFont(), vcl::Font::GetColor(), SvxNumRule::GetLevel(), SvxNumRule::GetLevelCount(), INetURLObject::GetMainURL(), i, INetURLObject::NONE, nVersion, ReplaceNumRule(), Color::SetAlpha(), SvxNumberFormat::SetBulletFont(), vcl::Font::SetColor(), and SvxNumRule::SetLevel().
Referenced by svx::sidebar::NumberingTypeMgr::NumberingTypeMgr(), and svx::sidebar::OutlineTypeMgr::OutlineTypeMgr().
|
protected |
Definition at line 217 of file nbdtmg.cxx.
References INetURLObject::Append(), ApplyNumRule(), bIsLoading, utl::UcbStreamHelper::CreateStream(), DEFAULT_NUM_VALUSET_COUNT, DEFAULT_NUMBERING_CACHE_FORMAT_VERSION, eCoreUnit, INetURLObject::GetMainURL(), IsCustomized(), SvxNumberFormat::LABEL_ALIGNMENT, INetURLObject::NONE, nVersion, and SvxNumRule::Store().
Referenced by svx::sidebar::NumberingTypeMgr::ReplaceNumRule(), and svx::sidebar::OutlineTypeMgr::ReplaceNumRule().
|
pure virtual |
Implemented in svx::sidebar::BulletsTypeMgr, svx::sidebar::NumberingTypeMgr, and svx::sidebar::OutlineTypeMgr.
|
pure virtual |
Implemented in svx::sidebar::BulletsTypeMgr, svx::sidebar::NumberingTypeMgr, and svx::sidebar::OutlineTypeMgr.
Referenced by ImplStore().
|
static |
Definition at line 128 of file nbdtmg.cxx.
References i, nCount, and SVX_MAX_NUM.
Referenced by svx::sidebar::BulletsTypeMgr::GetNBOIndexForNumRule(), svx::sidebar::NumberingTypeMgr::GetNBOIndexForNumRule(), svx::sidebar::BulletsTypeMgr::ReplaceNumRule(), and svx::sidebar::NumberingTypeMgr::ReplaceNumRule().
|
pure virtual |
Implemented in svx::sidebar::BulletsTypeMgr, svx::sidebar::NumberingTypeMgr, and svx::sidebar::OutlineTypeMgr.
Referenced by ImplLoad().
void svx::sidebar::NBOTypeMgrBase::SetItems | ( | const SfxItemSet * | pArg | ) |
Definition at line 149 of file nbdtmg.cxx.
References aBulletCharFmtName, aNumCharFmtName, eCoreUnit, EE_PARA_NUMBULLET(), SfxItemSet::GetItem(), SfxItemSet::GetItemState(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), CntUnencodedStringItem::GetValue(), SfxItemPool::GetWhich(), and pSet.
|
private |
Definition at line 116 of file nbdtmg.hxx.
Referenced by SetItems().
|
private |
Definition at line 117 of file nbdtmg.hxx.
Referenced by SetItems().
|
private |
Definition at line 118 of file nbdtmg.hxx.
Referenced by ImplLoad(), and ImplStore().
|
private |
Definition at line 114 of file nbdtmg.hxx.
Referenced by ImplLoad(), ImplStore(), and SetItems().
|
private |
Definition at line 113 of file nbdtmg.hxx.
Referenced by SetItems().