LibreOffice Module sw (master)
1
|
#include <docfld.hxx>
Private Types | |
enum | SetGetExpFieldType { TEXTFIELD, TEXTTOXMARK, SECTIONNODE, CRSRPOS, TABLEBOX, TEXTINET, FLYFRAME } |
Private Attributes | |
sal_uLong | m_nNode |
union { | |
const SwTextField * pTextField | |
const SwSection * pSection | |
const SwPosition * pPos | |
const SwTextTOXMark * pTextTOX | |
const SwTableBox * pTBox | |
const SwTextINetFormat * pTextINet | |
const SwFlyFrameFormat * pFlyFormat | |
} | m_CNTNT |
sal_Int32 | m_nContent |
enum SetGetExpField::SetGetExpFieldType | m_eSetGetExpFieldType |
Definition at line 44 of file docfld.hxx.
|
private |
Enumerator | |
---|---|
TEXTFIELD | |
TEXTTOXMARK | |
SECTIONNODE | |
CRSRPOS | |
TABLEBOX | |
TEXTINET | |
FLYFRAME |
Definition at line 57 of file docfld.hxx.
SetGetExpField::SetGetExpField | ( | const SwNodeIndex & | rNdIdx, |
const SwTextField * | pField = nullptr , |
||
const SwIndex * | pIdx = nullptr |
||
) |
Definition at line 61 of file docfld.cxx.
References SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwTextAttr::GetStart(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, m_nNode, and TEXTFIELD.
SetGetExpField::SetGetExpField | ( | const SwNodeIndex & | rNdIdx, |
const SwTextINetFormat & | rINet | ||
) |
Definition at line 77 of file docfld.cxx.
References SwNodeIndex::GetIndex(), SwTextAttr::GetStart(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, m_nNode, and TEXTINET.
SetGetExpField::SetGetExpField | ( | const SwSectionNode & | rSectNode, |
const SwPosition * | pPos = nullptr |
||
) |
Definition at line 89 of file docfld.cxx.
References SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwSectionNode::GetSection(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, m_nNode, SwPosition::nContent, SwPosition::nNode, and SECTIONNODE.
SetGetExpField::SetGetExpField | ( | const SwTableBox & | rTableBox | ) |
Definition at line 107 of file docfld.cxx.
References SwNode::GetNodes(), SwTableBox::GetSttNd(), SwNodes::GoNext(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, m_nNode, and TABLEBOX.
SetGetExpField::SetGetExpField | ( | const SwNodeIndex & | rNdIdx, |
const SwTextTOXMark & | rTOX | ||
) |
Definition at line 123 of file docfld.cxx.
References SwNodeIndex::GetIndex(), SwTextAttr::GetStart(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, m_nNode, and TEXTTOXMARK.
SetGetExpField::SetGetExpField | ( | const SwPosition & | rPos | ) |
Definition at line 132 of file docfld.cxx.
References CRSRPOS, SwIndex::GetIndex(), SwNodeIndex::GetIndex(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, m_nNode, SwPosition::nContent, and SwPosition::nNode.
SetGetExpField::SetGetExpField | ( | const SwFlyFrameFormat & | rFlyFormat, |
const SwPosition * | pPos | ||
) |
Definition at line 140 of file docfld.cxx.
References FLYFRAME, SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, m_nNode, SwPosition::nContent, and SwPosition::nNode.
sal_Int32 SetGetExpField::GetCntPosFromContent | ( | ) | const |
Definition at line 303 of file docfld.cxx.
References CRSRPOS, m_CNTNT, m_eSetGetExpFieldType, TEXTFIELD, TEXTINET, and TEXTTOXMARK.
Referenced by GetPosOfContent(), and operator<().
|
inline |
Definition at line 93 of file docfld.hxx.
References m_nContent.
|
inline |
Definition at line 89 of file docfld.hxx.
Referenced by SwCursorShell::SelectNxtPrvHyperlink().
|
inline |
Definition at line 87 of file docfld.hxx.
Referenced by SwCursorShell::SelectNxtPrvHyperlink().
|
inline |
const SwNode * SetGetExpField::GetNodeFromContent | ( | ) | const |
Definition at line 259 of file docfld.cxx.
References CRSRPOS, FLYFRAME, SwNode::GetNodes(), SwNodes::GoNext(), m_CNTNT, m_eSetGetExpFieldType, SECTIONNODE, TABLEBOX, TEXTFIELD, TEXTINET, and TEXTTOXMARK.
Referenced by GetPosOfContent(), and operator<().
|
inline |
Definition at line 94 of file docfld.hxx.
void SetGetExpField::GetPosOfContent | ( | SwPosition & | rPos | ) | const |
Definition at line 158 of file docfld.cxx.
References SwIndex::Assign(), GetCntPosFromContent(), SwNode::GetContentNode(), SwNodeIndex::GetNode(), GetNodeFromContent(), m_nContent, m_nNode, SwPosition::nContent, and SwPosition::nNode.
Referenced by SwCursorShell::MoveFieldType(), and SwCursorShell::SelectNxtPrvHyperlink().
|
inline |
Definition at line 85 of file docfld.hxx.
|
inline |
Definition at line 83 of file docfld.hxx.
bool SetGetExpField::operator< | ( | const SetGetExpField & | rField | ) | const |
Definition at line 201 of file docfld.cxx.
References SwNode::FindFlyStartNode(), SwNode::FindTableNode(), GetCntPosFromContent(), SwNode::GetIndex(), GetNodeFromContent(), SwNode::GetTextNode(), IsFrameBehind(), SwNode::IsTextNode(), m_nContent, m_nNode, and SwNode::StartOfSectionNode().
bool SetGetExpField::operator== | ( | const SetGetExpField & | rField | ) | const |
Definition at line 192 of file docfld.cxx.
References m_CNTNT, m_nContent, m_nNode, and pTextField.
void SetGetExpField::SetBodyPos | ( | const SwContentFrame & | rFrame | ) |
Definition at line 176 of file docfld.cxx.
References GetBodyTextNode(), SwNodes::GetDoc(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), GetNode(), SwDoc::GetNodes(), SwFrame::IsInDocBody(), SwFrame::IsTextFrame(), m_nContent, m_nNode, SwPosition::nContent, and SwPosition::nNode.
Referenced by SwCursorShell::GotoNxtPrvTableFormula(), SwCursorShell::GotoNxtPrvTOXMark(), and SwCursorShell::SelectNxtPrvHyperlink().
union { ... } SetGetExpField::m_CNTNT |
Referenced by GetCntPosFromContent(), GetNodeFromContent(), operator==(), and SetGetExpField().
|
private |
Referenced by GetCntPosFromContent(), GetNodeFromContent(), and SetGetExpField().
|
private |
Definition at line 56 of file docfld.hxx.
Referenced by GetContent(), GetPosOfContent(), operator<(), operator==(), SetBodyPos(), and SetGetExpField().
|
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 54 of file docfld.hxx.
const SwPosition* SetGetExpField::pPos |
Definition at line 50 of file docfld.hxx.
const SwSection* SetGetExpField::pSection |
Definition at line 49 of file docfld.hxx.
const SwTableBox* SetGetExpField::pTBox |
Definition at line 52 of file docfld.hxx.
const SwTextField* SetGetExpField::pTextField |
Definition at line 48 of file docfld.hxx.
Referenced by operator==().
const SwTextINetFormat* SetGetExpField::pTextINet |
Definition at line 53 of file docfld.hxx.
const SwTextTOXMark* SetGetExpField::pTextTOX |
Definition at line 51 of file docfld.hxx.