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

#include <index.hxx>

Inheritance diagram for SwIndexReg:
Collaboration diagram for SwIndexReg:

Public Member Functions

 SwIndexReg ()
virtual ~SwIndexReg ()
void MoveTo (SwIndexReg &rArr)
const SwIndexGetFirstIndex () const

Protected Member Functions

virtual void Update (SwIndex const &rPos, const sal_Int32 nChangeLen, const bool bNegative=false, const bool bDelete=false)
bool HasAnyIndex () const

Private Attributes

const SwIndexm_pFirst
const SwIndexm_pLast


class SwIndex
bool sw_PosOk (const SwPosition &aPos)
 Checks if a position is valid. More...

Detailed Description

Definition at line 110 of file index.hxx.

Constructor & Destructor Documentation

SwIndexReg::SwIndexReg ( )

Definition at line 219 of file index.cxx.

SwIndexReg::~SwIndexReg ( )

Definition at line 224 of file index.cxx.

References m_pFirst, and m_pLast.

Member Function Documentation

const SwIndex* SwIndexReg::GetFirstIndex ( ) const

Definition at line 129 of file index.hxx.

Referenced by SwScriptInfo::selectHiddenTextProperty(), and SwTextNode::Update().

bool SwIndexReg::HasAnyIndex ( ) const

Definition at line 122 of file index.hxx.

Referenced by SwTextNode::JoinNext(), and SwTextNode::JoinPrev().

void SwIndexReg::MoveTo ( SwIndexReg rArr)
void SwIndexReg::Update ( SwIndex const &  rPos,
const sal_Int32  nChangeLen,
const bool  bNegative = false,
const bool  bDelete = false 

Reimplemented in SwTextNode.

Definition at line 229 of file index.cxx.

References SwIndex::GetIndex(), SwIndex::m_nIndex, SwIndex::m_pMark, SwIndex::m_pNext, and SwIndex::m_pPrev.

Referenced by SwTextNode::Update().

Friends And Related Function Documentation

bool sw_PosOk ( const SwPosition aPos)

Checks if a position is valid.

To be valid the position's node must be a content node and the content must not be unregistered.

aPosthe position to check.

Definition at line 3437 of file crsrsh.cxx.

friend class SwIndex

Member Data Documentation

const SwIndex* SwIndexReg::m_pFirst

Definition at line 115 of file index.hxx.

Referenced by SwIndex::ChgValue(), SwIndex::Init(), MoveTo(), SwIndex::Remove(), and ~SwIndexReg().

const SwIndex* SwIndexReg::m_pLast

Definition at line 116 of file index.hxx.

Referenced by SwIndex::ChgValue(), SwIndex::Init(), MoveTo(), SwIndex::Remove(), and ~SwIndexReg().

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