LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SwHTMLNumRuleInfo Class Reference

#include <htmlnum.hxx>

Collaboration diagram for SwHTMLNumRuleInfo:
[legend]

Public Member Functions

void Set (const SwHTMLNumRuleInfo &rInf)
 
void Set (const SwTextNode &rTextNd)
 
 SwHTMLNumRuleInfo ()
 
 SwHTMLNumRuleInfo (const SwHTMLNumRuleInfo &rInf)
 
 SwHTMLNumRuleInfo (const SwTextNode &rTextNd)
 
SwHTMLNumRuleInfooperator= (const SwHTMLNumRuleInfo &rInf)
 
void Clear ()
 
void SetNumRule (const SwNumRule *pRule)
 
SwNumRuleGetNumRule ()
 
const SwNumRuleGetNumRule () const
 
void SetDepth (sal_uInt16 nDepth)
 
sal_uInt16 GetDepth () const
 
void IncDepth ()
 
void DecDepth ()
 
sal_uInt8 GetLevel () const
 
bool IsRestart (const SwHTMLNumRuleInfo &rPrev) const
 
bool IsNumbered () const
 
void SetNodeStartValue (sal_uInt8 nLvl, sal_uInt16 nVal=USHRT_MAX)
 
sal_uInt16 GetNodeStartValue (sal_uInt8 nLvl) const
 

Private Attributes

sal_uInt16 m_aNumStarts [MAXLEVEL]
 
SwNumRulem_pNumRule
 
sal_uInt16 m_nDeep
 
bool m_bRestart
 
bool m_bNumbered
 

Detailed Description

Definition at line 36 of file htmlnum.hxx.

Constructor & Destructor Documentation

◆ SwHTMLNumRuleInfo() [1/3]

SwHTMLNumRuleInfo::SwHTMLNumRuleInfo ( )
inline

Definition at line 49 of file htmlnum.hxx.

References m_aNumStarts.

◆ SwHTMLNumRuleInfo() [2/3]

SwHTMLNumRuleInfo::SwHTMLNumRuleInfo ( const SwHTMLNumRuleInfo rInf)
inline

Definition at line 56 of file htmlnum.hxx.

References m_aNumStarts.

◆ SwHTMLNumRuleInfo() [3/3]

SwHTMLNumRuleInfo::SwHTMLNumRuleInfo ( const SwTextNode rTextNd)
inlineexplicit

Definition at line 63 of file htmlnum.hxx.

References Set().

Member Function Documentation

◆ Clear()

void SwHTMLNumRuleInfo::Clear ( )
inline

◆ DecDepth()

void SwHTMLNumRuleInfo::DecDepth ( )
inline

Definition at line 75 of file htmlnum.hxx.

References m_nDeep.

Referenced by SwHTMLParser::EndNumberBulletList().

◆ GetDepth()

sal_uInt16 SwHTMLNumRuleInfo::GetDepth ( ) const
inline

◆ GetLevel()

sal_uInt8 SwHTMLNumRuleInfo::GetLevel ( ) const
inline

◆ GetNodeStartValue()

sal_uInt16 SwHTMLNumRuleInfo::GetNodeStartValue ( sal_uInt8  nLvl) const
inline

Definition at line 83 of file htmlnum.hxx.

References m_aNumStarts.

Referenced by SwHTMLParser::NewNumberBulletListItem().

◆ GetNumRule() [1/2]

SwNumRule * SwHTMLNumRuleInfo::GetNumRule ( )
inline

◆ GetNumRule() [2/2]

const SwNumRule * SwHTMLNumRuleInfo::GetNumRule ( ) const
inline

Definition at line 70 of file htmlnum.hxx.

References m_pNumRule.

◆ IncDepth()

void SwHTMLNumRuleInfo::IncDepth ( )
inline

Definition at line 74 of file htmlnum.hxx.

References m_nDeep.

Referenced by SwHTMLParser::NewNumberBulletList().

◆ IsNumbered()

bool SwHTMLNumRuleInfo::IsNumbered ( ) const
inline

Definition at line 80 of file htmlnum.hxx.

References m_bNumbered.

Referenced by OutHTML_NumberBulletListEnd(), OutHTML_SwFormat(), and OutHTML_SwFormatOff().

◆ IsRestart()

bool SwHTMLNumRuleInfo::IsRestart ( const SwHTMLNumRuleInfo rPrev) const

◆ operator=()

SwHTMLNumRuleInfo & SwHTMLNumRuleInfo::operator= ( const SwHTMLNumRuleInfo rInf)
inline

Definition at line 86 of file htmlnum.hxx.

References Set().

◆ Set() [1/2]

void SwHTMLNumRuleInfo::Set ( const SwHTMLNumRuleInfo rInf)
inline

◆ Set() [2/2]

void SwHTMLNumRuleInfo::Set ( const SwTextNode rTextNd)

◆ SetDepth()

void SwHTMLNumRuleInfo::SetDepth ( sal_uInt16  nDepth)
inline

Definition at line 72 of file htmlnum.hxx.

References m_nDeep.

◆ SetNodeStartValue()

void SwHTMLNumRuleInfo::SetNodeStartValue ( sal_uInt8  nLvl,
sal_uInt16  nVal = USHRT_MAX 
)
inline

◆ SetNumRule()

void SwHTMLNumRuleInfo::SetNumRule ( const SwNumRule pRule)
inline

Definition at line 68 of file htmlnum.hxx.

References m_pNumRule.

Referenced by SwHTMLParser::NewNumberBulletList().

Member Data Documentation

◆ m_aNumStarts

sal_uInt16 SwHTMLNumRuleInfo::m_aNumStarts[MAXLEVEL]
private

Definition at line 38 of file htmlnum.hxx.

Referenced by Clear(), GetNodeStartValue(), Set(), SetNodeStartValue(), and SwHTMLNumRuleInfo().

◆ m_bNumbered

bool SwHTMLNumRuleInfo::m_bNumbered
private

Definition at line 42 of file htmlnum.hxx.

Referenced by Clear(), IsNumbered(), and Set().

◆ m_bRestart

bool SwHTMLNumRuleInfo::m_bRestart
private

Definition at line 41 of file htmlnum.hxx.

Referenced by Clear(), IsRestart(), and Set().

◆ m_nDeep

sal_uInt16 SwHTMLNumRuleInfo::m_nDeep
private

Definition at line 40 of file htmlnum.hxx.

Referenced by Clear(), DecDepth(), GetDepth(), GetLevel(), IncDepth(), Set(), and SetDepth().

◆ m_pNumRule

SwNumRule* SwHTMLNumRuleInfo::m_pNumRule
private

Definition at line 39 of file htmlnum.hxx.

Referenced by Clear(), GetLevel(), GetNumRule(), Set(), and SetNumRule().


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