LibreOffice Module sw (master)
1
|
#include <SwUndoFmt.hxx>
Public Member Functions | |
SwUndoTextFormatCollCreate (SwTextFormatColl *pNew, SwTextFormatColl const *pDerivedFrom, SwDoc &rDoc) | |
virtual SwFormat * | Create (SwFormat *pDerivedFrom) override |
virtual void | Delete () override |
virtual SwFormat * | Find (const OUString &rName) const override |
![]() | |
SwUndoFormatCreate (SwUndoId nUndoId, SwFormat *pNew, SwFormat const *pDerivedFrom, SwDoc &rDoc) | |
virtual | ~SwUndoFormatCreate () override |
virtual void | UndoImpl (::sw::UndoRedoContext &) override |
virtual void | RedoImpl (::sw::UndoRedoContext &) override |
virtual SwRewriter | GetRewriter () const override |
Returns the rewriter for this object. More... | |
![]() | |
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 |
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 void | RepeatImpl (::sw::RepeatContext &) |
![]() | |
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) |
![]() | |
SwFormat * | m_pNew |
OUString | m_sDerivedFrom |
SwDoc & | m_rDoc |
OUString | m_sNewName |
SfxItemSet * | m_pNewSet |
sal_uInt16 | m_nId |
bool | m_bAuto |
![]() | |
bool | m_bCacheComment |
std::optional< OUString > | maComment |
Definition at line 102 of file SwUndoFmt.hxx.
SwUndoTextFormatCollCreate::SwUndoTextFormatCollCreate | ( | SwTextFormatColl * | pNew, |
SwTextFormatColl const * | pDerivedFrom, | ||
SwDoc & | rDoc | ||
) |
Definition at line 191 of file SwUndoFmt.cxx.
Implements SwUndoFormatCreate.
Reimplemented in SwUndoCondTextFormatCollCreate.
Definition at line 196 of file SwUndoFmt.cxx.
References SwUndoFormatCreate::m_rDoc, SwUndoFormatCreate::m_sNewName, and SwDoc::MakeTextFormatColl().
|
overridevirtual |
Implements SwUndoFormatCreate.
Definition at line 201 of file SwUndoFmt.cxx.
References SwDoc::DelTextFormatColl(), SwUndoFormatCreate::m_pNew, and SwUndoFormatCreate::m_rDoc.
|
overridevirtual |
Implements SwUndoFormatCreate.
Definition at line 206 of file SwUndoFmt.cxx.
References SwDoc::FindTextFormatCollByName(), and SwUndoFormatCreate::m_rDoc.