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

#include <swhtml.hxx>

Collaboration diagram for HTMLAttr:
[legend]

Public Member Functions

 ~HTMLAttr ()
 
HTMLAttrClone (const SwNode &rEndPara, sal_Int32 nEndCnt) const
 
void Reset (const SwNode &rSttPara, sal_Int32 nSttCnt, HTMLAttr **pHd, const std::shared_ptr< HTMLAttrTable > &rAttrTab)
 
void SetStart (const SwPosition &rPos)
 
SwNodeOffset GetStartParagraphIdx () const
 
SwNodeOffset GetEndParagraphIdx () const
 
const SwNodeIndexGetStartParagraph () const
 
const SwNodeIndexGetEndParagraph () const
 
sal_Int32 GetStartContent () const
 
sal_Int32 GetEndContent () const
 
bool IsLikePara () const
 
void SetLikePara ()
 
SfxPoolItemGetItem ()
 
const SfxPoolItemGetItem () const
 
HTMLAttrGetNext () const
 
void InsertNext (HTMLAttr *pNxt)
 
HTMLAttrGetPrev () const
 
void InsertPrev (HTMLAttr *pPrv)
 
void ClearPrev ()
 
void SetHead (HTMLAttr **ppHd, const std::shared_ptr< HTMLAttrTable > &rAttrTab)
 
void Invalidate ()
 

Private Member Functions

 HTMLAttr (const SwPosition &rPos, const SfxPoolItem &rItem, HTMLAttr **pHd, std::shared_ptr< HTMLAttrTable > xAttrTab)
 
 HTMLAttr (const HTMLAttr &rAttr, const SwNode &rEndPara, sal_Int32 nEndCnt, HTMLAttr **pHd, std::shared_ptr< HTMLAttrTable > xAttrTab)
 

Private Attributes

SwNodeIndex m_nStartPara
 
SwNodeIndex m_nEndPara
 
sal_Int32 m_nStartContent
 
sal_Int32 m_nEndContent
 
bool m_bInsAtStart: 1
 
bool m_bLikePara: 1
 
bool m_bValid: 1
 
std::unique_ptr< SfxPoolItemm_pItem
 
std::shared_ptr< HTMLAttrTablem_xAttrTab
 
HTMLAttrm_pNext
 
HTMLAttrm_pPrev
 
HTMLAttr ** m_ppHead
 

Friends

class SwHTMLParser
 
class CellSaveStruct
 

Detailed Description

Definition at line 132 of file swhtml.hxx.

Constructor & Destructor Documentation

◆ HTMLAttr() [1/2]

HTMLAttr::HTMLAttr ( const SwPosition rPos,
const SfxPoolItem rItem,
HTMLAttr **  pHd,
std::shared_ptr< HTMLAttrTable xAttrTab 
)
private

Definition at line 5481 of file swhtml.cxx.

References Clone().

Referenced by Clone().

◆ HTMLAttr() [2/2]

HTMLAttr::HTMLAttr ( const HTMLAttr rAttr,
const SwNode rEndPara,
sal_Int32  nEndCnt,
HTMLAttr **  pHd,
std::shared_ptr< HTMLAttrTable xAttrTab 
)
private

Definition at line 5498 of file swhtml.cxx.

References Clone().

◆ ~HTMLAttr()

HTMLAttr::~HTMLAttr ( )

Definition at line 5515 of file swhtml.cxx.

Member Function Documentation

◆ ClearPrev()

void HTMLAttr::ClearPrev ( )
inline

Definition at line 186 of file swhtml.hxx.

References m_pPrev.

Referenced by SwHTMLParser::AppendTextNode(), and SwHTMLParser::EndAttr().

◆ Clone()

HTMLAttr * HTMLAttr::Clone ( const SwNode rEndPara,
sal_Int32  nEndCnt 
) const

◆ GetEndContent()

sal_Int32 HTMLAttr::GetEndContent ( ) const
inline

Definition at line 173 of file swhtml.hxx.

References m_nEndContent.

Referenced by SwHTMLParser::SetAttr_().

◆ GetEndParagraph()

const SwNodeIndex & HTMLAttr::GetEndParagraph ( ) const
inline

Definition at line 170 of file swhtml.hxx.

References m_nEndPara.

Referenced by SwHTMLParser::SetAttr_().

◆ GetEndParagraphIdx()

SwNodeOffset HTMLAttr::GetEndParagraphIdx ( ) const
inline

Definition at line 167 of file swhtml.hxx.

References SwNodeIndex::GetIndex(), and m_nEndPara.

Referenced by SwHTMLParser::SetAttr_().

◆ GetItem() [1/2]

