LibreOffice Module svx (master) 1
|
#include <nbdtmg.hxx>
Public Member Functions | |
OutlineTypeMgr () | |
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 OutlineTypeMgr & | GetInstance () |
Static Public Member Functions inherited from svx::sidebar::NBOTypeMgrBase | |
static sal_uInt16 | IsSingleLevel (sal_uInt16 nCurLevel) |
Private Member Functions | |
OutlineTypeMgr (const OutlineTypeMgr &)=delete | |
Private Attributes | |
OutlineSettings_Impl * | pOutlineSettingsArrs [DEFAULT_NUM_VALUSET_COUNT] |
OutlineSettings_Impl * | pDefaultOutlineSettingsArrs [DEFAULT_NUM_VALUSET_COUNT] |
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 189 of file nbdtmg.hxx.
|
privatedelete |
svx::sidebar::OutlineTypeMgr::OutlineTypeMgr | ( | ) |
Definition at line 558 of file nbdtmg.cxx.
References DEFAULT_NUM_VALUSET_COUNT, svx::sidebar::NBOTypeMgrBase::ImplLoad(), Init(), pDefaultOutlineSettingsArrs, pOutlineSettingsArrs, and u.
|
overridevirtual |
Implements svx::sidebar::NBOTypeMgrBase.
Definition at line 769 of file nbdtmg.cxx.
References svx::sidebar::BulletsTypeMgr::aDynamicBulletTypes, svx::sidebar::BulletsTypeMgr::aDynamicRTLBulletTypes, svx::sidebar::NumSettings_Impl::aSize, SfxObjectShell::Current(), DBG_ASSERT, DEFAULT_NUM_VALUSET_COUNT, svx::sidebar::NumSettings_Impl::eLabelFollowedBy, svx::sidebar::NumSettings_Impl::eNumAlign, FAMILY_DONTKNOW, FontList::Get(), SvxNumberFormat::GetBulletChar(), svx::sidebar::NBOTypeMgrBase::GetBulletCharFmtName(), vcl::Font::GetFamilyName(), SvxFontListItem::GetFontList(), SvxBrushItem::GetGraphic(), SvxNumberFormat::GetGraphicSize(), SvxNumberFormat::GetGraphicSizeMM100(), AllSettings::GetLayoutRTL(), SvxNumRule::GetLevel(), SvxNumRule::GetLevelCount(), svx::sidebar::NBOTypeMgrBase::GetMapUnit(), SvxNumberType::GetNumberingType(), svx::sidebar::NBOTypeMgrBase::GetNumCharFmtName(), i, FontList::IsAvailable(), Size::IsEmpty(), ITALIC_NONE, lcl_GetDefaultBulletFont(), LINK_TOKEN, OutputDevice::LogicToLogic(), nIndex, svx::sidebar::NumSettings_Impl::nNumAlignAt, svx::sidebar::NumSettings_Impl::nNumberType, svx::sidebar::NumSettings_Impl::nNumIndentAt, svx::sidebar::NumSettings_Impl::nParentNumbering, svx::sidebar::NumSettings_Impl::nTabValue, svx::sidebar::NumSettings_Impl::pBrushItem, pDefaultOutlineSettingsArrs, PITCH_DONTKNOW, svx::sidebar::OutlineSettings_Impl::pNumSettingsArr, pOutlineSettingsArrs, svx::sidebar::NumSettings_Impl::sBulletChar, svx::sidebar::NumSettings_Impl::sBulletFont, SvxNumberFormat::SetBulletChar(), SvxNumberFormat::SetBulletFont(), SvxNumberFormat::SetBulletRelSize(), SvxNumberFormat::SetCharFormatName(), vcl::Font::SetCharSet(), vcl::Font::SetFamily(), SvxNumberFormat::SetFirstLineIndent(), SvxNumberFormat::SetGraphicBrush(), SvxNumberFormat::SetIncludeUpperLevels(), SvxNumberFormat::SetIndentAt(), SvxNumberFormat::SetLabelFollowedBy(), SvxNumRule::SetLevel(), SvxNumberFormat::SetListFormat(), SvxNumberFormat::SetListtabPos(), SvxNumberFormat::SetNumAdjust(), SvxNumberType::SetNumberingType(), vcl::Font::SetPitch(), vcl::Font::SetTransparent(), vcl::Font::SetWeight(), svx::sidebar::NumSettings_Impl::sPrefix, svx::sidebar::NumSettings_Impl::sSuffix, SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, o3tl::temporary(), WEIGHT_DONTKNOW, and WEIGHT_NORMAL.
Referenced by ReplaceNumRule().
|
overridevirtual |
Implements svx::sidebar::NBOTypeMgrBase.
Definition at line 881 of file nbdtmg.cxx.
References nIndex, pDefaultOutlineSettingsArrs, pOutlineSettingsArrs, SAL_N_ELEMENTS, and svx::sidebar::OutlineSettings_Impl::sDescription.
Referenced by ReplaceNumRule().
|
static |
Definition at line 570 of file nbdtmg.cxx.
Referenced by svx::sidebar::NBOutlineTypeMgrFact::CreateInstance().
|
overridevirtual |
Implements svx::sidebar::NBOTypeMgrBase.
Definition at line 627 of file nbdtmg.cxx.
References svx::sidebar::NumSettings_Impl::aSize, svx::sidebar::NumSettings_Impl::eLabelFollowedBy, svx::sidebar::NumSettings_Impl::eNumAlign, get(), Graphic::GetBitmapEx(), SvxNumberFormat::GetBrush(), SvxNumberFormat::GetBulletChar(), SvxNumberFormat::GetFirstLineIndent(), SvxBrushItem::GetGraphic(), SvxNumberFormat::GetGraphicSize(), SvxNumberFormat::GetIndentAt(), SvxNumberFormat::GetLabelFollowedBy(), SvxNumRule::GetLevel(), SvxNumberFormat::GetListtabPos(), SvxNumberFormat::GetNumAdjust(), SvxNumberType::GetNumberingType(), SvxNumberFormat::GetPrefix(), SvxNumberFormat::GetSuffix(), LINK_TOKEN, nCount, nLength, svx::sidebar::NumSettings_Impl::nNumAlignAt, svx::sidebar::NumSettings_Impl::nNumberType, svx::sidebar::NumSettings_Impl::nNumIndentAt, svx::sidebar::NumSettings_Impl::nTabValue, svx::sidebar::NumSettings_Impl::pBrushItem, svx::sidebar::OutlineSettings_Impl::pNumSettingsArr, pOutlineSettingsArrs, SAL_N_ELEMENTS, svx::sidebar::NumSettings_Impl::sBulletChar, sPrefix, svx::sidebar::NumSettings_Impl::sPrefix, svx::sidebar::NumSettings_Impl::sSuffix, SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, and o3tl::temporary().
|
overridevirtual |
Implements svx::sidebar::NBOTypeMgrBase.
Definition at line 576 of file nbdtmg.cxx.
References DEFAULT_NUM_VALUSET_COUNT, svx::sidebar::NumSettings_Impl::eLabelFollowedBy, svx::sidebar::NumSettings_Impl::eNumAlign, Exception, SvxNumberFormat::GetFirstLineIndent(), SvxNumberFormat::GetIndentAt(), SvxNumberFormat::GetLabelFollowedBy(), SvxNumRule::GetLevel(), SvxNumberFormat::GetListtabPos(), getLocale(), SvxNumberFormat::GetNumAdjust(), Application::GetSettings(), SvxNumberFormat::LABEL_ALIGNMENT, Locale, svx::sidebar::NumSettings_Impl::nNumAlignAt, svx::sidebar::NumSettings_Impl::nNumIndentAt, svx::sidebar::NumSettings_Impl::nTabValue, svx::sidebar::OutlineSettings_Impl::pNumSettingsArr, pOutlineSettingsArrs, svx::sidebar::OutlineSettings_Impl::sDescription, SVX_MAX_NUM, and SvxResId().
Referenced by OutlineTypeMgr().
|
overridevirtual |
Implements svx::sidebar::NBOTypeMgrBase.
Definition at line 899 of file nbdtmg.cxx.
References svx::sidebar::OutlineSettings_Impl::bIsCustomized, nIndex, pOutlineSettingsArrs, and SAL_N_ELEMENTS.
|
overridevirtual |
Implements svx::sidebar::NBOTypeMgrBase.
Definition at line 709 of file nbdtmg.cxx.
References ApplyNumRule(), svx::sidebar::NumSettings_Impl::aSize, svx::sidebar::OutlineSettings_Impl::bIsCustomized, svx::sidebar::NumSettings_Impl::eLabelFollowedBy, svx::sidebar::NumSettings_Impl::eNumAlign, get(), SvxNumberFormat::GetBrush(), SvxNumberFormat::GetBulletChar(), SvxNumberFormat::GetBulletFont(), GetDescription(), SvxNumberFormat::GetFirstLineIndent(), SvxNumberFormat::GetGraphicSize(), SvxNumberFormat::GetIndentAt(), SvxNumberFormat::GetLabelFollowedBy(), SvxNumRule::GetLevel(), SvxNumberFormat::GetListtabPos(), SvxNumberFormat::GetNumAdjust(), SvxNumberType::GetNumberingType(), SvxNumberFormat::GetPrefix(), SvxNumberFormat::GetSuffix(), svx::sidebar::NBOTypeMgrBase::ImplStore(), LINK_TOKEN, nCount, nIndex, nLength, svx::sidebar::NumSettings_Impl::nNumAlignAt, svx::sidebar::NumSettings_Impl::nNumberType, svx::sidebar::NumSettings_Impl::nNumIndentAt, svx::sidebar::NumSettings_Impl::nTabValue, svx::sidebar::NumSettings_Impl::pBrushItem, svx::sidebar::OutlineSettings_Impl::pNumSettingsArr, pOutlineSettingsArrs, SAL_N_ELEMENTS, svx::sidebar::NumSettings_Impl::sBulletChar, svx::sidebar::NumSettings_Impl::sBulletFont, svx::sidebar::OutlineSettings_Impl::sDescription, svx::sidebar::NumSettings_Impl::sPrefix, svx::sidebar::NumSettings_Impl::sSuffix, SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, and u.
|
private |
Definition at line 203 of file nbdtmg.hxx.
Referenced by ApplyNumRule(), GetDescription(), and OutlineTypeMgr().
|
private |
Definition at line 202 of file nbdtmg.hxx.
Referenced by ApplyNumRule(), GetDescription(), GetNBOIndexForNumRule(), Init(), IsCustomized(), OutlineTypeMgr(), and ReplaceNumRule().