38 bool bUndoGroup = pCursor->
GetNext() != pCursor;
59 if ( !rPaM.HasMark() )
70 const SwNode& rEnd = rPaM.End()->GetNode();
103 if( pCursor->
GetNext() != pCursor )
110 if( rPaM.HasMark() && ( bIsTableMode ||
111 *rPaM.GetPoint() != *rPaM.GetMark() ))
134 if( pCursor->
GetNext() != pCursor )
141 if( rTmpCursor.HasMark() && ( bIsTableMode ||
142 *rTmpCursor.GetPoint() != *rTmpCursor.GetMark() ))
virtual void InsertItemSet(const SwPaM &rRg, const SfxItemSet &, const SetAttrMode nFlags=SetAttrMode::DEFAULT, SwRootFrame const *pLayout=nullptr)=0
virtual bool InsertPoolItem(const SwPaM &rRg, const SfxPoolItem &, const SetAttrMode nFlags=SetAttrMode::DEFAULT, SwRootFrame const *pLayout=nullptr, SwTextAttr **ppNewTextAttr=nullptr)=0
Insert an attribute.
bool HasSelection() const
Does the current cursor create a selection?
SwCursor * GetCursor(bool bMakeTableCursor=true) const
Return pointer to the current shell cursor.
void SetDefault(const SfxPoolItem &)
Set attribute as new default attribute in current document.
IDocumentContentOperations const & getIDocumentContentOperations() const
IDocumentUndoRedo & GetIDocumentUndoRedo()
const SfxPoolItem & GetDefault(sal_uInt16 nFormatHint) const
Get the default attribute in this document.
void ResetAttrs(const SwPaM &rRg, bool bTextAttr=true, const o3tl::sorted_vector< sal_uInt16 > &rAttrs=o3tl::sorted_vector< sal_uInt16 >(), const bool bSendDataChangedEvents=true, SwRootFrame const *pLayout=nullptr)
Reset attributes.
void StartAllAction()
For all views of this document.
const SfxPoolItem & GetDefault(sal_uInt16 nFormatHint) const
Query default attribute of document.
void SetAttrItem(const SfxPoolItem &, SetAttrMode nFlags=SetAttrMode::DEFAULT, const bool bParagraphSetting=false)
void SetAttrSet(const SfxItemSet &, SetAttrMode nFlags=SetAttrMode::DEFAULT, SwPaM *pCursor=nullptr, const bool bParagraphSetting=false)
void SetDefault(const SfxPoolItem &)
Set attribute as new default attribute in document.
void ResetAttr(const o3tl::sorted_vector< sal_uInt16 > &attrs=o3tl::sorted_vector< sal_uInt16 >(), SwPaM *pCursor=nullptr)
Marks a node in the document model.
Base class of the Writer document model elements.
SwTextNode * GetTextNode()
Inline methods from Node.hxx.
PaM is Point and Mark: a selection of the document model.
SwTextNode is a paragraph in the document model.
const SwNodes & GetNodes() const
SwRootFrame * GetLayout() const
ring_container GetRingContainer()
bool GoNext(SwNode *pNd, SwContentIndex *pIdx, SwCursorSkipMode nMode)