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 106 of file index.hxx.

Constructor & Destructor Documentation

◆ SwIndexReg()

SwIndexReg::SwIndexReg ( )

Definition at line 227 of file index.cxx.

◆ ~SwIndexReg()

SwIndexReg::~SwIndexReg ( )

Definition at line 232 of file index.cxx.

References m_pFirst, and m_pLast.

Member Function Documentation

◆ GetFirstIndex()

const SwIndex * SwIndexReg::GetFirstIndex ( ) const

Definition at line 125 of file index.hxx.

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

◆ HasAnyIndex()

bool SwIndexReg::HasAnyIndex ( ) const

Definition at line 118 of file index.hxx.

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

◆ MoveTo()

void SwIndexReg::MoveTo ( SwIndexReg rArr)

◆ Update()

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

Reimplemented in SwTextNode.

Definition at line 237 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

◆ sw_PosOk

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 3593 of file crsrsh.cxx.

◆ SwIndex

friend class SwIndex

Member Data Documentation

◆ m_pFirst

const SwIndex* SwIndexReg::m_pFirst

Definition at line 111 of file index.hxx.

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

◆ m_pLast

const SwIndex* SwIndexReg::m_pLast

Definition at line 112 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: