49 const OUString& aTheNewName,
51 bool bTheNewBckgrndVisible,
52 bool bTheNewBckgrndObjsVisible)
55 DBG_ASSERT(pThePage,
"Undo without a page???");
128 SID_SWITCHPAGE, SfxCallMode::ASYNCHRON | SfxCallMode::RECORD );
172 SID_SWITCHPAGE, SfxCallMode::ASYNCHRON | SfxCallMode::RECORD );
182 const bool bOldStateValue)
185 , mbOldStateValue(bOldStateValue)
212 if (pSlideSorterViewShell)
229 if (pSlideSorterViewShell)
245 OUString aOldLayoutName,
246 OUString aNewLayoutName)
248 , maOldName(
std::move(aOldLayoutName))
249 , maNewName(
std::move(aNewLayoutName))
void AddPageDescriptor(const sd::slidesorter::model::SharedPageDescriptor &rpDescriptor)
virtual OUString GetComment() const override
ChangeSlideExclusionStateUndoAction(SdDrawDocument *pDocument, const sd::slidesorter::model::PageDescriptor::State eState, const bool bOldStateValue)
virtual void Redo() override
std::vector< sd::slidesorter::model::SharedPageDescriptor > mrpDescriptors
sd::slidesorter::model::PageDescriptor::State meState
virtual void Undo() override
ModifyPageUndoAction(SdDrawDocument *pTheDoc, SdPage *pThePage, const OUString &aTheNewName, AutoLayout eTheNewAutoLayout, bool bTheNewBckgrndVisible, bool bTheNewBckgrndObjsVisible)
virtual void Redo() override
AutoLayout meOldAutoLayout
virtual ~ModifyPageUndoAction() override
bool mbNewBckgrndObjsVisible
bool mbOldBckgrndObjsVisible
virtual void Undo() override
AutoLayout meNewAutoLayout
RenameLayoutTemplateUndoAction(SdDrawDocument *pDocument, OUString aOldLayoutName, OUString aNewLayoutName)
virtual void Redo() override
virtual OUString GetComment() const override
virtual void Undo() override
SAL_DLLPRIVATE void RenameLayoutTemplate(const OUString &rOldLayoutName, const OUString &rNewName)
SAL_DLLPRIVATE::sd::DrawDocShell * GetDocSh() const
SAL_DLLPRIVATE DocumentType GetDocumentType() const
AutoLayout meAutoLayout
AutoLayout.
PageKind GetPageKind() const
void SetAutoLayout(AutoLayout eLayout, bool bInit=false, bool bCreate=false)
const OUString & GetName() const
void SetName(const OUString &rName)
Set the name of the page and broadcast a model change.
AutoLayout GetAutoLayout() const
void SetComment(const OUString &rStr)
SdrLayerID GetLayerID(const OUString &rName) const
bool IsSet(SdrLayerID a) const
bool AreObjectsMarked() const
const SdrPage * GetPage(sal_uInt16 nPgNum) const
const SdrLayerAdmin & GetLayerAdmin() const
sal_uInt16 GetPageNum() const
bool IsMasterPage() const
void TRG_SetMasterPageVisibleLayers(const SdrLayerIDSet &rNew)
const SdrLayerIDSet & TRG_GetMasterPageVisibleLayers() const
const SfxPoolItem * Execute(sal_uInt16 nSlot, SfxCallMode nCall=SfxCallMode::SLOT, const SfxPoolItem **pArgs=nullptr, sal_uInt16 nModi=0, const SfxPoolItem **pInternalArgs=nullptr)
static SAL_WARN_UNUSED_RESULT SfxViewFrame * Current()
SfxDispatcher * GetDispatcher()
sd::ViewShell * GetViewShell()
Base class of the stacked shell hierarchy.
::sd::View * GetView() const
SD_DLLPUBLIC ViewShellBase & GetViewShellBase() const
SD_DLLPUBLIC SlideSorter & GetSlideSorter() const
static SD_DLLPUBLIC SlideSorterViewShell * GetSlideSorter(ViewShellBase &rBase)
Return a slide sorter that is currently displayed in one of the panes that belong to the given ViewSh...
#define DBG_ASSERT(sCon, aError)
constexpr OUStringLiteral SD_LT_SEPARATOR
void ForAllViews(const SdrPage *pPage, std::function< void(SdrView *)> f)
std::shared_ptr< PageDescriptor > SharedPageDescriptor
OUString SdResId(TranslateId aId)
constexpr OUStringLiteral STR_LAYOUT_OUTLINE
constexpr OUStringLiteral sUNO_LayerName_background_objects
constexpr OUStringLiteral sUNO_LayerName_background