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

#include <docfld.hxx>

Collaboration diagram for SetGetExpField:
[legend]

Public Member Functions

 SetGetExpField (const SwNodeIndex &rNdIdx, const SwTextField *pField=nullptr, const SwIndex *pIdx=nullptr)
 
 SetGetExpField (const SwNodeIndex &rNdIdx, const SwTextINetFormat &rINet)
 
 SetGetExpField (const SwSectionNode &rSectNode, const SwPosition *pPos=nullptr)
 
 SetGetExpField (const SwTableBox &rTableBox)
 
 SetGetExpField (const SwNodeIndex &rNdIdx, const SwTextTOXMark &rTOX)
 
 SetGetExpField (const SwPosition &rPos)
 
 SetGetExpField (const SwFlyFrameFormat &rFlyFormat, const SwPosition *pPos)
 
bool operator== (const SetGetExpField &rField) const
 
bool operator< (const SetGetExpField &rField) const
 
const SwTextFieldGetTextField () const
 
const SwSectionGetSection () const
 
const SwTextINetFormatGetINetFormat () const
 
const SwFlyFrameFormatGetFlyFormat () const
 
sal_uLong GetNode () const
 
sal_Int32 GetContent () const
 
const voidGetPointer () const
 
void GetPosOfContent (SwPosition &rPos) const
 
const SwNodeGetNodeFromContent () const
 
sal_Int32 GetCntPosFromContent () const
 
void SetBodyPos (const SwContentFrame &rFrame)
 

Private Types

enum  SetGetExpFieldType {
  TEXTFIELD,
  TEXTTOXMARK,
  SECTIONNODE,
  CRSRPOS,
  TABLEBOX,
  TEXTINET,
  FLYFRAME
}
 

Private Attributes

sal_uLong m_nNode
 
sal_Int32 m_nContent
 
union {
   const SwTextField *   pTextField
 
   const SwSection *   pSection
 
   const SwPosition *   pPos
 
   const SwTextTOXMark *   pTextTOX
 
   const SwTableBox *   pTBox
 
   const SwTextINetFormat *   pTextINet
 
   const SwFlyFrameFormat *   pFlyFormat
 
m_CNTNT
 
enum SetGetExpField::SetGetExpFieldType m_eSetGetExpFieldType
 

Detailed Description

Definition at line 44 of file docfld.hxx.

Member Enumeration Documentation

Enumerator
TEXTFIELD 
TEXTTOXMARK 
SECTIONNODE 
CRSRPOS 
TABLEBOX 
TEXTINET 
FLYFRAME 

Definition at line 57 of file docfld.hxx.

Constructor & Destructor Documentation

SetGetExpField::SetGetExpField ( const SwNodeIndex rNdIdx,
const SwTextField pField = nullptr,
const SwIndex pIdx = nullptr 
)
SetGetExpField::SetGetExpField ( const SwNodeIndex rNdIdx,
const SwTextINetFormat rINet 
)
SetGetExpField::SetGetExpField ( const SwSectionNode rSectNode,
const SwPosition pPos = nullptr 
)
SetGetExpField::SetGetExpField ( const SwTableBox rTableBox)
SetGetExpField::SetGetExpField ( const SwNodeIndex rNdIdx,
const SwTextTOXMark rTOX 
)
SetGetExpField::SetGetExpField ( const SwPosition rPos)
SetGetExpField::SetGetExpField ( const SwFlyFrameFormat rFlyFormat,
const SwPosition pPos 
)

Member Function Documentation

sal_Int32 SetGetExpField::GetCntPosFromContent ( ) const

Definition at line 301 of file docfld.cxx.

References CRSRPOS, m_CNTNT, m_eSetGetExpFieldType, TEXTFIELD, TEXTINET, and TEXTTOXMARK.

Referenced by GetPosOfContent(), and operator<().

sal_Int32 SetGetExpField::GetContent ( ) const
inline

Definition at line 93 of file docfld.hxx.

References m_nContent.

const SwFlyFrameFormat* SetGetExpField::GetFlyFormat ( ) const
inline

Definition at line 89 of file docfld.hxx.

Referenced by SwCursorShell::SelectNxtPrvHyperlink().

const SwTextINetFormat* SetGetExpField::GetINetFormat ( ) const
inline

Definition at line 87 of file docfld.hxx.

Referenced by SwCursorShell::SelectNxtPrvHyperlink().

sal_uLong SetGetExpField::GetNode ( ) const
inline

Definition at line 92 of file docfld.hxx.

References m_nNode.

Referenced by SetBodyPos().

const SwNode * SetGetExpField::GetNodeFromContent ( ) const
const void* SetGetExpField::GetPointer ( ) const
inline

Definition at line 94 of file docfld.hxx.

void SetGetExpField::GetPosOfContent ( SwPosition rPos) const
const SwSection* SetGetExpField::GetSection ( ) const
inline

Definition at line 85 of file docfld.hxx.

const SwTextField* SetGetExpField::GetTextField ( ) const
inline

Definition at line 83 of file docfld.hxx.

bool SetGetExpField::operator< ( const SetGetExpField rField) const
bool SetGetExpField::operator== ( const SetGetExpField rField) const

Definition at line 191 of file docfld.cxx.

References m_CNTNT, m_nContent, m_nNode, and pTextField.

void SetGetExpField::SetBodyPos ( const SwContentFrame rFrame)

Member Data Documentation

union { ... } SetGetExpField::m_CNTNT
enum SetGetExpField::SetGetExpFieldType SetGetExpField::m_eSetGetExpFieldType
private
sal_Int32 SetGetExpField::m_nContent
private
sal_uLong SetGetExpField::m_nNode
private

Definition at line 46 of file docfld.hxx.

Referenced by GetNode(), GetPosOfContent(), operator<(), operator==(), SetBodyPos(), and SetGetExpField().

const SwFlyFrameFormat* SetGetExpField::pFlyFormat

Definition at line 55 of file docfld.hxx.

const SwPosition* SetGetExpField::pPos

Definition at line 51 of file docfld.hxx.

const SwSection* SetGetExpField::pSection

Definition at line 50 of file docfld.hxx.

const SwTableBox* SetGetExpField::pTBox

Definition at line 53 of file docfld.hxx.

const SwTextField* SetGetExpField::pTextField

Definition at line 49 of file docfld.hxx.

Referenced by operator==().

const SwTextINetFormat* SetGetExpField::pTextINet

Definition at line 54 of file docfld.hxx.

const SwTextTOXMark* SetGetExpField::pTextTOX

Definition at line 52 of file docfld.hxx.


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