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

Helper base class for SwContentNode to manage the list of attached SwContentIndex. More...

#include <contentindex.hxx>

Inheritance diagram for SwContentIndexReg:
[legend]
Collaboration diagram for SwContentIndexReg:
[legend]

Public Types

enum class  UpdateMode {
  Default = 0 ,
  Negative = (1<<0) ,
  Delete = (1<<1) ,
  Replace = (1<<2)
}
 

Public Member Functions

virtual ~SwContentIndexReg ()
 
void MoveTo (SwContentNode &rArr)
 
const SwContentIndexGetFirstIndex () const
 

Protected Member Functions

virtual void Update (SwContentIndex const &rPos, const sal_Int32 nChangeLen, UpdateMode eMode)
 
bool HasAnyIndex () const
 
 SwContentIndexReg ()
 

Private Attributes

const SwContentIndexm_pFirst
 
const SwContentIndexm_pLast
 

Friends

class SwContentIndex
 

Detailed Description

Helper base class for SwContentNode to manage the list of attached SwContentIndex.

Definition at line 116 of file contentindex.hxx.

Member Enumeration Documentation

◆ UpdateMode

enum class SwContentIndexReg::UpdateMode
strong
Enumerator
Default 
Negative 
Delete 
Replace 

Definition at line 124 of file contentindex.hxx.

Constructor & Destructor Documentation

◆ SwContentIndexReg()

SwContentIndexReg::SwContentIndexReg ( )
protected

Definition at line 227 of file index.cxx.

◆ ~SwContentIndexReg()

SwContentIndexReg::~SwContentIndexReg ( )
virtual

Definition at line 232 of file index.cxx.

References m_pFirst, and m_pLast.

Member Function Documentation

◆ GetFirstIndex()

const SwContentIndex * SwContentIndexReg::GetFirstIndex ( ) const
inline

Definition at line 142 of file contentindex.hxx.

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

◆ HasAnyIndex()

bool SwContentIndexReg::HasAnyIndex ( ) const
inlineprotected

Definition at line 135 of file contentindex.hxx.

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

◆ MoveTo()

void SwContentIndexReg::MoveTo ( SwContentNode rArr)

◆ Update()

void SwContentIndexReg::Update ( SwContentIndex const &  rPos,
const sal_Int32  nChangeLen,
UpdateMode  eMode 
)
protectedvirtual

Friends And Related Function Documentation

◆ SwContentIndex

friend class SwContentIndex
friend

Member Data Documentation

◆ m_pFirst

const SwContentIndex* SwContentIndexReg::m_pFirst
private

◆ m_pLast

const SwContentIndex* SwContentIndexReg::m_pLast
private

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