LibreOffice Module writerfilter (master) 1
|
Class representing the numbering level properties. More...
#include <NumberingManager.hxx>
Public Types | |
typedef tools::SvRef< ListLevel > | Pointer |
Public Member Functions | |
ListLevel () | |
void | SetValue (Id nId, sal_Int32 nValue) |
void | SetCustomNumberFormat (const OUString &rValue) |
void | SetBulletChar (const OUString &sValue) |
void | SetGraphicSize (const css::awt::Size &aValue) |
void | SetGraphicBitmap (css::uno::Reference< css::awt::XBitmap > const &xGraphicBitmap) |
void | SetParaStyle (const tools::SvRef< StyleSheetEntry > &pStyle) |
sal_Int16 | GetNumberingType (sal_Int16 nDefault) const |
bool | HasBulletChar () const |
OUString | GetBulletChar () const |
const tools::SvRef< StyleSheetEntry > & | GetParaStyle () const |
sal_Int32 | GetStartOverride () const |
bool | HasValues () const |
Determines if SetValue() was called at least once. More... | |
css::uno::Sequence< css::beans::PropertyValue > | GetProperties (bool bDefaults) |
css::uno::Sequence< css::beans::PropertyValue > | GetCharStyleProperties () |
Public Member Functions inherited from oox::PropertyMap | |
PropertyMap () | |
bool | hasProperty (sal_Int32 nPropId) const |
bool | setAnyProperty (sal_Int32 nPropId, const css::uno::Any &rValue) |
bool | setProperty (sal_Int32 nPropId, Type &&rValue) |
bool | setProperty (sal_Int32, const css::uno::Any &)=delete |
css::uno::Any | getProperty (sal_Int32 nPropId) |
void | erase (sal_Int32 nPropId) |
bool | empty () const |
void | assignUsed (const PropertyMap &rPropMap) |
void | assignAll (const PropertyMap &rPropMap) |
css::uno::Sequence< css::beans::PropertyValue > | makePropertyValueSequence () const |
void | fillSequences (css::uno::Sequence< OUString > &rNames, css::uno::Sequence< css::uno::Any > &rValues) const |
void | fillPropertyNameMap (PropertyNameMap &rMap) const |
css::uno::Reference< css::beans::XPropertySet > | makePropertySet () const |
Private Member Functions | |
css::uno::Sequence< css::beans::PropertyValue > | GetLevelProperties (bool bDefaults) |
void | AddParaProperties (css::uno::Sequence< css::beans::PropertyValue > *pProps) |
Private Attributes | |
sal_Int32 | m_nIStartAt |
sal_Int32 | m_nStartOverride |
sal_Int32 | m_nNFC |
OUString | m_aCustomNumberFormat |
LN_CT_NumFmt_format, in case m_nNFC is custom. More... | |
sal_Int16 | m_nXChFollow |
std::optional< OUString > | m_sBulletChar |
css::awt::Size | m_aGraphicSize |
css::uno::Reference< css::awt::XBitmap > | m_xGraphicBitmap |
std::optional< sal_Int32 > | m_nTabstop |
tools::SvRef< StyleSheetEntry > | m_pParaStyle |
bool | m_bHasValues = false |
bool | m_bIsLegal = false |
Additional Inherited Members | |
Static Public Member Functions inherited from oox::PropertyMap | |
static const OUString & | getPropertyName (sal_Int32 nPropId) |
static sal_Int32 | getPropertyId (std::u16string_view sPropName) |
static void | dump (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
static void | dumpCode (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
static void | dumpData (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
Class representing the numbering level properties.
Definition at line 41 of file NumberingManager.hxx.
Definition at line 59 of file NumberingManager.hxx.
|
inline |
Definition at line 61 of file NumberingManager.hxx.
|
private |
Definition at line 279 of file NumberingManager.cxx.
References oox::PropertyMap::getPropertyName(), writerfilter::dmapper::lcl_findProperty(), m_pParaStyle, writerfilter::dmapper::PROP_FIRST_LINE_INDENT, writerfilter::dmapper::PROP_INDENT_AT, writerfilter::dmapper::PROP_PARA_FIRST_LINE_INDENT, writerfilter::dmapper::PROP_PARA_LEFT_MARGIN, and props.
Referenced by GetProperties().
|
inline |
Definition at line 81 of file NumberingManager.hxx.
References m_sBulletChar.
Referenced by GetCharStyleProperties(), and GetLevelProperties().
uno::Sequence< beans::PropertyValue > writerfilter::dmapper::ListLevel::GetCharStyleProperties | ( | ) |
Definition at line 173 of file NumberingManager.cxx.
References comphelper::containerToSequence(), GetBulletChar(), getLength(), and writerfilter::dmapper::IgnoreForCharStyle().
|
private |
Definition at line 186 of file NumberingManager.cxx.
References comphelper::containerToSequence(), writerfilter::dmapper::ConversionHelper::ConvertCustomNumberFormat(), writerfilter::dmapper::ConversionHelper::ConvertNumberingType(), GetBulletChar(), oox::PropertyMap::getProperty(), oox::PropertyMap::getPropertyName(), writerfilter::dmapper::lcl_makePropVal(), SvxNumberFormat::LISTTAB, m_aCustomNumberFormat, m_aGraphicSize, m_bIsLegal, m_nIStartAt, m_nNFC, m_nTabstop, m_nXChFollow, m_sBulletChar, m_xGraphicBitmap, writerfilter::dmapper::PROP_ADJUST, writerfilter::dmapper::PROP_BULLET_CHAR, writerfilter::dmapper::PROP_BULLET_FONT_NAME, writerfilter::dmapper::PROP_CHAR_FONT_NAME, writerfilter::dmapper::PROP_FIRST_LINE_INDENT, writerfilter::dmapper::PROP_FIRST_LINE_OFFSET, writerfilter::dmapper::PROP_GRAPHIC_BITMAP, writerfilter::dmapper::PROP_GRAPHIC_SIZE, writerfilter::dmapper::PROP_INDENT_AT, writerfilter::dmapper::PROP_LEFT_MARGIN, writerfilter::dmapper::PROP_LEVEL_FOLLOW, writerfilter::dmapper::PROP_LEVEL_IS_LEGAL, writerfilter::dmapper::PROP_LISTTAB_STOP_POSITION, writerfilter::dmapper::PROP_NUMBERING_TYPE, and writerfilter::dmapper::PROP_START_WITH.
Referenced by GetProperties().
sal_Int16 writerfilter::dmapper::ListLevel::GetNumberingType | ( | sal_Int16 | nDefault | ) | const |
Definition at line 138 of file NumberingManager.cxx.
References writerfilter::dmapper::ConversionHelper::ConvertNumberingType(), and m_nNFC.
|
inline |
Definition at line 82 of file NumberingManager.hxx.
References m_pParaStyle.
uno::Sequence< beans::PropertyValue > writerfilter::dmapper::ListLevel::GetProperties | ( | bool | bDefaults | ) |
Definition at line 155 of file NumberingManager.cxx.
References AddParaProperties(), GetLevelProperties(), and m_pParaStyle.
|
inline |
Definition at line 83 of file NumberingManager.hxx.
References m_nStartOverride.
|
inline |
Definition at line 80 of file NumberingManager.hxx.
References m_sBulletChar.
bool writerfilter::dmapper::ListLevel::HasValues | ( | ) | const |
Determines if SetValue() was called at least once.
Definition at line 143 of file NumberingManager.cxx.
References m_bHasValues.
|
inline |
Definition at line 71 of file NumberingManager.hxx.
References m_sBulletChar.
void writerfilter::dmapper::ListLevel::SetCustomNumberFormat | ( | const OUString & | rValue | ) |
Definition at line 136 of file NumberingManager.cxx.
References m_aCustomNumberFormat.
|
inline |
Definition at line 74 of file NumberingManager.hxx.
References m_xGraphicBitmap.
|
inline |
Definition at line 72 of file NumberingManager.hxx.
References m_aGraphicSize.
void writerfilter::dmapper::ListLevel::SetParaStyle | ( | const tools::SvRef< StyleSheetEntry > & | pStyle | ) |
Definition at line 148 of file NumberingManager.cxx.
References m_pParaStyle.
void writerfilter::dmapper::ListLevel::SetValue | ( | Id | nId, |
sal_Int32 | nValue | ||
) |
Definition at line 100 of file NumberingManager.cxx.
References m_bHasValues, m_bIsLegal, m_nIStartAt, m_nNFC, m_nStartOverride, m_nTabstop, m_nXChFollow, nId, nValue, and SAL_INFO.
|
private |
LN_CT_NumFmt_format, in case m_nNFC is custom.
Definition at line 47 of file NumberingManager.hxx.
Referenced by GetLevelProperties(), and SetCustomNumberFormat().
|
private |
Definition at line 50 of file NumberingManager.hxx.
Referenced by GetLevelProperties(), and SetGraphicSize().
|
private |
Definition at line 54 of file NumberingManager.hxx.
Referenced by HasValues(), and SetValue().
|
private |
Definition at line 55 of file NumberingManager.hxx.
Referenced by GetLevelProperties(), and SetValue().
|
private |
Definition at line 43 of file NumberingManager.hxx.
Referenced by GetLevelProperties(), and SetValue().
|
private |
Definition at line 45 of file NumberingManager.hxx.
Referenced by GetLevelProperties(), GetNumberingType(), and SetValue().
|
private |
Definition at line 44 of file NumberingManager.hxx.
Referenced by GetStartOverride(), and SetValue().
|
private |
Definition at line 52 of file NumberingManager.hxx.
Referenced by GetLevelProperties(), and SetValue().
|
private |
Definition at line 48 of file NumberingManager.hxx.
Referenced by GetLevelProperties(), and SetValue().
|
private |
Definition at line 53 of file NumberingManager.hxx.
Referenced by AddParaProperties(), GetParaStyle(), GetProperties(), and SetParaStyle().
|
private |
Definition at line 49 of file NumberingManager.hxx.
Referenced by GetBulletChar(), GetLevelProperties(), HasBulletChar(), and SetBulletChar().
|
private |
Definition at line 51 of file NumberingManager.hxx.
Referenced by GetLevelProperties(), and SetGraphicBitmap().