20#ifndef INCLUDED_SW_SOURCE_CORE_INC_UNDOINSERT_HXX
21#define INCLUDED_SW_SOURCE_CORE_INC_UNDOINSERT_HXX
27#include <rtl/ustring.hxx>
38namespace sw {
class DocumentContentOperationsManager; }
57 friend class ::sw::DocumentContentOperationsManager;
69 bool bWDelim =
true );
97 OUString
const& sOld, OUString
const& sNew);
104 OUString
const& rInsert,
bool const bRegExp);
192 OUString aNumberSeparator,
193 const bool bBefore,
const sal_uInt16 nId,
194 OUString aCharacterStyle,
SwRewriter MakeUndoReplaceRewriter(sal_uLong const occurrences, OUString const &sOld, OUString const &sNew)
Base class of the Writer document model elements.
PaM is Point and Mark: a selection of the document model.
struct SwUndoInsertLabel::@5::@8 NODE
OUString m_sNumberSeparator
virtual ~SwUndoInsertLabel() override
SwUndoDelete * pUndoInsNd
void SetFlys(SwFrameFormat &rOldFly, SfxItemSet const &rChgSet, SwFrameFormat &rNewFly)
virtual void RedoImpl(::sw::UndoRedoContext &) override
static SwRewriter CreateRewriter(const OUString &rStr)
virtual SwRewriter GetRewriter() const override
Returns the rewriter of this undo object.
virtual void UndoImpl(::sw::UndoRedoContext &) override
virtual void RepeatImpl(::sw::RepeatContext &) override
SwUndoInsertLabel(const SwLabelType eTyp, OUString rText, OUString aSeparator, OUString aNumberSeparator, const bool bBefore, const sal_uInt16 nId, OUString aCharacterStyle, const bool bCpyBrd, const SwDoc *pDoc)
SwUndoInsLayFormat * pUndoFly
void SetDrawObj(SdrLayerID nLayerId)
struct SwUndoInsertLabel::@5::@7 OBJECT
void SetNodePos(SwNodeOffset nNd)
OUString m_sCharacterStyle
SwUndoFormatAttr * pUndoAttr
Typing one or more characters to a single paragraph.
std::optional< OUString > maText
const SwInsertFlags m_nInsertFlags
virtual void RedoImpl(::sw::UndoRedoContext &) override
virtual SwRewriter GetRewriter() const override
Returns rewriter for this undo object.
virtual ~SwUndoInsert() override
std::optional< OUString > maUndoText
std::optional< SwNodeIndex > m_oUndoNodeIndex
start of Content in UndoNodes for Redo
virtual void UndoImpl(::sw::UndoRedoContext &) override
virtual void RepeatImpl(::sw::RepeatContext &) override
bool IsIndependent(const SwUndoInsert &rOther) const
bool CanGrouping(sal_Unicode cIns)
void Init(const SwNode &rNode)
SwUndoInsert(const SwNode &rNode, sal_Int32 nContent, sal_Int32 nLen, const SwInsertFlags nInsertFlags, bool bWDelim=true)
std::optional< OUString > GetTextFromDoc() const
std::unique_ptr< SwRedlineData > m_pRedlData
Handles the undo/redo of the 'Replace...' context menu item for an image.
virtual void UndoImpl(::sw::UndoRedoContext &) override
void SaveGraphicData(const SwGrfNode &)
std::optional< Graphic > moGraphic
virtual ~SwUndoReRead() override
std::optional< OUString > maFltr
void SetAndSave(::sw::UndoRedoContext &)
virtual void RedoImpl(::sw::UndoRedoContext &) override
std::optional< OUString > maNm
SwUndoReRead(const SwPaM &rPam, const SwGrfNode &pGrfNd)
virtual SwRewriter GetRewriter() const override
Returns the rewriter of this undo object.
virtual void RedoImpl(::sw::UndoRedoContext &) override
SwUndoReplace(SwPaM const &rPam, OUString const &rInsert, bool const bRegExp)
std::unique_ptr< Impl > m_pImpl
virtual ~SwUndoReplace() override
virtual void UndoImpl(::sw::UndoRedoContext &) override
void SetEnd(const SwPaM &rPam)
Dialog to specify the properties of date form field.
Marks a position in the document model.