LibreOffice Module editeng (master) 1
|
#include <numitem.hxx>
Private Attributes | |
std::unique_ptr< SvxNumberFormat > | aFmts [SVX_MAX_NUM] |
sal_uInt16 | nLevelCount |
SvxNumRuleFlags | nFeatureFlags |
SvxNumRuleType | eNumberingType |
bool | bContinuousNumbering |
bool | aFmtsSet [SVX_MAX_NUM] |
Static Private Attributes | |
static sal_Int32 | nRefCount = 0 |
Definition at line 257 of file numitem.hxx.
SvxNumRule::SvxNumRule | ( | SvxNumRuleFlags | nFeatures, |
sal_uInt16 | nLevels, | ||
bool | bCont, | ||
SvxNumRuleType | eType = SvxNumRuleType::NUMBERING , |
||
SvxNumberFormat::SvxNumPositionAndSpaceMode | eDefaultNumberFormatPositionAndSpaceMode = SvxNumberFormat::LABEL_WIDTH_AND_POSITION |
||
) |
Definition at line 673 of file numitem.cxx.
References aFmts, aFmtsSet, CONTINUOUS, DEF_DRAW_LSPACE, DEF_WRITER_LSPACE, eType, i, o3tl::in, SvxNumberFormat::LABEL_ALIGNMENT, SvxNumberFormat::LABEL_WIDTH_AND_POSITION, SvxNumberFormat::LISTTAB, o3tl::mm100, nRefCount, SVX_MAX_NUM, SVX_NUM_CHARS_UPPER_LETTER, and o3tl::toTwips().
SvxNumRule::SvxNumRule | ( | const SvxNumRule & | rCopy | ) |
Definition at line 726 of file numitem.cxx.
References aFmts, aFmtsSet, bContinuousNumbering, eNumberingType, i, nFeatureFlags, nLevelCount, nRefCount, and SVX_MAX_NUM.
|
noexcept |
Definition at line 743 of file numitem.cxx.
References i, nRefCount, and SVX_MAX_NUM.
SvxNumRule::SvxNumRule | ( | SvStream & | rStream | ) |
Definition at line 758 of file numitem.cxx.
References aFmts, aFmtsSet, bContinuousNumbering, eNumberingType, i, nFeatureFlags, nLevelCount, SvStream::ReadUInt16(), SAL_WARN, and SVX_MAX_NUM.
SvxNumRule::~SvxNumRule | ( | ) |
Definition at line 848 of file numitem.cxx.
References nRefCount, pStdNumFmt, and pStdOutlineNumFmt.
void SvxNumRule::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
Definition at line 827 of file numitem.cxx.
References aFmts, bContinuousNumbering, eNumberingType, i, nFeatureFlags, nLevelCount, and SVX_MAX_NUM.
Referenced by SvxNumBulletItem::dumpAsXml().
const SvxNumberFormat * SvxNumRule::Get | ( | sal_uInt16 | nLevel | ) | const |
Definition at line 919 of file numitem.cxx.
References aFmts, aFmtsSet, DBG_ASSERT, and SVX_MAX_NUM.
Referenced by OutlinerView::ApplyBulletsNumbering(), Outliner::GetNumberFormat(), and SetLevel().
|
inline |
Definition at line 301 of file numitem.hxx.
Referenced by SvxConvertNumRule().
const SvxNumberFormat & SvxNumRule::GetLevel | ( | sal_uInt16 | nLevel | ) | const |
Definition at line 928 of file numitem.cxx.
References aFmts, DBG_ASSERT, eNumberingType, NUMBERING, pStdNumFmt, pStdOutlineNumFmt, SVX_MAX_NUM, SVX_NUM_ARABIC, and SVX_NUM_NUMBER_NONE.
Referenced by SvxUnoNumberingRules::Compare(), SvxUnoNumberingRules::getNumberingRuleByIndex(), MakeNumString(), SvxUnoNumberingRules::setNumberingRuleByIndex(), SvxConvertNumRule(), and UnLinkGraphics().
|
inline |
Definition at line 298 of file numitem.hxx.
Referenced by OutlinerView::ApplyBulletsNumbering(), SvxUnoNumberingRules::Compare(), SvxUnoNumberingRules::getByIndex(), SvxUnoNumberingRules::getCount(), Outliner::GetNumberFormat(), SvxNumBulletItem::PutValue(), SvxUnoNumberingRules::replaceByIndex(), SvxConvertNumRule(), and UnLinkGraphics().
|
inline |
Definition at line 306 of file numitem.hxx.
Referenced by SvxNumBulletItem::PutValue().
|
inline |
Definition at line 293 of file numitem.hxx.
Referenced by MakeNumString(), and SvxConvertNumRule().
|
inline |
Definition at line 299 of file numitem.hxx.
OUString SvxNumRule::MakeNumString | ( | const SvxNodeNum & | rNum | ) | const |
Definition at line 980 of file numitem.cxx.
References aStr, SvxNumberFormat::GetIncludeUpperLevels(), SvxNumberFormat::GetIsLegal(), AllSettings::GetLanguageTag(), SvxNodeNum::GetLevel(), GetLevel(), SvxNodeNum::GetLevelVal(), LanguageTag::getLocale(), SvxNumberType::GetNumberingType(), SvxNumberType::GetNumStr(), SvxNumberFormat::GetPrefix(), Application::GetSettings(), SvxNumberFormat::GetSuffix(), i, IsContinuousNumbering(), n, SVX_NO_NUM, SVX_NO_NUMLEVEL, SVX_NUM_BITMAP, and SVX_NUM_NUMBER_NONE.
|
inline |
Definition at line 281 of file numitem.hxx.
SvxNumRule & SvxNumRule::operator= | ( | const SvxNumRule & | rCopy | ) |
Definition at line 859 of file numitem.cxx.
References aFmts, aFmtsSet, bContinuousNumbering, eNumberingType, i, nFeatureFlags, nLevelCount, and SVX_MAX_NUM.
|
noexcept |
Definition at line 879 of file numitem.cxx.
References i, nLevelCount, and SVX_MAX_NUM.
bool SvxNumRule::operator== | ( | const SvxNumRule & | rCopy | ) | const |
Definition at line 897 of file numitem.cxx.
References aFmts, aFmtsSet, bContinuousNumbering, eNumberingType, i, nFeatureFlags, and nLevelCount.
|
inline |
Definition at line 295 of file numitem.hxx.
|
inline |
Definition at line 302 of file numitem.hxx.
void SvxNumRule::SetLevel | ( | sal_uInt16 | nLevel, |
const SvxNumberFormat & | rFmt, | ||
bool | bIsValid = true |
||
) |
Definition at line 943 of file numitem.cxx.
References aFmts, aFmtsSet, DBG_ASSERT, Get(), i, and SVX_MAX_NUM.
Referenced by OutlinerView::ApplyBulletsNumbering(), SetLevel(), SvxUnoNumberingRules::setNumberingRuleByIndex(), SvxConvertNumRule(), and UnLinkGraphics().
void SvxNumRule::SetLevel | ( | sal_uInt16 | nLevel, |
const SvxNumberFormat * | pFmt | ||
) |
Definition at line 964 of file numitem.cxx.
References aFmts, aFmtsSet, DBG_ASSERT, SetLevel(), and SVX_MAX_NUM.
void SvxNumRule::Store | ( | SvStream & | rStream | ) |
Definition at line 794 of file numitem.cxx.
References aFmts, aFmtsSet, bContinuousNumbering, CreateFontToSubsFontConverter(), eNumberingType, SvStream::GetVersion(), i, nFeatureFlags, nLevelCount, NUMITEM_VERSION_03, SOFFICE_FILEFORMAT_50, SVX_MAX_NUM, and SvStream::WriteUInt16().
void SvxNumRule::UnLinkGraphics | ( | ) |
Definition at line 1036 of file numitem.cxx.
References SvxNumberFormat::GetBrush(), SvxBrushItem::GetGraphic(), SvxBrushItem::GetGraphicLink(), SvxNumberFormat::GetGraphicSize(), GetLevel(), GetLevelCount(), SvxNumberType::GetNumberingType(), SvxNumberFormat::GetVertOrient(), i, LINK_TOKEN, SvxBrushItem::SetGraphic(), SvxNumberFormat::SetGraphicBrush(), SvxBrushItem::SetGraphicLink(), SetLevel(), SvxNumberType::SetNumberingType(), and SVX_NUM_BITMAP.
|
private |
Definition at line 259 of file numitem.hxx.
Referenced by dumpAsXml(), Get(), GetLevel(), operator=(), operator==(), SetLevel(), Store(), and SvxNumRule().
|
private |
Definition at line 264 of file numitem.hxx.
Referenced by Get(), operator=(), operator==(), SetLevel(), Store(), and SvxNumRule().
|
private |
Definition at line 263 of file numitem.hxx.
Referenced by dumpAsXml(), operator=(), operator==(), Store(), and SvxNumRule().
|
private |
Definition at line 262 of file numitem.hxx.
Referenced by dumpAsXml(), GetLevel(), operator=(), operator==(), Store(), and SvxNumRule().
|
private |
Definition at line 261 of file numitem.hxx.
Referenced by dumpAsXml(), operator=(), operator==(), Store(), and SvxNumRule().
|
private |
Definition at line 260 of file numitem.hxx.
Referenced by dumpAsXml(), operator=(), operator==(), Store(), and SvxNumRule().
|
staticprivate |
Definition at line 266 of file numitem.hxx.
Referenced by SvxNumRule(), and ~SvxNumRule().