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

Undo/Redo Paragraph Signature. More...

#include <UndoParagraphSignature.hxx>

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

Public Member Functions

 SwUndoParagraphSigning (SwDoc *pDoc, const css::uno::Reference< css::text::XTextField > &xField, const 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
 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
 

Private Member Functions

void Insert ()
 
void Remove ()
 

Private Attributes

SwDocm_pDoc
 
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...
 
- 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)
 
- Protected Attributes inherited from SwUndo
bool m_bCacheComment
 
boost::optional< OUString > maComment
 

Detailed Description

Undo/Redo Paragraph Signature.

Definition at line 33 of file UndoParagraphSignature.hxx.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements SwUndo.

Definition at line 1702 of file edfcol.cxx.

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

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

Reimplemented from SwUndo.

Definition at line 1710 of file edfcol.cxx.

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

Implements SwUndo.

Definition at line 1694 of file edfcol.cxx.

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

Member Data Documentation

const bool SwUndoParagraphSigning::m_bRemove
private

Definition at line 42 of file UndoParagraphSignature.hxx.

Referenced by RedoImpl(), and UndoImpl().

OUString SwUndoParagraphSigning::m_display
private

Definition at line 41 of file UndoParagraphSignature.hxx.

Referenced by Insert(), and SwUndoParagraphSigning().

SwDoc* SwUndoParagraphSigning::m_pDoc
private

Definition at line 36 of file UndoParagraphSignature.hxx.

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

OUString SwUndoParagraphSigning::m_signature
private

Definition at line 39 of file UndoParagraphSignature.hxx.

Referenced by Insert(), and SwUndoParagraphSigning().

OUString SwUndoParagraphSigning::m_usage
private

Definition at line 40 of file UndoParagraphSignature.hxx.

Referenced by Insert(), and SwUndoParagraphSigning().

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

Definition at line 37 of file UndoParagraphSignature.hxx.

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

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

Definition at line 38 of file UndoParagraphSignature.hxx.

Referenced by Insert().


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