LibreOffice Module sw (master)
1
|
Undo/Redo Paragraph Signature. More...
#include <UndoParagraphSignature.hxx>
Public Member Functions | |
SwUndoParagraphSigning (SwDoc &rDoc, 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 |
![]() | |
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 () |
![]() | |
SfxUndoAction () | |
virtual | ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE |
virtual bool | Merge (SfxUndoAction *pNextAction) |
virtual OUString | GetRepeatComment (SfxRepeatTarget &) 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 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) |
![]() | |
virtual SwRewriter | GetRewriter () const |
Returns the rewriter for this object. More... | |
![]() | |
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) |
![]() | |
bool | m_bCacheComment |
std::optional< OUString > | maComment |
Undo/Redo Paragraph Signature.
Definition at line 39 of file UndoParagraphSignature.hxx.
SwUndoParagraphSigning::SwUndoParagraphSigning | ( | SwDoc & | rDoc, |
const css::uno::Reference< css::text::XTextField > & | xField, | ||
const css::uno::Reference< css::text::XTextContent > & | xParent, | ||
const bool | bRemove | ||
) |
Definition at line 1667 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 1712 of file edfcol.cxx.
References IDocumentUndoRedo::DoesUndo(), IDocumentUndoRedo::DoUndo(), 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 1731 of file edfcol.cxx.
References IDocumentUndoRedo::DoesUndo(), IDocumentUndoRedo::DoUndo(), SwDoc::GetEditShell(), SwDoc::GetIDocumentUndoRedo(), m_rDoc, m_xField, and SwEditShell::SetParagraphSignatureValidation().
Referenced by RedoImpl(), and UndoImpl().
|
overridevirtual |
Reimplemented from SwUndo.
Definition at line 1708 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().