39 const ::sw::mark::IMark& rBkmk )
40 :
SwUndo( nUndoId, &rBkmk.GetMarkPos().GetDoc() )
110 , m_sOldName(
std::move( aOldName ))
111 , m_sNewName(
std::move( aNewName ))
121 static const OUString sStart =
SwResId(STR_START_QUOTE);
122 static const OUString sEnd =
SwResId(STR_END_QUOTE);
123 return sStart + rName + sEnd;
wrapper iterator: wraps iterator of implementation while hiding MarkBase class; only IMark instances ...
Provides access to the marks of a document.
virtual bool renameMark(::sw::mark::IMark *io_pMark, const OUString &rNewName)=0
Renames an existing Mark, if possible.
virtual const_iterator_t getAllMarksEnd() const =0
returns a STL-like random access iterator to the end of the sequence of marks.
virtual const_iterator_t findMark(const OUString &rMark) const =0
Finds a mark by name.
virtual std::unique_ptr< ILazyDeleter > deleteMark(const IDocumentMarkAccess::const_iterator_t &ppMark, bool isMoveNodes)=0
Deletes a mark.
virtual const_iterator_t getAllMarksBegin() const =0
returns a STL-like random access iterator to the begin of the sequence of marks.
IDocumentMarkAccess * getIDocumentMarkAccess()
History object containing all information used during undo / redo of checkbox and drop-down form fiel...
History object containing all information used during undo / redo of text form field insertion.
void AddRule(SwUndoArg eWhat, const OUString &rWith)
const std::unique_ptr< SwHistoryBookmark > m_pHistoryBookmark
SwUndoBookmark(SwUndoId nUndoId, const ::sw::mark::IMark &)
virtual ~SwUndoBookmark() override
virtual SwRewriter GetRewriter() const override
Returns the rewriter for this undo object.
SwUndoDelNoTextFieldmark(const ::sw::mark::IFieldmark &rFieldmark)
~SwUndoDelNoTextFieldmark()
virtual void UndoImpl(::sw::UndoRedoContext &) override
const std::unique_ptr< SwHistoryNoTextFieldmark > m_pHistoryNoTextFieldmark
virtual void RedoImpl(::sw::UndoRedoContext &) override
const std::unique_ptr< SwHistoryTextFieldmark > m_pHistoryTextFieldmark
SwUndoDelTextFieldmark(const ::sw::mark::IFieldmark &rFieldmark)
virtual void UndoImpl(::sw::UndoRedoContext &) override
~SwUndoDelTextFieldmark()
virtual void RedoImpl(::sw::UndoRedoContext &) override
virtual void UndoImpl(::sw::UndoRedoContext &) override
SwUndoDeleteBookmark(const ::sw::mark::IMark &)
virtual void RedoImpl(::sw::UndoRedoContext &) override
virtual void UndoImpl(::sw::UndoRedoContext &) override
virtual void RedoImpl(::sw::UndoRedoContext &) override
SwUndoInsBookmark(const ::sw::mark::IMark &)
virtual void UndoImpl(::sw::UndoRedoContext &) override
const std::unique_ptr< SwHistoryNoTextFieldmark > m_pHistoryNoTextFieldmark
SwUndoInsNoTextFieldmark(const ::sw::mark::IFieldmark &rFieldmark)
virtual void RedoImpl(::sw::UndoRedoContext &) override
virtual void RedoImpl(::sw::UndoRedoContext &) override
SwUndoInsTextFieldmark(const ::sw::mark::IFieldmark &rFieldmark)
virtual void UndoImpl(::sw::UndoRedoContext &) override
const std::unique_ptr< SwHistoryTextFieldmark > m_pHistoryTextFieldmark
virtual void UndoImpl(::sw::UndoRedoContext &) override
virtual ~SwUndoRenameBookmark() override
static void Rename(::sw::UndoRedoContext const &, const OUString &sFrom, const OUString &sTo)
const OUString m_sOldName
virtual SwRewriter GetRewriter() const override
Returns the rewriter for this object.
virtual void RedoImpl(::sw::UndoRedoContext &) override
const OUString m_sNewName
SwUndoRenameBookmark(OUString aOldName, OUString aNewName, const SwDoc &rDoc)
OUString SwResId(TranslateId aId)
static OUString lcl_QuoteName(std::u16string_view rName)