LibreOffice Module writerfilter (master) 1
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
writerfilter::dmapper::ListLevel Class Reference

Class representing the numbering level properties. More...

#include <NumberingManager.hxx>

Inheritance diagram for writerfilter::dmapper::ListLevel:
[legend]
Collaboration diagram for writerfilter::dmapper::ListLevel:
[legend]

Public Types

typedef tools::SvRef< ListLevelPointer
 

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::XPropertySetmakePropertySet () 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< StyleSheetEntrym_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)
 

Detailed Description

Class representing the numbering level properties.

Definition at line 41 of file NumberingManager.hxx.

Member Typedef Documentation

◆ Pointer

Definition at line 59 of file NumberingManager.hxx.

Constructor & Destructor Documentation

◆ ListLevel()

writerfilter::dmapper::ListLevel::ListLevel ( )
inline

Definition at line 61 of file NumberingManager.hxx.

Member Function Documentation

◆ AddParaProperties()

void writerfilter::dmapper::ListLevel::AddParaProperties ( css::uno::Sequence< css::beans::PropertyValue > *  pProps)
private

◆ GetBulletChar()

OUString writerfilter::dmapper::ListLevel::GetBulletChar ( ) const
inline

Definition at line 81 of file NumberingManager.hxx.

References m_sBulletChar.

Referenced by GetCharStyleProperties(), and GetLevelProperties().

◆ GetCharStyleProperties()

uno::Sequence< beans::PropertyValue > writerfilter::dmapper::ListLevel::GetCharStyleProperties ( )

◆ GetLevelProperties()

uno::Sequence< beans::PropertyValue > writerfilter::dmapper::ListLevel::GetLevelProperties ( bool  bDefaults)
private

◆ GetNumberingType()

sal_Int16 writerfilter::dmapper::ListLevel::GetNumberingType ( sal_Int16  nDefault) const

◆ GetParaStyle()

const tools::SvRef< StyleSheetEntry > & writerfilter::dmapper::ListLevel::GetParaStyle ( ) const
inline

Definition at line 82 of file NumberingManager.hxx.

References m_pParaStyle.

◆ GetProperties()

uno::Sequence< beans::PropertyValue > writerfilter::dmapper::ListLevel::GetProperties ( bool  bDefaults)

Definition at line 155 of file NumberingManager.cxx.

References AddParaProperties(), GetLevelProperties(), and m_pParaStyle.

◆ GetStartOverride()

sal_Int32 writerfilter::dmapper::ListLevel::GetStartOverride ( ) const
inline

Definition at line 83 of file NumberingManager.hxx.

References m_nStartOverride.

◆ HasBulletChar()

bool writerfilter::dmapper::ListLevel::HasBulletChar ( ) const
inline

Definition at line 80 of file NumberingManager.hxx.

References m_sBulletChar.

◆ HasValues()

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.

◆ SetBulletChar()

void writerfilter::dmapper::ListLevel::SetBulletChar ( const OUString &  sValue)
inline

Definition at line 71 of file NumberingManager.hxx.

References m_sBulletChar.

◆ SetCustomNumberFormat()

void writerfilter::dmapper::ListLevel::SetCustomNumberFormat ( const OUString &  rValue)

Definition at line 136 of file NumberingManager.cxx.

References m_aCustomNumberFormat.

◆ SetGraphicBitmap()

void writerfilter::dmapper::ListLevel::SetGraphicBitmap ( css::uno::Reference< css::awt::XBitmap > const &  xGraphicBitmap)
inline

Definition at line 74 of file NumberingManager.hxx.

References m_xGraphicBitmap.

◆ SetGraphicSize()

void writerfilter::dmapper::ListLevel::SetGraphicSize ( const css::awt::Size &  aValue)
inline

Definition at line 72 of file NumberingManager.hxx.

References m_aGraphicSize.

◆ SetParaStyle()

void writerfilter::dmapper::ListLevel::SetParaStyle ( const tools::SvRef< StyleSheetEntry > &  pStyle)

Definition at line 148 of file NumberingManager.cxx.

References m_pParaStyle.

◆ SetValue()

void writerfilter::dmapper::ListLevel::SetValue ( Id  nId,
sal_Int32  nValue 
)

Member Data Documentation

◆ m_aCustomNumberFormat

OUString writerfilter::dmapper::ListLevel::m_aCustomNumberFormat
private

LN_CT_NumFmt_format, in case m_nNFC is custom.

Definition at line 47 of file NumberingManager.hxx.

Referenced by GetLevelProperties(), and SetCustomNumberFormat().

◆ m_aGraphicSize

css::awt::Size writerfilter::dmapper::ListLevel::m_aGraphicSize
private

Definition at line 50 of file NumberingManager.hxx.

Referenced by GetLevelProperties(), and SetGraphicSize().

◆ m_bHasValues

bool writerfilter::dmapper::ListLevel::m_bHasValues = false
private

Definition at line 54 of file NumberingManager.hxx.

Referenced by HasValues(), and SetValue().

◆ m_bIsLegal

bool writerfilter::dmapper::ListLevel::m_bIsLegal = false
private

Definition at line 55 of file NumberingManager.hxx.

Referenced by GetLevelProperties(), and SetValue().

◆ m_nIStartAt

sal_Int32 writerfilter::dmapper::ListLevel::m_nIStartAt
private

Definition at line 43 of file NumberingManager.hxx.

Referenced by GetLevelProperties(), and SetValue().

◆ m_nNFC

sal_Int32 writerfilter::dmapper::ListLevel::m_nNFC
private

Definition at line 45 of file NumberingManager.hxx.

Referenced by GetLevelProperties(), GetNumberingType(), and SetValue().

◆ m_nStartOverride

sal_Int32 writerfilter::dmapper::ListLevel::m_nStartOverride
private

Definition at line 44 of file NumberingManager.hxx.

Referenced by GetStartOverride(), and SetValue().

◆ m_nTabstop

std::optional<sal_Int32> writerfilter::dmapper::ListLevel::m_nTabstop
private

Definition at line 52 of file NumberingManager.hxx.

Referenced by GetLevelProperties(), and SetValue().

◆ m_nXChFollow

sal_Int16 writerfilter::dmapper::ListLevel::m_nXChFollow
private

Definition at line 48 of file NumberingManager.hxx.

Referenced by GetLevelProperties(), and SetValue().

◆ m_pParaStyle

tools::SvRef< StyleSheetEntry > writerfilter::dmapper::ListLevel::m_pParaStyle
private

Definition at line 53 of file NumberingManager.hxx.

Referenced by AddParaProperties(), GetParaStyle(), GetProperties(), and SetParaStyle().

◆ m_sBulletChar

std::optional<OUString> writerfilter::dmapper::ListLevel::m_sBulletChar
private

◆ m_xGraphicBitmap

css::uno::Reference<css::awt::XBitmap> writerfilter::dmapper::ListLevel::m_xGraphicBitmap
private

Definition at line 51 of file NumberingManager.hxx.

Referenced by GetLevelProperties(), and SetGraphicBitmap().


The documentation for this class was generated from the following files: