20#ifndef INCLUDED_SW_SOURCE_CORE_INC_UNDOCORE_HXX
21#define INCLUDED_SW_SOURCE_CORE_INC_UNDOCORE_HXX
25#include <rtl/ustring.hxx>
40 class IShellCursorSupplier;
62#if OSL_DEBUG_LEVEL > 0
70 std::vector<std::unique_ptr<SwRedlineSaveData>>
m_Data;
78 void push_back(std::unique_ptr<SwRedlineSaveData> pNew) {
m_Data.push_back(std::move(pNew)); }
123 :
public SfxRepeatTarget
140 friend class ::sw::UndoManager;
141 friend class ::SwUndoDelete;
167 const bool bResetListAttrs );
269ShortenString(
const OUString & rStr, sal_Int32 nLength, std::u16string_view aFillStr);
OUString DenoteSpecialCharacters(std::u16string_view aStr, bool bQuoted=true)
Denotes special characters in a string.
OUString ShortenString(const OUString &rStr, sal_Int32 nLength, std::u16string_view aFillStr)
Shortens a string to a maximum length.
const int nUndoStringLength
Marks a node in the document model.
PaM is Point and Mark: a selection of the document model.
const SwNodeIndex * GetMvSttIdx() const
sal_uInt16 m_nRedlineCount
void RedlineToDoc(SwPaM const &rPam)
SwRedlineSaveData(SwComparePosition eCmpPos, const SwPosition &rSttPos, const SwPosition &rEndPos, SwRangeRedline &rRedl, bool bCopyNext)
const SwRedlineSaveData & operator[](size_t const nIdx) const
void push_back(std::unique_ptr< SwRedlineSaveData > pNew)
std::vector< std::unique_ptr< SwRedlineSaveData > > m_Data
SwRedlineSaveData & operator[](size_t const nIdx)
SwUndoOutlineEdit(const SwNumRule &rOldRule, const SwNumRule &rNewRule, const SwDoc &rDoc)
virtual void RedoImpl(::sw::UndoRedoContext &) override
virtual void RepeatImpl(::sw::RepeatContext &) override
virtual void UndoImpl(::sw::UndoRedoContext &) override
virtual void RedoImpl(::sw::UndoRedoContext &) override
virtual void UndoImpl(::sw::UndoRedoContext &) override
virtual void RepeatImpl(::sw::RepeatContext &) override
SwUndoOutlineLeftRight(const SwPaM &rPam, short nOffset)
const SwNodeIndex * GetMvSttIdx() const
The Undo actions need to create new Shell cursors.
RepeatContext(SwDoc &rDoc, SwPaM &rPaM)
SwFrameFormat * m_pSelFormat
IShellCursorSupplier & m_rCursorSupplier
IShellCursorSupplier & GetCursorSupplier()
void GetSelections(SwFrameFormat *&o_rpSelFormat, SdrMarkList *&o_rpMarkList)
size_t GetUndoOffset() override
UndoRedoContext(SwDoc &rDoc, IShellCursorSupplier &rCursorSupplier)
void SetUndoOffset(size_t nUndoOffset)
SdrMarkList * m_pMarkList
void SetSelections(SwFrameFormat *const pSelFormat, SdrMarkList *const pMarkList)
Dialog to specify the properties of date form field.
Marks a position in the document model.