SfxPoolItem & HTMLAttr::GetItem ( )
inline

Definition at line 178 of file swhtml.hxx.

References m_pItem.

Referenced by SwHTMLParser::AppendTextNode(), lcl_swhtml_getItemInfo(), and SwHTMLParser::NewMarquee().

◆ GetItem() [2/2]

const SfxPoolItem & HTMLAttr::GetItem ( ) const
inline

Definition at line 179 of file swhtml.hxx.

References m_pItem.

◆ GetNext()

HTMLAttr * HTMLAttr::GetNext ( ) const
inline

◆ GetPrev()

HTMLAttr * HTMLAttr::GetPrev ( ) const
inline

◆ GetStartContent()

sal_Int32 HTMLAttr::GetStartContent ( ) const
inline

◆ GetStartParagraph()

const SwNodeIndex & HTMLAttr::GetStartParagraph ( ) const
inline

◆ GetStartParagraphIdx()

SwNodeOffset HTMLAttr::GetStartParagraphIdx ( ) const
inline

◆ InsertNext()

void HTMLAttr::InsertNext ( HTMLAttr pNxt)
inline

Definition at line 182 of file swhtml.hxx.

References m_pNext.

Referenced by SwHTMLParser::NewAttr(), and SwHTMLParser::SplitAttrTab().

◆ InsertPrev()

void HTMLAttr::InsertPrev ( HTMLAttr pPrv)

◆ Invalidate()

void HTMLAttr::Invalidate ( )
inline

Definition at line 198 of file swhtml.hxx.

References m_bValid.

◆ IsLikePara()

bool HTMLAttr::IsLikePara ( ) const
inline

Definition at line 175 of file swhtml.hxx.

References m_bLikePara.

Referenced by SwHTMLParser::SetAttr_().

◆ Reset()

void HTMLAttr::Reset ( const SwNode rSttPara,
sal_Int32  nSttCnt,
HTMLAttr **  pHd,
const std::shared_ptr< HTMLAttrTable > &  rAttrTab 
)

◆ SetHead()

void HTMLAttr::SetHead ( HTMLAttr **  ppHd,
const std::shared_ptr< HTMLAttrTable > &  rAttrTab 
)
inline

Definition at line 188 of file swhtml.hxx.

References m_ppHead, and m_xAttrTab.

Referenced by SwHTMLParser::RestoreAttrTab(), and SwHTMLParser::SaveAttrTab().

◆ SetLikePara()

void HTMLAttr::SetLikePara ( )
inline

Definition at line 176 of file swhtml.hxx.

References m_bLikePara.

◆ SetStart()

void HTMLAttr::SetStart ( const SwPosition rPos)
inline

Friends And Related Function Documentation

◆ CellSaveStruct

friend class CellSaveStruct
friend

Definition at line 135 of file swhtml.hxx.

◆ SwHTMLParser

friend class SwHTMLParser
friend

Definition at line 134 of file swhtml.hxx.

Member Data Documentation

◆ m_bInsAtStart

bool HTMLAttr::m_bInsAtStart
private

◆ m_bLikePara

bool HTMLAttr::m_bLikePara
private

Definition at line 142 of file swhtml.hxx.

Referenced by IsLikePara(), and SetLikePara().

◆ m_bValid

bool HTMLAttr::m_bValid
private

Definition at line 143 of file swhtml.hxx.

Referenced by Invalidate(), and SwHTMLParser::SetAttr_().

◆ m_nEndContent

sal_Int32 HTMLAttr::m_nEndContent
private

◆ m_nEndPara

SwNodeIndex HTMLAttr::m_nEndPara
private

◆ m_nStartContent

sal_Int32 HTMLAttr::m_nStartContent
private

◆ m_nStartPara

SwNodeIndex HTMLAttr::m_nStartPara
private

◆ m_pItem

std::unique_ptr<SfxPoolItem> HTMLAttr::m_pItem
private

◆ m_pNext

HTMLAttr* HTMLAttr::m_pNext
private

◆ m_ppHead

HTMLAttr** HTMLAttr::m_ppHead
private

◆ m_pPrev

HTMLAttr* HTMLAttr::m_pPrev
private

Definition at line 148 of file swhtml.hxx.

Referenced by ClearPrev(), Clone(), GetPrev(), InsertPrev(), Reset(), and SwHTMLParser::SplitAttrTab().

◆ m_xAttrTab

std::shared_ptr<HTMLAttrTable> HTMLAttr::m_xAttrTab
private

Definition at line 146 of file swhtml.hxx.

Referenced by Clone(), SwHTMLParser::DeleteAttr(), Reset(), and SetHead().


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