INTEGRATION: CWS impressalternativtext (1.2.434); FILE MERGED

2007/05/24 13:07:26 cl 1.2.434.1: #i68100# adding Title and Description to layers
This commit is contained in:
Jens-Heiner Rechtien 2007-06-26 12:41:31 +00:00
parent d88728d1ab
commit f48ad3a4bc

View file

@ -4,9 +4,9 @@
* *
* $RCSfile: undolayer.hxx,v $ * $RCSfile: undolayer.hxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: rt $ $Date: 2005-09-09 05:57:55 $ * last change: $Author: hr $ $Date: 2007-06-26 13:41:31 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@ -49,8 +49,8 @@ class SdLayerModifyUndoAction : public SdUndoAction
public: public:
TYPEINFO(); TYPEINFO();
SdLayerModifyUndoAction( SdDrawDocument* _pDoc, SdrLayer* pLayer, SdLayerModifyUndoAction( SdDrawDocument* _pDoc, SdrLayer* pLayer,
const String& rOldLayerName, bool bOldIsVisible, bool bOldIsLocked, bool bOldIsPrintable, const String& rOldLayerName, const String& rOldLayerTitle, const String& rOldLayerDesc, bool bOldIsVisible, bool bOldIsLocked, bool bOldIsPrintable,
const String& rNewLayerName, bool bNewIsVisible, bool bNewIsLocked, bool bNewIsPrintable ); const String& rNewLayerName, const String& rNewLayerTitle, const String& rNewLayerDesc, bool bNewIsVisible, bool bNewIsLocked, bool bNewIsPrintable );
virtual void Undo(); virtual void Undo();
virtual void Redo(); virtual void Redo();
@ -58,10 +58,14 @@ public:
private: private:
SdrLayer* mpLayer; SdrLayer* mpLayer;
String maOldLayerName; String maOldLayerName;
String maOldLayerTitle;
String maOldLayerDesc;
bool mbOldIsVisible; bool mbOldIsVisible;
bool mbOldIsLocked; bool mbOldIsLocked;
bool mbOldIsPrintable; bool mbOldIsPrintable;
String maNewLayerName; String maNewLayerName;
String maNewLayerTitle;
String maNewLayerDesc;
bool mbNewIsVisible; bool mbNewIsVisible;
bool mbNewIsLocked; bool mbNewIsLocked;
bool mbNewIsPrintable; bool mbNewIsPrintable;