LibreOffice Module sw (master) 1
|
Undo/Redo Paragraph Signature. More...
#include <UndoParagraphSignature.hxx>
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 DateTime & | GetDateTime () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Private Member Functions | |
void | Insert () |
void | Remove () |
Private Attributes | |
SwDoc & | m_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 |
Undo/Redo Paragraph Signature.
Definition at line 39 of file UndoParagraphSignature.hxx.
SwUndoParagraphSigning::SwUndoParagraphSigning | ( | SwDoc & | rDoc, |
css::uno::Reference< css::text::XTextField > | xField, | ||
css::uno::Reference< css::text::XTextContent > | xParent, | ||
const bool | bRemove | ||
) |
Definition at line 1680 of file edfcol.cxx.
References SfxObjectShell::GetBaseModel(), SwDoc::GetDocShell(), m_display, m_rDoc, m_signature, m_usage, m_xField, PARA_SIGN_ADD, and xModel.
|
private |
Definition at line 1725 of file edfcol.cxx.
References SfxObjectShell::GetBaseModel(), SwDoc::GetDocShell(), SwDoc::GetEditShell(), SwDoc::GetIDocumentUndoRedo(), m_display, m_rDoc, m_signature, m_usage, m_xField, m_xParent, and SwEditShell::SetParagraphSignatureValidation().
Referenced by RedoImpl(), and UndoImpl().
|
overridevirtual |
|
private |
Definition at line 1745 of file edfcol.cxx.
References SwDoc::GetEditShell(), SwDoc::GetIDocumentUndoRedo(), m_rDoc, m_xField, and SwEditShell::SetParagraphSignatureValidation().
Referenced by RedoImpl(), and UndoImpl().
|
overridevirtual |
Reimplemented from SwUndo.
Definition at line 1721 of file edfcol.cxx.
|
overridevirtual |
|
private |
Definition at line 48 of file UndoParagraphSignature.hxx.
Referenced by RedoImpl(), and UndoImpl().
|
private |
Definition at line 47 of file UndoParagraphSignature.hxx.
Referenced by Insert(), and SwUndoParagraphSigning().
|
private |
Definition at line 42 of file UndoParagraphSignature.hxx.
Referenced by Insert(), Remove(), and SwUndoParagraphSigning().
|
private |
Definition at line 45 of file UndoParagraphSignature.hxx.
Referenced by Insert(), and SwUndoParagraphSigning().
|
private |
Definition at line 46 of file UndoParagraphSignature.hxx.
Referenced by Insert(), and SwUndoParagraphSigning().
|
private |
Definition at line 43 of file UndoParagraphSignature.hxx.
Referenced by Insert(), Remove(), and SwUndoParagraphSigning().
|
private |
Definition at line 44 of file UndoParagraphSignature.hxx.
Referenced by Insert().