34 :
SwUndo(nUndoId, &rDoc), m_pNew(_pNew),
35 m_rDoc(rDoc), m_nId(0), m_bAuto(false)
101 m_aOldSet(_pOld->GetAttrSet())
151 :
SwUndo(nUndoId, &rDoc), m_sOldName(
std::move(_sOldName)),
152 m_sNewName(
std::move(_sNewName)),
m_rDoc(rDoc)
256 const OUString & sInitNewName,
310 const OUString & sInitNewName,
364 const OUString & sInitNewName,
378 m_bInitialized(false)
SwConditionTextFormatColl * MakeCondTextFormatColl(const OUString &rFormatName, SwTextFormatColl *pDerivedFrom, bool bBroadcast=false)
void DelCharFormat(size_t nFormat, bool bBroadcast=false)
Delete the formats.
SwFrameFormat * MakeFrameFormat(const OUString &rFormatName, SwFrameFormat *pDerivedFrom, bool bBroadcast=false, bool bAuto=true)
void ChgFormat(SwFormat &rFormat, const SfxItemSet &rSet)
void RenameFormat(SwFormat &rFormat, const OUString &sNewName, bool bBroadcast=false)
SwCharFormat * FindCharFormatByName(const OUString &rName) const
bool RenameNumRule(const OUString &aOldName, const OUString &aNewName, bool bBroadcast=false)
SwTextFormatColl * FindTextFormatCollByName(const OUString &rName) const
void DelTextFormatColl(size_t nFormat, bool bBroadcast=false)
void DelFrameFormat(SwFrameFormat *pFormat, bool bBroadcast=false)
SwTextFormatColl * MakeTextFormatColl(const OUString &rFormatName, SwTextFormatColl *pDerivedFrom, bool bBroadcast=false)
Create the FormatCollections.
bool DelNumRule(const OUString &rName, bool bBroadCast=false)
SwCharFormat * MakeCharFormat(const OUString &rFormatName, SwCharFormat *pDerivedFrom, bool bBroadcast=false)
sal_uInt16 MakeNumRule(const OUString &rName, const SwNumRule *pCpy=nullptr, bool bBroadcast=false, const SvxNumberFormat::SvxNumPositionAndSpaceMode eDefaultNumberFormatPositionAndSpaceMode=SvxNumberFormat::LABEL_WIDTH_AND_POSITION)
SwFrameFormat * FindFrameFormatByName(const OUString &rName) const
const OUString & GetName() const
void AddRule(SwUndoArg eWhat, const OUString &rWith)
Represents the style of a paragraph.
SwUndoCondTextFormatCollCreate(SwConditionTextFormatColl *pNew, SwTextFormatColl const *pDerivedFrom, SwDoc &rDoc)
virtual SwFormat * Create(SwFormat *pDerivedFrom) override
SwUndoCondTextFormatCollDelete(SwTextFormatColl const *pOld, SwDoc &rDoc)
virtual SwFormat * Create(SwFormat *pDerivedFrom) override
virtual void RedoImpl(::sw::UndoRedoContext &) override
virtual void UndoImpl(::sw::UndoRedoContext &) override
SwUndoNumruleCreate(const SwNumRule *pNew, SwDoc &rDoc)
SwRewriter GetRewriter() const override
Returns the rewriter for this object.
virtual void UndoImpl(::sw::UndoRedoContext &) override
virtual void RedoImpl(::sw::UndoRedoContext &) override
SwUndoNumruleDelete(const SwNumRule &rRule, SwDoc &rDoc)
SwRewriter GetRewriter() const override
Returns the rewriter for this object.
virtual void RedoImpl(::sw::UndoRedoContext &) override
SwRewriter GetRewriter() const override
Returns the rewriter for this object.
SwUndoNumruleRename(OUString aOldName, OUString aNewName, SwDoc &rDoc)
virtual void UndoImpl(::sw::UndoRedoContext &) override
virtual SwFormat * Find(const OUString &rName) const override
virtual void Delete() override
SwUndoTextFormatCollCreate(SwTextFormatColl *pNew, SwTextFormatColl const *pDerivedFrom, SwDoc &rDoc)
virtual SwFormat * Create(SwFormat *pDerivedFrom) override
virtual void Delete(SwFormat *pFormat) override
virtual SwFormat * Find(const OUString &rName) const override
SwUndoTextFormatCollDelete(SwTextFormatColl const *pOld, SwDoc &rDoc)
virtual SwFormat * Create(SwFormat *pDerivedFrom) override
virtual OUString GetName() const override
const sal_uInt16 COLL_GET_RANGE_BITS
OUString SwResId(TranslateId aId)