33#include <stlsheet.hxx>
41 DBG_ASSERT(pTheStyleSheet,
"Undo without StyleSheet ???");
52 OUString aComment(
SdResId(STR_UNDO_CHANGE_PRES_OBJECT));
82 OUString aOutlineStr(
SdResId(STR_PSEUDOSHEET_OUTLINE));
86 std::u16string_view aNumStr(
aName.subView(aOutlineStr.getLength()));
void SetComment(const OUString &rStr)
const SfxItemPool & GetItemPool() const
static void MigrateItemSet(const SfxItemSet *pSourceSet, SfxItemSet *pDestSet, SdrModel *pNewModel)
static SdrItemPool & GetGlobalDrawObjectItemPool()
void Broadcast(const SfxHint &rHint)
const WhichRangesContainer & GetRanges() const
bool Set(const SfxItemSet &, bool bDeep=true)
const OUString & GetName() const
SfxStyleFamily GetFamily() const
virtual SfxItemSet & GetItemSet()
std::unique_ptr< SfxItemSet > mpNewSet
virtual void Undo() override
std::unique_ptr< SfxItemSet > mpOldSet
SfxStyleSheet * mpStyleSheet
virtual void Redo() override
StyleSheetUndoAction(SdDrawDocument *pTheDoc, SfxStyleSheet *pTheStyleSheet, const SfxItemSet *pTheNewItemSet)
#define DBG_ASSERT(sCon, aError)
constexpr OUStringLiteral SD_LT_SEPARATOR
OUString SdResId(TranslateId aId)
constexpr OUStringLiteral STR_LAYOUT_TITLE
constexpr OUStringLiteral STR_LAYOUT_OUTLINE
constexpr OUStringLiteral STR_LAYOUT_SUBTITLE
constexpr OUStringLiteral STR_LAYOUT_BACKGROUNDOBJECTS
constexpr OUStringLiteral STR_LAYOUT_NOTES
constexpr OUStringLiteral STR_LAYOUT_BACKGROUND