35 , m_nMoveDestNode(rMvPos.GetNodeIndex())
36 , m_nDestStartContent(0)
37 , m_nDestEndContent(0)
39 , m_nMoveDestContent(rMvPos.GetContentIndex())
42 , m_bMoveRedlines(false)
57 0, pTextNd->
GetText().getLength(),
false );
62 if( pEndTextNd && pEndTextNd != pTextNd )
68 0, pEndTextNd->
GetText().getLength(),
false );
75 if (
nullptr != pTextNd)
81 0, pTextNd->
GetText().getLength(),
false );
100 , m_nMoveDestNode(rMvPos.GetIndex())
101 , m_nDestStartContent(0)
102 , m_nDestEndContent(0)
103 , m_nInsPosContent(0)
104 , m_bMoveRedlines(false)
191 static_cast<SwTextNode*
>(pCNd)->ClearSwpHintsArr(
false );
virtual bool MoveRange(SwPaM &, SwPosition &, SwMoveFlags)=0
virtual bool MoveNodeRange(SwNodeRange &, SwNode &, SwMoveFlags)=0
bool HasSwAttrSet() const
bool CanJoinNext(SwNodeIndex *pIdx=nullptr) const
Is it possible to join two nodes? In pIdx the second position can be returned.
virtual sal_Int32 Len() const
const SwAttrSet * GetpSwAttrSet() const
virtual sal_uInt16 ResetAllAttr()
IDocumentContentOperations const & getIDocumentContentOperations() const
Marks a node in the document model.
SwNodeOffset GetIndex() const
Base class of the Writer document model elements.
SwTextNode * GetTextNode()
Inline methods from Node.hxx.
SwNodeOffset GetIndex() const
bool IsContentNode() const
SwContentNode * GetContentNode()
SwNode & GetEndOfAutotext() const
Section for all Flys/Header/Footers.
PaM is Point and Mark: a selection of the document model.
const SwPosition * GetMark() const
SwNode & GetPointNode() const
virtual void SetMark()
Unless this is called, the getter method of Mark will return Point.
const SwPosition * GetPoint() const
const SwPosition * Start() const
SwTextNode is a paragraph in the document model.
virtual SwContentNode * JoinNext() override
SwpHints * GetpSwpHints()
const OUString & GetText() const
SwTextFormatColl * GetTextColl() const
SwPaM & AddUndoRedoPaM(::sw::UndoRedoContext &, bool const bCorrToContent=false) const
void SetPaM(SwPaM &, bool bCorrToContent=false) const
virtual void RedoImpl(::sw::UndoRedoContext &) override
sal_uInt16 m_nFootnoteStart
SwNodeOffset m_nDestEndNode
sal_Int32 m_nMoveDestContent
SwNodeOffset m_nMoveDestNode
void SetDestRange(const SwNode &rStt, const SwNode &rEnd, const SwNodeIndex &rInsPos)
set the destination range after the move
SwNodeOffset m_nInsPosNode
SwUndoMove(const SwPaM &, const SwPosition &)
sal_Int32 m_nInsPosContent
sal_Int32 m_nDestStartContent
sal_Int32 m_nDestEndContent
void DelFootnote(const SwPaM &)
SwNodeOffset m_nDestStartNode
virtual void UndoImpl(::sw::UndoRedoContext &) override
void DelContentIndex(const SwPosition &pMark, const SwPosition &pPoint, DelContentType nDelContentType=DelContentType::AllMask)
std::unique_ptr< SwHistory > m_pHistory
static void RemoveIdxRel(SwNodeOffset, const SwPosition &)
static void RemoveIdxFromRange(SwPaM &rPam, bool bMoveNext)
Marks a position in the document model.
void SetContent(sal_Int32 nContentIndex)
Set content index, only valid to call this if the position points to a SwContentNode subclass.
SwNodeOffset GetNodeIndex() const
constexpr sal_Int32 COMPLETE_STRING