LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
SwUndoInserts Class Reference

#include <undobj.hxx>

Inheritance diagram for SwUndoInserts:
[legend]
Collaboration diagram for SwUndoInserts:
[legend]

Public Member Functions

virtual ~SwUndoInserts () override
 
virtual void UndoImpl (::sw::UndoRedoContext &) override
 
virtual void RedoImpl (::sw::UndoRedoContext &) override
 
virtual void RepeatImpl (::sw::RepeatContext &) override
 
void SetInsertRange (const SwPaM &, bool bScanFlys=true, bool bSttWasTextNd=true)
 
- Public Member Functions inherited from SwUndo
 SwUndo (SwUndoId const nId, const SwDoc *pDoc)
 
virtual ~SwUndo () override
 
SwUndoId GetId () const
 
virtual OUString GetComment () const override
 Returns textual comment for this undo object. More...
 
ViewShellId GetViewShellId () const override
 See SfxUndoAction::GetViewShellId(). More...
 
RedlineFlags GetRedlineFlags () const
 
void SetRedlineFlags (RedlineFlags eMode)
 
bool IsDelBox () const
 
void IgnoreRepeat ()
 
- Public Member Functions inherited from SfxUndoAction
 SfxUndoAction ()
 
virtual ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
- Public Member Functions inherited from SwUndRng
 SwUndRng ()
 
 SwUndRng (const SwPaM &)
 
void SetValues (const SwPaM &rPam)
 
void SetPaM (SwPaM &, bool bCorrToContent=false) const
 
SwPaMAddUndoRedoPaM (::sw::UndoRedoContext &, bool const bCorrToContent=false) const
 

Protected Member Functions

 SwUndoInserts (SwUndoId nUndoId, const SwPaM &)
 
- Protected Member Functions inherited from SwUndo
virtual SwRewriter GetRewriter () const
 Returns the rewriter for this object. More...
 

Protected Attributes

sal_uLong nNdDiff
 
std::unique_ptr< SwNodeIndexm_pUndoNodeIndex
 start of Content in UndoNodes for Redo More...
 
sal_uInt16 nSetPos
 
- Protected Attributes inherited from SwUndo
bool bCacheComment
 
boost::optional< OUString > maComment
 

Private Attributes

SwTextFormatCollpTextFormatColl
 
SwTextFormatCollpLastNdColl
 
std::unique_ptr< std::vector< SwFrameFormat * > > pFrameFormats
 
std::vector< std::shared_ptr< SwUndoInsLayFormat > > m_FlyUndos
 
std::unique_ptr< SwRedlineDatapRedlData
 
bool bSttWasTextNd
 
- Private Attributes inherited from SwUndoSaveContent
std::unique_ptr< SwHistorypHistory
 

Additional Inherited Members

- Static Public Member Functions inherited from SwUndo
static bool FillSaveData (const SwPaM &rRange, SwRedlineSaveDatas &rSData, bool bDelRange=true, bool bCopyNext=true)
 
static bool FillSaveDataForFormat (const SwPaM &, SwRedlineSaveDatas &)
 
static void SetSaveData (SwDoc &rDoc, SwRedlineSaveDatas &rSData)
 
static bool HasHiddenRedlines (const SwRedlineSaveDatas &rSData)
 
- Public Attributes inherited from SwUndRng
sal_uLong nSttNode
 
sal_uLong nEndNode
 
sal_Int32 nSttContent
 
sal_Int32 nEndContent
 
- Static Protected Member Functions inherited from SwUndo
static void RemoveIdxFromSection (SwDoc &, sal_uLong nSttIdx, const sal_uLong *pEndIdx=nullptr)
 
static void RemoveIdxFromRange (SwPaM &rPam, bool bMoveNext)
 
static void RemoveIdxRel (sal_uLong, const SwPosition &)
 
static bool CanRedlineGroup (SwRedlineSaveDatas &rCurr, const SwRedlineSaveDatas &rCheck, bool bCurrIsEnd)
 
- Private Member Functions inherited from SwUndoSaveContent
 SwUndoSaveContent ()
 
 ~SwUndoSaveContent () COVERITY_NOEXCEPT_FALSE
 
void DelContentIndex (const SwPosition &pMark, const SwPosition &pPoint, DelContentType nDelContentType=DelContentType::AllMask)
 
- Static Private Member Functions inherited from SwUndoSaveContent
static void MoveToUndoNds (SwPaM &rPam, SwNodeIndex *pNodeIdx, sal_uLong *pEndNdIdx=nullptr)
 
static void MoveFromUndoNds (SwDoc &rDoc, sal_uLong nNodeIdx, SwPosition &rInsPos, const sal_uLong *pEndNdIdx=nullptr, bool bForceCreateFrames=false)
 
static bool MovePtBackward (SwPaM &rPam)
 
static void MovePtForward (SwPaM &rPam, bool bMvBkwrd)
 

Detailed Description

Definition at line 231 of file undobj.hxx.

Constructor & Destructor Documentation

SwUndoInserts::SwUndoInserts ( SwUndoId  nUndoId,
const SwPaM rPam 
)
protected
SwUndoInserts::~SwUndoInserts ( )
overridevirtual

Member Function Documentation

void SwUndoInserts::RedoImpl ( ::sw::UndoRedoContext rContext)
overridevirtual
void SwUndoInserts::RepeatImpl ( ::sw::RepeatContext rContext)
overridevirtual
void SwUndoInserts::SetInsertRange ( const SwPaM rPam,
bool  bScanFlys = true,
bool  bSttWasTextNd = true 
)
void SwUndoInserts::UndoImpl ( ::sw::UndoRedoContext rContext)
overridevirtual

Member Data Documentation

bool SwUndoInserts::bSttWasTextNd
private

Definition at line 237 of file undobj.hxx.

Referenced by RedoImpl(), SetInsertRange(), and UndoImpl().

std::vector< std::shared_ptr<SwUndoInsLayFormat> > SwUndoInserts::m_FlyUndos
private

Definition at line 235 of file undobj.hxx.

Referenced by RedoImpl(), SetInsertRange(), and UndoImpl().

std::unique_ptr<SwNodeIndex> SwUndoInserts::m_pUndoNodeIndex
protected

start of Content in UndoNodes for Redo

Definition at line 241 of file undobj.hxx.

Referenced by RedoImpl(), UndoImpl(), and ~SwUndoInserts().

sal_uLong SwUndoInserts::nNdDiff
protected

Definition at line 239 of file undobj.hxx.

Referenced by RedoImpl(), and UndoImpl().

sal_uInt16 SwUndoInserts::nSetPos
protected

Definition at line 242 of file undobj.hxx.

Referenced by RedoImpl(), and UndoImpl().

std::unique_ptr<std::vector<SwFrameFormat*> > SwUndoInserts::pFrameFormats
private

Definition at line 234 of file undobj.hxx.

Referenced by SetInsertRange(), SwUndoInserts(), and ~SwUndoInserts().

SwTextFormatColl * SwUndoInserts::pLastNdColl
private

Definition at line 233 of file undobj.hxx.

Referenced by RedoImpl(), and UndoImpl().

std::unique_ptr<SwRedlineData> SwUndoInserts::pRedlData
private

Definition at line 236 of file undobj.hxx.

Referenced by RedoImpl(), SwUndoInserts(), and ~SwUndoInserts().

SwTextFormatColl* SwUndoInserts::pTextFormatColl
private

Definition at line 233 of file undobj.hxx.

Referenced by RedoImpl(), SwUndoInserts(), and UndoImpl().


The documentation for this class was generated from the following files: