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

#include <edglbldc.hxx>

Collaboration diagram for SwGlblDocContent:
[legend]

Public Member Functions

 SwGlblDocContent (SwNodeOffset nPos)
 
 SwGlblDocContent (const SwTOXBaseSection *pTOX)
 
 SwGlblDocContent (const SwSection *pSect)
 
GlobalDocContentType GetType () const
 Query contents. More...
 
const SwSectionGetSection () const
 
const SwTOXBaseGetTOX () const
 
SwNodeOffset GetDocPos () const
 
bool operator== (const SwGlblDocContent &rCmp) const
 For sorting. More...
 
bool operator< (const SwGlblDocContent &rCmp) const
 

Private Attributes

GlobalDocContentType m_eType
 
SwNodeOffset m_nDocPos
 
union {
   const SwTOXBase *   pTOX
 
   const SwSection *   pSect
 
m_PTR
 

Detailed Description

Definition at line 36 of file edglbldc.hxx.

Constructor & Destructor Documentation

◆ SwGlblDocContent() [1/3]

SwGlblDocContent::SwGlblDocContent ( SwNodeOffset  nPos)

Definition at line 350 of file edglbldc.cxx.

References GLBLDOC_UNKNOWN, m_eType, m_nDocPos, m_PTR, and nPos.

◆ SwGlblDocContent() [2/3]

SwGlblDocContent::SwGlblDocContent ( const SwTOXBaseSection pTOX)

Definition at line 357 of file edglbldc.cxx.

References SwNode::GetIndex(), GLBLDOC_TOXBASE, m_eType, m_nDocPos, m_PTR, and pTOX.

◆ SwGlblDocContent() [3/3]

SwGlblDocContent::SwGlblDocContent ( const SwSection pSect)

Member Function Documentation

◆ GetDocPos()

SwNodeOffset SwGlblDocContent::GetDocPos ( ) const
inline

◆ GetSection()

const SwSection * SwGlblDocContent::GetSection ( ) const
inline

◆ GetTOX()

const SwTOXBase * SwGlblDocContent::GetTOX ( ) const
inline

◆ GetType()

GlobalDocContentType SwGlblDocContent::GetType ( ) const
inline

◆ operator<()

bool SwGlblDocContent::operator< ( const SwGlblDocContent rCmp) const
inline

Definition at line 61 of file edglbldc.hxx.

References GetDocPos().

◆ operator==()

bool SwGlblDocContent::operator== ( const SwGlblDocContent rCmp) const
inline

For sorting.

Definition at line 59 of file edglbldc.hxx.

References GetDocPos().

Member Data Documentation

◆ m_eType

GlobalDocContentType SwGlblDocContent::m_eType
private

Definition at line 38 of file edglbldc.hxx.

Referenced by GetSection(), GetTOX(), GetType(), and SwGlblDocContent().

◆ m_nDocPos

SwNodeOffset SwGlblDocContent::m_nDocPos
private

Definition at line 39 of file edglbldc.hxx.

Referenced by GetDocPos(), and SwGlblDocContent().

◆ 

union { ... } SwGlblDocContent::m_PTR

◆ pSect

const SwSection* SwGlblDocContent::pSect

Definition at line 42 of file edglbldc.hxx.

Referenced by SwGlblDocContent().

◆ pTOX

const SwTOXBase* SwGlblDocContent::pTOX

Definition at line 41 of file edglbldc.hxx.

Referenced by SwGlblDocContent().


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