|
LibreOffice Module sw (master) 1
|
#include <docfld.hxx>
Public Member Functions | |
| SetGetExpField (const SwNode &rNd, const SwTextField *pField=nullptr, std::optional< sal_Int32 > oContentIdx=std::nullopt, sal_uInt16 nPageNumber=0) | |
| SetGetExpField (const SwNode &rNd, const SwTextINetFormat &rINet) | |
| SetGetExpField (const SwSectionNode &rSectNode, const SwPosition *pPos=nullptr, sal_uInt16 nPageNumber=0) | |
| SetGetExpField (::sw::mark::IBookmark const &rBookmark, SwPosition const *pPos=nullptr, sal_uInt16 nPageNumber=0) | |
| SetGetExpField (const SwTableBox &rTableBox) | |
| SetGetExpField (const SwNode &rNd, 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 SwTextField * | GetTextField () const |
| const SwSection * | GetSection () const |
| ::sw::mark::IBookmark const * | GetBookmark () const |
| const SwTextINetFormat * | GetINetFormat () const |
| const SwFlyFrameFormat * | GetFlyFormat () const |
| SwNodeOffset | GetNode () const |
| sal_Int32 | GetContent () const |
| const void * | GetPointer () const |
| void | GetPosOfContent (SwPosition &rPos) const |
| const SwNode * | GetNodeFromContent () const |
| sal_Int32 | GetCntPosFromContent () const |
| void | SetBodyPos (const SwContentFrame &rFrame) |
Private Types | |
| enum | SetGetExpFieldType { TEXTFIELD , TEXTTOXMARK , SECTIONNODE , BOOKMARK , CRSRPOS , TABLEBOX , TEXTINET , FLYFRAME } |
Private Attributes | |
| sal_uInt16 | m_nPageNumber = 0 |
| SwNodeOffset | m_nNode |
| union { | |
| const SwTextField * pTextField | |
| const SwSection * pSection | |
| const SwPosition * pPos | |
| const SwTextTOXMark * pTextTOX | |
| const SwTableBox * pTBox | |
| const SwTextINetFormat * pTextINet | |
| const SwFlyFrameFormat * pFlyFormat | |
| ::sw::mark::IBookmark const * pBookmark | |
| } | m_CNTNT |
| sal_Int32 | m_nContent |
| enum SetGetExpField::SetGetExpFieldType | m_eSetGetExpFieldType |
Definition at line 46 of file docfld.hxx.
|
private |
| Enumerator | |
|---|---|
| TEXTFIELD | |
| TEXTTOXMARK | |
| SECTIONNODE | |
| BOOKMARK | |
| CRSRPOS | |
| TABLEBOX | |
| TEXTINET | |
| FLYFRAME | |
Definition at line 62 of file docfld.hxx.
| SetGetExpField::SetGetExpField | ( | const SwNode & | rNd, |
| const SwTextField * | pField = nullptr, |
||
| std::optional< sal_Int32 > | oContentIdx = std::nullopt, |
||
| sal_uInt16 | nPageNumber = 0 |
||
| ) |
Definition at line 67 of file docfld.cxx.
References SwNode::GetIndex(), SwTextAttr::GetStart(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, m_nNode, and TEXTFIELD.
| SetGetExpField::SetGetExpField | ( | const SwNode & | rNd, |
| const SwTextINetFormat & | rINet | ||
| ) |
Definition at line 85 of file docfld.cxx.
References SwNode::GetIndex(), SwTextAttr::GetStart(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, m_nNode, and TEXTINET.
| SetGetExpField::SetGetExpField | ( | const SwSectionNode & | rSectNode, |
| const SwPosition * | pPos = nullptr, |
||
| sal_uInt16 | nPageNumber = 0 |
||
| ) |
Definition at line 97 of file docfld.cxx.
References SwPosition::GetContentIndex(), SwNode::GetIndex(), SwPosition::GetNodeIndex(), SwSectionNode::GetSection(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, m_nNode, pPos, and SECTIONNODE.
| SetGetExpField::SetGetExpField | ( | ::sw::mark::IBookmark const & | rBookmark, |
| SwPosition const * | pPos = nullptr, |
||
| sal_uInt16 | nPageNumber = 0 |
||
| ) |
Definition at line 117 of file docfld.cxx.
References BOOKMARK, SwPosition::GetContentIndex(), sw::mark::IMark::GetMarkStart(), SwPosition::GetNodeIndex(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, m_nNode, and pPos.
| SetGetExpField::SetGetExpField | ( | const SwTableBox & | rTableBox | ) |
Definition at line 137 of file docfld.cxx.
References SwNode::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwTableBox::GetSttNd(), SwNodes::GoNext(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, m_nNode, and TABLEBOX.
| SetGetExpField::SetGetExpField | ( | const SwNode & | rNd, |
| const SwTextTOXMark & | rTOX | ||
| ) |
Definition at line 153 of file docfld.cxx.
References SwNode::GetIndex(), SwTextAttr::GetStart(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, m_nNode, and TEXTTOXMARK.
| SetGetExpField::SetGetExpField | ( | const SwPosition & | rPos | ) |
Definition at line 162 of file docfld.cxx.
References CRSRPOS, SwPosition::GetContentIndex(), SwPosition::GetNodeIndex(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, and m_nNode.
| SetGetExpField::SetGetExpField | ( | const SwFlyFrameFormat & | rFlyFormat, |
| const SwPosition * | pPos | ||
| ) |
Definition at line 170 of file docfld.cxx.
References FLYFRAME, SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwPosition::GetContentIndex(), SwNodeIndex::GetIndex(), SwPosition::GetNodeIndex(), m_CNTNT, m_eSetGetExpFieldType, m_nContent, m_nNode, and pPos.
|
inline |
Definition at line 98 of file docfld.hxx.
References BOOKMARK, m_CNTNT, and m_eSetGetExpFieldType.
| sal_Int32 SetGetExpField::GetCntPosFromContent | ( | ) | const |
Definition at line 342 of file docfld.cxx.
References BOOKMARK, CRSRPOS, m_CNTNT, m_eSetGetExpFieldType, TEXTFIELD, TEXTINET, and TEXTTOXMARK.
Referenced by GetPosOfContent(), and operator<().
|
inline |
Definition at line 106 of file docfld.hxx.
References m_nContent.
|
inline |
Definition at line 102 of file docfld.hxx.
References FLYFRAME, m_CNTNT, and m_eSetGetExpFieldType.
Referenced by SwCursorShell::SelectNxtPrvHyperlink().
|
inline |
Definition at line 100 of file docfld.hxx.
References m_CNTNT, m_eSetGetExpFieldType, and TEXTINET.
Referenced by SwCursorShell::SelectNxtPrvHyperlink().
|
inline |
Definition at line 105 of file docfld.hxx.
References m_nNode.
Referenced by SwCursorShell::SelectNxtPrvHyperlink().
| const SwNode * SetGetExpField::GetNodeFromContent | ( | ) | const |
Definition at line 294 of file docfld.cxx.
References BOOKMARK, CRSRPOS, FLYFRAME, SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNodes::GoNext(), m_CNTNT, m_eSetGetExpFieldType, SECTIONNODE, TABLEBOX, TEXTFIELD, TEXTINET, and TEXTTOXMARK.
Referenced by GetPosOfContent(), operator<(), and SwCursorShell::SelectNxtPrvHyperlink().
|
inline |
Definition at line 107 of file docfld.hxx.
References m_CNTNT.
| void SetGetExpField::GetPosOfContent | ( | SwPosition & | rPos | ) | const |
Definition at line 188 of file docfld.cxx.
References SwPosition::Assign(), GetCntPosFromContent(), SwNode::GetContentNode(), GetNodeFromContent(), m_nContent, and m_nNode.
Referenced by SwCursorShell::MoveFieldType(), and SwCursorShell::SelectNxtPrvHyperlink().
|
inline |
Definition at line 96 of file docfld.hxx.
References m_CNTNT, m_eSetGetExpFieldType, and SECTIONNODE.
|
inline |
Definition at line 94 of file docfld.hxx.
References m_CNTNT, m_eSetGetExpFieldType, and TEXTFIELD.
| bool SetGetExpField::operator< | ( | const SetGetExpField & | rField | ) | const |
Definition at line 229 of file docfld.cxx.
References SwNode::FindFlyStartNode(), SwNode::FindTableNode(), GetCntPosFromContent(), SwNode::GetIndex(), GetNodeFromContent(), SwNode::GetTextNode(), IsFrameBehind(), SwNode::IsTextNode(), m_nContent, m_nNode, m_nPageNumber, and SwNode::StartOfSectionNode().
| bool SetGetExpField::operator== | ( | const SetGetExpField & | rField | ) | const |
Definition at line 220 of file docfld.cxx.
References m_CNTNT, m_nContent, m_nNode, and pTextField.
| void SetGetExpField::SetBodyPos | ( | const SwContentFrame & | rFrame | ) |
Definition at line 204 of file docfld.cxx.
References GetBodyTextNode(), SwPosition::GetContentIndex(), SwNodes::GetDoc(), SwNoTextFrame::GetNode(), SwPosition::GetNodeIndex(), SwNodeIndex::GetNodes(), SwTextFrame::GetTextNodeFirst(), SwFrame::IsInDocBody(), SwFrame::IsTextFrame(), m_nContent, and m_nNode.
Referenced by SwCursorShell::GotoNxtPrvTableFormula(), SwCursorShell::GotoNxtPrvTOXMark(), and SwCursorShell::SelectNxtPrvHyperlink().
| union { ... } SetGetExpField::m_CNTNT |
|
private |
Referenced by GetBookmark(), GetCntPosFromContent(), GetFlyFormat(), GetINetFormat(), GetNodeFromContent(), GetSection(), GetTextField(), and SetGetExpField().
|
private |
Definition at line 61 of file docfld.hxx.
Referenced by GetContent(), GetPosOfContent(), operator<(), operator==(), SetBodyPos(), and SetGetExpField().
|
private |
Definition at line 50 of file docfld.hxx.
Referenced by GetNode(), GetPosOfContent(), operator<(), operator==(), SetBodyPos(), and SetGetExpField().
|
private |
Definition at line 49 of file docfld.hxx.
Referenced by operator<().
| ::sw::mark::IBookmark const* SetGetExpField::pBookmark |
Definition at line 59 of file docfld.hxx.
| const SwFlyFrameFormat* SetGetExpField::pFlyFormat |
Definition at line 58 of file docfld.hxx.
| const SwPosition* SetGetExpField::pPos |
Definition at line 54 of file docfld.hxx.
Referenced by SetGetExpField().
| const SwSection* SetGetExpField::pSection |
Definition at line 53 of file docfld.hxx.
| const SwTableBox* SetGetExpField::pTBox |
Definition at line 56 of file docfld.hxx.
| const SwTextField* SetGetExpField::pTextField |
Definition at line 52 of file docfld.hxx.
Referenced by operator==().
| const SwTextINetFormat* SetGetExpField::pTextINet |
Definition at line 57 of file docfld.hxx.
| const SwTextTOXMark* SetGetExpField::pTextTOX |
Definition at line 55 of file docfld.hxx.