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
 
bool IsNumbered () const
 
void SetNodeStartValue (sal_uInt8 nLvl, sal_uInt16 nVal=USHRT_MAX)
 
sal_uInt16 GetNodeStartValue (sal_uInt8 nLvl) const
 

Private Attributes

sal_uInt16 aNumStarts [MAXLEVEL]
 
SwNumRulepNumRule
 
sal_uInt16 nDeep
 
bool bRestart: 1
 
bool bNumbered: 1
 

Detailed Description

Definition at line 36 of file htmlnum.hxx.

Constructor & Destructor Documentation

SwHTMLNumRuleInfo::SwHTMLNumRuleInfo ( )
inline

Definition at line 49 of file htmlnum.hxx.

SwHTMLNumRuleInfo::SwHTMLNumRuleInfo ( const SwHTMLNumRuleInfo rInf)
inline

Definition at line 56 of file htmlnum.hxx.

References aNumStarts.

SwHTMLNumRuleInfo::SwHTMLNumRuleInfo ( const SwTextNode rTextNd)
inlineexplicit

Definition at line 63 of file htmlnum.hxx.

References Set().

Member Function Documentation

void SwHTMLNumRuleInfo::Clear ( )
inline
void SwHTMLNumRuleInfo::DecDepth ( )
inline

Definition at line 75 of file htmlnum.hxx.

References nDeep.

Referenced by SwHTMLParser::EndNumBulList().

sal_uInt16 SwHTMLNumRuleInfo::GetDepth ( ) const
inline
sal_uInt8 SwHTMLNumRuleInfo::GetLevel ( ) const
inline
sal_uInt16 SwHTMLNumRuleInfo::GetNodeStartValue ( sal_uInt8  nLvl) const
inline

Definition at line 83 of file htmlnum.hxx.

SwNumRule* SwHTMLNumRuleInfo::GetNumRule ( )
inline
const SwNumRule* SwHTMLNumRuleInfo::GetNumRule ( ) const
inline

Definition at line 70 of file htmlnum.hxx.

References pNumRule.

void SwHTMLNumRuleInfo::IncDepth ( )
inline

Definition at line 74 of file htmlnum.hxx.

References nDeep.

Referenced by SwHTMLParser::NewNumBulList().

bool SwHTMLNumRuleInfo::IsNumbered ( ) const
inline

Definition at line 80 of file htmlnum.hxx.

References bNumbered.

Referenced by OutHTML_SwFormat(), and OutHTML_SwFormatOff().

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

Definition at line 86 of file htmlnum.hxx.

References Set().

void SwHTMLNumRuleInfo::Set ( const SwHTMLNumRuleInfo rInf)
inline
void SwHTMLNumRuleInfo::Set ( const SwTextNode rTextNd)
void SwHTMLNumRuleInfo::SetDepth ( sal_uInt16  nDepth)
inline

Definition at line 72 of file htmlnum.hxx.

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

Definition at line 118 of file htmlnum.hxx.

References aNumStarts.

Referenced by SwHTMLParser::NewNumBulList().

void SwHTMLNumRuleInfo::SetNumRule ( const SwNumRule pRule)
inline

Definition at line 68 of file htmlnum.hxx.

Referenced by SwHTMLParser::NewNumBulList().

Member Data Documentation

sal_uInt16 SwHTMLNumRuleInfo::aNumStarts[MAXLEVEL]
private

Definition at line 38 of file htmlnum.hxx.

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

bool SwHTMLNumRuleInfo::bNumbered
private

Definition at line 42 of file htmlnum.hxx.

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

bool SwHTMLNumRuleInfo::bRestart
private

Definition at line 41 of file htmlnum.hxx.

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

sal_uInt16 SwHTMLNumRuleInfo::nDeep
private

Definition at line 40 of file htmlnum.hxx.

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

SwNumRule* SwHTMLNumRuleInfo::pNumRule
private

Definition at line 39 of file htmlnum.hxx.

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


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