LibreOffice Module editeng (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
SvxRTFItemStackType Class Reference

#include <svxrtf.hxx>

Collaboration diagram for SvxRTFItemStackType:
[legend]

Public Member Functions

 SvxRTFItemStackType (const SvxRTFItemStackType &, const EditPosition &, bool bCopyAttr)
 
 ~SvxRTFItemStackType ()
 
void SetStartPos (const EditPosition &rPos)
 
const EditNodeIdxGetSttNode () const
 
const EditNodeIdxGetEndNode () const
 
sal_Int32 GetSttCnt () const
 
sal_Int32 GetEndCnt () const
 
SfxItemSetGetAttrSet ()
 
const SfxItemSetGetAttrSet () const
 
sal_uInt16 StyleNo () const
 
void SetRTFDefaults (const SfxItemSet &rDefaults)
 

Private Member Functions

 SvxRTFItemStackType (SvxRTFItemStackType const &)=delete
 
void operator= (SvxRTFItemStackType const &)=delete
 
 SvxRTFItemStackType (SfxItemPool &, const WhichRangesContainer &pWhichRange, const EditPosition &)
 
void Add (std::unique_ptr< SvxRTFItemStackType >)
 
void Compress (const SvxRTFParser &)
 
void DropChildList ()
 

Static Private Member Functions

static std::unique_ptr< SvxRTFItemStackTypecreateSvxRTFItemStackType (SfxItemPool &, const WhichRangesContainer &pWhichRange, const EditPosition &)
 

Private Attributes

SfxItemSet aAttrSet
 
std::optional< EditNodeIdxmxStartNodeIdx
 
std::optional< EditNodeIdxmxEndNodeIdx
 
sal_Int32 nSttCnt
 
sal_Int32 nEndCnt
 
SvxRTFItemStackList maChildList
 
sal_uInt16 nStyleNo
 

Friends

class SvxRTFParser
 

Detailed Description

Definition at line 230 of file svxrtf.hxx.

Constructor & Destructor Documentation

◆ SvxRTFItemStackType() [1/3]

SvxRTFItemStackType::SvxRTFItemStackType ( SvxRTFItemStackType const &  )
privatedelete

◆ SvxRTFItemStackType() [2/3]

SvxRTFItemStackType::SvxRTFItemStackType ( SfxItemPool rPool,
const WhichRangesContainer pWhichRange,
const EditPosition rPos 
)
private

Definition at line 978 of file svxrtf.cxx.

References if().

◆ SvxRTFItemStackType() [3/3]

SvxRTFItemStackType::SvxRTFItemStackType ( const SvxRTFItemStackType rCpy,
const EditPosition rPos,
bool  bCopyAttr 
)

Definition at line 993 of file svxrtf.cxx.

References aAttrSet, GetRanges(), if(), SfxItemSet::Put(), and SfxItemSet::SetParent().

◆ ~SvxRTFItemStackType()

SvxRTFItemStackType::~SvxRTFItemStackType ( )

Definition at line 1050 of file svxrtf.cxx.

Member Function Documentation

◆ Add()

void SvxRTFItemStackType::Add ( std::unique_ptr< SvxRTFItemStackType pIns)
private

Definition at line 1054 of file svxrtf.cxx.

References maChildList.

Referenced by SvxRTFParser::AttrGroupEnd().

◆ Compress()

void SvxRTFItemStackType::Compress ( const SvxRTFParser rParser)
private

◆ createSvxRTFItemStackType()

std::unique_ptr< SvxRTFItemStackType > SvxRTFItemStackType::createSvxRTFItemStackType ( SfxItemPool rPool,
const WhichRangesContainer pWhichRange,
const EditPosition rEditPosition 
)
staticprivate

Definition at line 607 of file svxrtf.cxx.

References SvxRTFItemStackType().

Referenced by SvxRTFParser::GetAttrSet_().

◆ DropChildList()

void SvxRTFItemStackType::DropChildList ( )
private

Definition at line 1022 of file svxrtf.cxx.

References a, and maChildList.

◆ GetAttrSet() [1/2]

SfxItemSet & SvxRTFItemStackType::GetAttrSet ( )
inline

Definition at line 269 of file svxrtf.hxx.

References aAttrSet.

Referenced by SvxRTFParser::ClearStyleAttr_().

◆ GetAttrSet() [2/2]

const SfxItemSet & SvxRTFItemStackType::GetAttrSet ( ) const
inline

Definition at line 270 of file svxrtf.hxx.

References aAttrSet.

◆ GetEndCnt()

sal_Int32 SvxRTFItemStackType::GetEndCnt ( ) const
inline

Definition at line 267 of file svxrtf.hxx.

References nEndCnt.

◆ GetEndNode()

const EditNodeIdx & SvxRTFItemStackType::GetEndNode ( ) const
inline

Definition at line 264 of file svxrtf.hxx.

References mxEndNodeIdx.

◆ GetSttCnt()

sal_Int32 SvxRTFItemStackType::GetSttCnt ( ) const
inline

Definition at line 266 of file svxrtf.hxx.

References nSttCnt.

◆ GetSttNode()

const EditNodeIdx & SvxRTFItemStackType::GetSttNode ( ) const
inline

Definition at line 263 of file svxrtf.hxx.

References mxStartNodeIdx.

◆ operator=()

void SvxRTFItemStackType::operator= ( SvxRTFItemStackType const &  )
privatedelete

◆ SetRTFDefaults()

void SvxRTFItemStackType::SetRTFDefaults ( const SfxItemSet rDefaults)

◆ SetStartPos()

void SvxRTFItemStackType::SetStartPos ( const EditPosition rPos)

◆ StyleNo()

sal_uInt16 SvxRTFItemStackType::StyleNo ( ) const
inline

Definition at line 272 of file svxrtf.hxx.

References nStyleNo.

Friends And Related Function Documentation

◆ SvxRTFParser

friend class SvxRTFParser
friend

Definition at line 232 of file svxrtf.hxx.

Member Data Documentation

◆ aAttrSet

SfxItemSet SvxRTFItemStackType::aAttrSet
private

◆ maChildList

SvxRTFItemStackList SvxRTFItemStackType::maChildList
private

◆ mxEndNodeIdx

std::optional<EditNodeIdx> SvxRTFItemStackType::mxEndNodeIdx
private

Definition at line 236 of file svxrtf.hxx.

Referenced by Compress(), GetEndNode(), and SetStartPos().

◆ mxStartNodeIdx

std::optional<EditNodeIdx> SvxRTFItemStackType::mxStartNodeIdx
private

◆ nEndCnt

sal_Int32 SvxRTFItemStackType::nEndCnt
private

Definition at line 237 of file svxrtf.hxx.

Referenced by Compress(), and GetEndCnt().

◆ nSttCnt

sal_Int32 SvxRTFItemStackType::nSttCnt
private

◆ nStyleNo

sal_uInt16 SvxRTFItemStackType::nStyleNo
private

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