35 , m_nMoveDestNode(rMvPos.nNode.GetIndex())
36 , m_nDestStartContent(0)
37 , m_nDestEndContent(0)
39 , m_nMoveDestContent(rMvPos.nContent.GetIndex())
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)
128 if(
nullptr != pCNd )
190 if( pCNd->HasSwAttrSet() )
193 if( pCNd->IsTextNode() &&
static_cast<SwTextNode*
>(pCNd)->GetpSwpHints() )
194 static_cast<SwTextNode*>(pCNd)->ClearSwpHintsArr(
false );
205 if( aPam.GetNode().IsContentNode() )
206 aPam.GetNode().GetContentNode()->ResetAllAttr();
264 aIdx = aPam.Start()->nNode;
284 *rPam.
GetPoint() = *aPam.GetPoint();
286 *rPam.
GetMark() = *aPam.GetMark();
sal_Int32 m_nDestStartContent
SwPaM & AddUndoRedoPaM(::sw::UndoRedoContext &, bool const bCorrToContent=false) const
virtual sal_Int32 Len() const
SwUndoMove(const SwPaM &, const SwPosition &)
virtual void UndoImpl(::sw::UndoRedoContext &) override
sal_uLong GetIndex() const
SwNode & GetEndOfAutotext() const
Section for all Flys/Header/Footers.
Marks a position in the document model.
void SetDestRange(const SwNodeIndex &rStt, const SwNodeIndex &rEnd, const SwNodeIndex &rInsPos)
set the destination range after the move
std::unique_ptr< SwHistory > m_pHistory
const OUString & GetText() const
SwpHints * GetpSwpHints()
const SwPosition * GetMark() const
virtual bool MoveRange(SwPaM &, SwPosition &, SwMoveFlags)=0
IDocumentContentOperations const & getIDocumentContentOperations() const
bool CanJoinNext(SwNodeIndex *pIdx=nullptr) const
Is it possible to join two nodes? In pIdx the second position can be returned.
virtual SwContentNode * JoinNext() override
sal_uLong GetIndex() const
void DelFootnote(const SwPaM &)
static void RemoveIdxFromRange(SwPaM &rPam, bool bMoveNext)
sal_Int32 m_nMoveDestContent
PaM is Point and Mark: a selection of the document model.
const SwAttrSet * GetpSwAttrSet() const
sal_Int32 m_nInsPosContent
const SwPosition * GetPoint() const
void DelContentIndex(const SwPosition &pMark, const SwPosition &pPoint, DelContentType nDelContentType=DelContentType::AllMask)
SwIndex & Assign(SwIndexReg *, sal_Int32)
SwContentNode * GetContentNode()
virtual void RedoImpl(::sw::UndoRedoContext &) override
Marks a character position inside a document model node.
Marks a node in the document model.
virtual sal_uInt16 ResetAllAttr()
bool HasSwAttrSet() const
virtual bool MoveNodeRange(SwNodeRange &, SwNodeIndex &, SwMoveFlags)=0
sal_uLong m_nDestStartNode
SwTextNode is a paragraph in the document model.
void SetPaM(SwPaM &, bool bCorrToContent=false) const
static void RemoveIdxRel(sal_uLong, const SwPosition &)
sal_uLong m_nMoveDestNode
virtual void SetMark()
Unless this is called, the getter method of Mark will return Point.
sal_Int32 m_nDestEndContent
const sal_Int32 COMPLETE_STRING
sal_uInt16 m_nFootnoteStart
SwTextNode * GetTextNode()
Inline methods from Node.hxx.
SwTextFormatColl * GetTextColl() const