LibreOffice Module sw (master) 1
|
#include <edglbldc.hxx>
Public Member Functions | |
SwGlblDocContent (SwNodeOffset nPos) | |
SwGlblDocContent (const SwTOXBaseSection *pTOX) | |
SwGlblDocContent (const SwSection *pSect) | |
GlobalDocContentType | GetType () const |
Query contents. More... | |
const SwSection * | GetSection () const |
const SwTOXBase * | GetTOX () 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 |
Definition at line 36 of file edglbldc.hxx.
SwGlblDocContent::SwGlblDocContent | ( | SwNodeOffset | nPos | ) |
Definition at line 350 of file edglbldc.cxx.
References GLBLDOC_UNKNOWN, m_eType, m_nDocPos, m_PTR, and nPos.
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::SwGlblDocContent | ( | const SwSection * | pSect | ) |
Definition at line 366 of file edglbldc.cxx.
References SwSection::GetFormat(), SwNode::GetIndex(), SwSectionFormat::GetSectionNode(), GLBLDOC_SECTION, m_eType, m_nDocPos, m_PTR, and pSect.
|
inline |
Definition at line 56 of file edglbldc.hxx.
References m_nDocPos.
Referenced by SwEditShell::DeleteGlobalDocContent(), SwGlobalTree::ExecuteContextMenuAction(), SwEditShell::GetGlobalDocContent(), SwEditShell::GotoGlobalDocContent(), SwEditShell::InsertGlobalDocContent(), operator<(), and operator==().
|
inline |
Definition at line 52 of file edglbldc.hxx.
References GLBLDOC_SECTION, m_eType, and m_PTR.
Referenced by SwEditShell::DeleteGlobalDocContent(), SwGlobalTree::Display(), SwGlobalTree::ExecuteContextMenuAction(), IMPL_LINK(), SwGlobalTree::OpenDoc(), and SwGlobalTree::Update().
|
inline |
Definition at line 54 of file edglbldc.hxx.
References GLBLDOC_TOXBASE, m_eType, and m_PTR.
Referenced by SwEditShell::DeleteGlobalDocContent(), SwGlobalTree::Display(), SwGlobalTree::EditContent(), SwGlobalTree::ExecuteContextMenuAction(), SwGlobalTree::GotoContent(), and SwGlobalTree::Update().
|
inline |
Query contents.
Definition at line 51 of file edglbldc.hxx.
References m_eType.
Referenced by SwEditShell::DeleteGlobalDocContent(), SwGlobalTree::Display(), SwGlobalTree::EditContent(), SwGlobalTree::ExecuteContextMenuAction(), SwGlobalTree::GotoContent(), IMPL_LINK(), IMPL_LINK_NOARG(), and SwGlobalTree::Update().
|
inline |
Definition at line 61 of file edglbldc.hxx.
References GetDocPos().
|
inline |
|
private |
Definition at line 38 of file edglbldc.hxx.
Referenced by GetSection(), GetTOX(), GetType(), and SwGlblDocContent().
|
private |
Definition at line 39 of file edglbldc.hxx.
Referenced by GetDocPos(), and SwGlblDocContent().
union { ... } SwGlblDocContent::m_PTR |
Referenced by GetSection(), GetTOX(), and SwGlblDocContent().
const SwSection* SwGlblDocContent::pSect |
Definition at line 42 of file edglbldc.hxx.
Referenced by SwGlblDocContent().
const SwTOXBase* SwGlblDocContent::pTOX |
Definition at line 41 of file edglbldc.hxx.
Referenced by SwGlblDocContent().