32 OUString aOldLayerName, OUString aOldLayerTitle, OUString aOldLayerDesc,
bool bOldIsVisible,
bool bOldIsLocked,
bool bOldIsPrintable,
33 OUString aNewLayerName, OUString aNewLayerTitle, OUString aNewLayerDesc,
bool bNewIsVisible,
bool bNewIsLocked,
bool bNewIsPrintable )
36 maOldLayerName(
std::move( aOldLayerName )),
37 maOldLayerTitle(
std::move( aOldLayerTitle )),
38 maOldLayerDesc(
std::move( aOldLayerDesc )),
39 mbOldIsVisible( bOldIsVisible ),
40 mbOldIsLocked( bOldIsLocked ),
41 mbOldIsPrintable( bOldIsPrintable ),
42 maNewLayerName(
std::move( aNewLayerName )),
43 maNewLayerTitle(
std::move( aNewLayerTitle )),
44 maNewLayerDesc(
std::move( aNewLayerDesc )),
45 mbNewIsVisible( bNewIsVisible ),
46 mbNewIsLocked( bNewIsLocked ),
47 mbNewIsPrintable( bNewIsPrintable )
49 OUString aString(
SdResId(STR_MODIFYLAYER));
SAL_DLLPRIVATE::sd::DrawDocShell * GetDocSh() const
virtual void Undo() override
SdLayerModifyUndoAction(SdDrawDocument *_pDoc, SdrLayer *pLayer, OUString aOldLayerName, OUString aOldLayerTitle, OUString aOldLayerDesc, bool bOldIsVisible, bool bOldIsLocked, bool bOldIsPrintable, OUString aNewLayerName, OUString aNewLayerTitle, OUString aNewLayerDesc, bool bNewIsVisible, bool bNewIsLocked, bool bNewIsPrintable)
virtual void Redo() override
void SetComment(const OUString &rStr)
sd::ViewShell * GetViewShell()
Base class of the stacked shells that provide graphical views to Draw and Impress documents and editi...
void ModifyLayer(SdrLayer *pLayer, const OUString &rLayerName, const OUString &rLayerTitle, const OUString &rLayerDesc, bool bIsVisible, bool bIsLocked, bool bIsPrintable)
modifies the given layer with the given values
OUString SdResId(TranslateId aId)