LibreOffice Module sw (master) 1
|
#include <htmlnum.hxx>
Public Member Functions | |
void | Set (const SwHTMLNumRuleInfo &rInf) |
void | Set (const SwTextNode &rTextNd) |
SwHTMLNumRuleInfo () | |
SwHTMLNumRuleInfo (const SwHTMLNumRuleInfo &rInf) | |
SwHTMLNumRuleInfo (const SwTextNode &rTextNd) | |
SwHTMLNumRuleInfo & | operator= (const SwHTMLNumRuleInfo &rInf) |
void | Clear () |
void | SetNumRule (const SwNumRule *pRule) |
SwNumRule * | GetNumRule () |
const SwNumRule * | GetNumRule () 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] |
SwNumRule * | m_pNumRule |
sal_uInt16 | m_nDeep |
bool | m_bRestart |
bool | m_bNumbered |
Definition at line 36 of file htmlnum.hxx.
|
inline |
Definition at line 49 of file htmlnum.hxx.
References m_aNumStarts.
|
inline |
Definition at line 56 of file htmlnum.hxx.
References m_aNumStarts.
|
inlineexplicit |
Definition at line 63 of file htmlnum.hxx.
References Set().
|
inline |
Definition at line 102 of file htmlnum.hxx.
References m_aNumStarts, m_bNumbered, m_bRestart, m_nDeep, and m_pNumRule.
Referenced by SwHTMLParser::BuildTableCell(), CaptionSaveStruct::CaptionSaveStruct(), SwHTMLParser::EndNumberBulletList(), HTMLSaveData::HTMLSaveData(), SwHTMLParser::SaveDocContext(), SwHTMLWriter::WriteStream(), and HTMLSaveData::~HTMLSaveData().
|
inline |
Definition at line 75 of file htmlnum.hxx.
References m_nDeep.
Referenced by SwHTMLParser::EndNumberBulletList().
|
inline |
Definition at line 73 of file htmlnum.hxx.
References m_nDeep.
Referenced by SwHTMLParser::EndDefList(), SwHTMLParser::EndNumberBulletList(), SwHTMLParser::GetMarginsFromContextWithNumberBullet(), IsRestart(), SwHTMLParser::NewDefList(), SwHTMLParser::NewNumberBulletList(), OutHTML_NumberBulletListEnd(), OutHTML_NumberBulletListStart(), OutHTML_SwFormat(), and OutHTML_SwFormatOff().
|
inline |
Definition at line 110 of file htmlnum.hxx.
References m_nDeep, m_pNumRule, and MAXLEVEL.
Referenced by SwHTMLParser::AppendTextNode(), SwHTMLParser::EndNumberBulletList(), SwHTMLParser::InsertTableContents(), SwHTMLParser::NewNumberBulletListItem(), and OutHTML_SwFormat().
|
inline |
Definition at line 83 of file htmlnum.hxx.
References m_aNumStarts.
Referenced by SwHTMLParser::NewNumberBulletListItem().
|
inline |
Definition at line 69 of file htmlnum.hxx.
References m_pNumRule.
Referenced by SwHTMLParser::EndNumberBulletList(), SwHTMLParser::GetMarginsFromContextWithNumberBullet(), SwHTMLParser::InsertImage(), IsRestart(), SwHTMLParser::NewNumberBulletList(), SwHTMLParser::NewNumberBulletListItem(), OutHTML_NumberBulletListEnd(), OutHTML_NumberBulletListStart(), OutHTML_SwFormat(), OutHTML_SwFormatOff(), OutHTML_SwTableNode(), SwHTMLParser::SetAttr_(), and SwHTMLParser::SetNodeNum().
|
inline |
Definition at line 70 of file htmlnum.hxx.
References m_pNumRule.
|
inline |
Definition at line 74 of file htmlnum.hxx.
References m_nDeep.
Referenced by SwHTMLParser::NewNumberBulletList().
|
inline |
Definition at line 80 of file htmlnum.hxx.
References m_bNumbered.
Referenced by OutHTML_NumberBulletListEnd(), OutHTML_SwFormat(), and OutHTML_SwFormatOff().
bool SwHTMLNumRuleInfo::IsRestart | ( | const SwHTMLNumRuleInfo & | rPrev | ) | const |
Definition at line 48 of file htmlnum.cxx.
References GetDepth(), GetNumRule(), and m_bRestart.
Referenced by OutHTML_NumberBulletListEnd(), OutHTML_NumberBulletListStart(), OutHTML_SwFormat(), OutHTML_SwFormatOff(), and OutHTML_SwTableNode().
|
inline |
Definition at line 86 of file htmlnum.hxx.
References Set().
|
inline |
Definition at line 93 of file htmlnum.hxx.
References m_aNumStarts, m_bNumbered, m_bRestart, m_nDeep, and m_pNumRule.
Referenced by SwHTMLParser::BuildTable(), CaptionSaveStruct::CaptionSaveStruct(), operator=(), OutHTML_SwFormat(), CaptionSaveStruct::RestoreAll(), SwHTMLParser::RestoreDocContext(), HTMLAttrContext_SaveDoc::SetNumInfo(), SwHTMLNumRuleInfo(), and HTMLSaveData::~HTMLSaveData().
void SwHTMLNumRuleInfo::Set | ( | const SwTextNode & | rTextNd | ) |
Definition at line 24 of file htmlnum.cxx.
References SwTextNode::GetActualListLevel(), SwNode::GetDoc(), SwTextNode::GetNumRule(), SwDoc::GetOutlineNumRule(), SwTextNode::HasAttrListRestartValue(), SwTextNode::IsCountedInList(), SwTextNode::IsListRestart(), m_bNumbered, m_bRestart, m_nDeep, and m_pNumRule.
|
inline |
Definition at line 72 of file htmlnum.hxx.
References m_nDeep.
|
inline |
Definition at line 118 of file htmlnum.hxx.
References m_aNumStarts.
Referenced by SwHTMLParser::NewNumberBulletList(), and SwHTMLParser::NewNumberBulletListItem().
|
inline |
Definition at line 68 of file htmlnum.hxx.
References m_pNumRule.
Referenced by SwHTMLParser::NewNumberBulletList().
|
private |
Definition at line 38 of file htmlnum.hxx.
Referenced by Clear(), GetNodeStartValue(), Set(), SetNodeStartValue(), and SwHTMLNumRuleInfo().
|
private |
Definition at line 42 of file htmlnum.hxx.
Referenced by Clear(), IsNumbered(), and Set().
|
private |
Definition at line 41 of file htmlnum.hxx.
Referenced by Clear(), IsRestart(), and Set().
|
private |
Definition at line 40 of file htmlnum.hxx.
Referenced by Clear(), DecDepth(), GetDepth(), GetLevel(), IncDepth(), Set(), and SetDepth().
|
private |
Definition at line 39 of file htmlnum.hxx.
Referenced by Clear(), GetLevel(), GetNumRule(), Set(), and SetNumRule().