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 SwNodeIndex &rEndPara, sal_Int32 nEndCnt) const
 
void Reset (const SwNodeIndex &rSttPara, sal_Int32 nSttCnt, HTMLAttr **pHd, const std::shared_ptr< HTMLAttrTable > &rAttrTab)
 
void SetStart (const SwPosition &rPos)
 
sal_uInt32 GetSttParaIdx () const
 
sal_uInt32 GetEndParaIdx () const
 
const SwNodeIndexGetSttPara () const
 
const SwNodeIndexGetEndPara () const
 
sal_Int32 GetSttCnt () const
 
sal_Int32 GetEndCnt () 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, const std::shared_ptr< HTMLAttrTable > &rAttrTab)
 
 HTMLAttr (const HTMLAttr &rAttr, const SwNodeIndex &rEndPara, sal_Int32 nEndCnt, HTMLAttr **pHd, const std::shared_ptr< HTMLAttrTable > &rAttrTab)
 

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 127 of file swhtml.hxx.

Constructor & Destructor Documentation

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

Definition at line 5433 of file swhtml.cxx.

References Clone().

Referenced by Clone().

HTMLAttr::HTMLAttr ( const HTMLAttr rAttr,
const SwNodeIndex rEndPara,
sal_Int32  nEndCnt,
HTMLAttr **  pHd,
const std::shared_ptr< HTMLAttrTable > &  rAttrTab 
)
private

Definition at line 5450 of file swhtml.cxx.

References Clone().

HTMLAttr::~HTMLAttr ( )

Definition at line 5467 of file swhtml.cxx.

Member Function Documentation

void HTMLAttr::ClearPrev ( )
inline

Definition at line 179 of file swhtml.hxx.

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

HTMLAttr * HTMLAttr::Clone ( const SwNodeIndex rEndPara,
sal_Int32  nEndCnt 
) const
sal_Int32 HTMLAttr::GetEndCnt ( ) const
inline

Definition at line 166 of file swhtml.hxx.

References m_nEndContent.

Referenced by SwHTMLParser::SetAttr_().

const SwNodeIndex& HTMLAttr::GetEndPara ( ) const
inline

Definition at line 163 of file swhtml.hxx.

References m_nEndPara.

Referenced by SwHTMLParser::SetAttr_().

sal_uInt32 HTMLAttr::GetEndParaIdx ( ) const
inline

Definition at line 160 of file swhtml.hxx.

References SwNodeIndex::GetIndex().

Referenced by SwHTMLParser::SetAttr_().

SfxPoolItem& HTMLAttr::GetItem ( )
inline

Definition at line 171 of file swhtml.hxx.

References m_pItem.

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

const SfxPoolItem& HTMLAttr::GetItem ( ) const
inline

Definition at line 172 of file swhtml.hxx.

References m_pItem.

HTMLAttr* HTMLAttr::GetNext ( ) const
inline
HTMLAttr* HTMLAttr::GetPrev ( ) const
inline
sal_Int32 HTMLAttr::GetSttCnt ( ) const
inline
const SwNodeIndex& HTMLAttr::GetSttPara ( ) const
inline
sal_uInt32 HTMLAttr::GetSttParaIdx ( ) const
inline
void HTMLAttr::InsertNext ( HTMLAttr pNxt)
inline

Definition at line 175 of file swhtml.hxx.

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

void HTMLAttr::InsertPrev ( HTMLAttr pPrv)
void HTMLAttr::Invalidate ( )
inline

Definition at line 191 of file swhtml.hxx.

References m_bValid.

bool HTMLAttr::IsLikePara ( ) const
inline

Definition at line 168 of file swhtml.hxx.

References m_bLikePara.

Referenced by SwHTMLParser::SetAttr_().

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

Definition at line 181 of file swhtml.hxx.

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

void HTMLAttr::SetLikePara ( )
inline

Definition at line 169 of file swhtml.hxx.

References m_bLikePara.

void HTMLAttr::SetStart ( const SwPosition rPos)
inline

Friends And Related Function Documentation

friend class CellSaveStruct
friend

Definition at line 130 of file swhtml.hxx.

friend class SwHTMLParser
friend

Definition at line 129 of file swhtml.hxx.

Member Data Documentation

bool HTMLAttr::m_bInsAtStart
private
bool HTMLAttr::m_bLikePara
private

Definition at line 135 of file swhtml.hxx.

Referenced by IsLikePara(), and SetLikePara().

bool HTMLAttr::m_bValid
private

Definition at line 136 of file swhtml.hxx.

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

sal_Int32 HTMLAttr::m_nEndContent
private
SwNodeIndex HTMLAttr::m_nEndPara
private
sal_Int32 HTMLAttr::m_nStartContent
private
SwNodeIndex HTMLAttr::m_nStartPara
private
std::unique_ptr<SfxPoolItem> HTMLAttr::m_pItem
private
HTMLAttr* HTMLAttr::m_pNext
private
HTMLAttr** HTMLAttr::m_ppHead
private
HTMLAttr* HTMLAttr::m_pPrev
private

Definition at line 141 of file swhtml.hxx.

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

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

Definition at line 139 of file swhtml.hxx.

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


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