LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwUndoParagraphSigning Class Referencefinal

Undo/Redo Paragraph Signature. More...

#include <UndoParagraphSignature.hxx>

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

Public Member Functions

 SwUndoParagraphSigning (SwDoc &rDoc, css::uno::Reference< css::text::XTextField > xField, css::uno::Reference< css::text::XTextContent > xParent, const bool bRemove)
 
virtual void UndoImpl (::sw::UndoRedoContext &) override
 
virtual void RedoImpl (::sw::UndoRedoContext &) override
 
virtual void RepeatImpl (::sw::RepeatContext &) override
 
- Public Member Functions inherited from SwUndo
virtual void UndoImpl (::sw::UndoRedoContext &)=0
 
virtual void RedoImpl (::sw::UndoRedoContext &)=0
 
 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 void Undo ()
 
virtual void UndoWithContext (SfxUndoContext &i_context)
 
virtual void Redo ()
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual void Repeat (SfxRepeatTarget &)
 
virtual bool CanRepeat (SfxRepeatTarget &) const
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
virtual OUString GetComment () const
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
virtual ViewShellId GetViewShellId () const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Member Functions

void Insert ()
 
void Remove ()
 

Private Attributes

SwDocm_rDoc
 
css::uno::Reference< css::text::XTextField > m_xField
 
css::uno::Reference< css::text::XTextContent > m_xParent
 
OUString m_signature
 
OUString m_usage
 
OUString m_display
 
const bool m_bRemove
 

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)
 
- Protected Member Functions inherited from SwUndo
virtual SwRewriter GetRewriter () const
 Returns the rewriter for this object. More...
 
virtual void RepeatImpl (::sw::RepeatContext &)
 
- Static Protected Member Functions inherited from SwUndo
static void RemoveIdxFromSection (SwDoc &, SwNodeOffset nSttIdx, const SwNodeOffset *pEndIdx=nullptr)
 
static void RemoveIdxFromRange (SwPaM &rPam, bool bMoveNext)
 
static void RemoveIdxRel (SwNodeOffset, const SwPosition &)
 
static bool CanRedlineGroup (SwRedlineSaveDatas &rCurr, const SwRedlineSaveDatas &rCheck, bool bCurrIsEnd)
 
- Protected Attributes inherited from SwUndo
bool m_bCacheComment
 
std::optional< OUString > maComment
 

Detailed Description

Undo/Redo Paragraph Signature.

Definition at line 39 of file UndoParagraphSignature.hxx.

Constructor & Destructor Documentation

◆ SwUndoParagraphSigning()

SwUndoParagraphSigning::SwUndoParagraphSigning ( SwDoc rDoc,
css::uno::Reference< css::text::XTextField >  xField,
css::uno::Reference< css::text::XTextContent >  xParent,
const bool  bRemove 
)

Member Function Documentation

◆ Insert()

void SwUndoParagraphSigning::Insert ( )
private

◆ RedoImpl()

void SwUndoParagraphSigning::RedoImpl ( ::sw::UndoRedoContext )
overridevirtual

Implements SwUndo.

Definition at line 1713 of file edfcol.cxx.

References Insert(), m_bRemove, and Remove().

◆ Remove()

void SwUndoParagraphSigning::Remove ( )
private

◆ RepeatImpl()

void SwUndoParagraphSigning::RepeatImpl ( ::sw::RepeatContext )
overridevirtual

Reimplemented from SwUndo.

Definition at line 1721 of file edfcol.cxx.

◆ UndoImpl()

void SwUndoParagraphSigning::UndoImpl ( ::sw::UndoRedoContext )
overridevirtual

Implements SwUndo.

Definition at line 1705 of file edfcol.cxx.

References Insert(), m_bRemove, and Remove().

Member Data Documentation

◆ m_bRemove

const bool SwUndoParagraphSigning::m_bRemove
private

Definition at line 48 of file UndoParagraphSignature.hxx.

Referenced by RedoImpl(), and UndoImpl().

◆ m_display

OUString SwUndoParagraphSigning::m_display
private

Definition at line 47 of file UndoParagraphSignature.hxx.

Referenced by Insert(), and SwUndoParagraphSigning().

◆ m_rDoc

SwDoc& SwUndoParagraphSigning::m_rDoc
private

Definition at line 42 of file UndoParagraphSignature.hxx.

Referenced by Insert(), Remove(), and SwUndoParagraphSigning().

◆ m_signature

OUString SwUndoParagraphSigning::m_signature
private

Definition at line 45 of file UndoParagraphSignature.hxx.

Referenced by Insert(), and SwUndoParagraphSigning().

◆ m_usage

OUString SwUndoParagraphSigning::m_usage
private

Definition at line 46 of file UndoParagraphSignature.hxx.

Referenced by Insert(), and SwUndoParagraphSigning().

◆ m_xField

css::uno::Reference<css::text::XTextField> SwUndoParagraphSigning::m_xField
private

Definition at line 43 of file UndoParagraphSignature.hxx.

Referenced by Insert(), Remove(), and SwUndoParagraphSigning().

◆ m_xParent

css::uno::Reference<css::text::XTextContent> SwUndoParagraphSigning::m_xParent
private

Definition at line 44 of file UndoParagraphSignature.hxx.

Referenced by Insert().


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