Kaydet (Commit) bc7fba24 authored tarafından Noel Grandin's avatar Noel Grandin

clean up svdpage.hxx a little

Change-Id: I5da9f408a80fd5990336aac847574f74164b6f7b
üst 5ca19369
...@@ -83,8 +83,7 @@ class SVX_DLLPUBLIC SdrObjList ...@@ -83,8 +83,7 @@ class SVX_DLLPUBLIC SdrObjList
SdrObjList &operator=(const SdrObjList& rSrcList) SAL_DELETED_FUNCTION; SdrObjList &operator=(const SdrObjList& rSrcList) SAL_DELETED_FUNCTION;
private: private:
typedef ::std::vector<SdrObject*> SdrObjectContainerType; ::std::vector<SdrObject*> maList;
SdrObjectContainerType maList;
protected: protected:
friend class SdrObjListIter; friend class SdrObjListIter;
...@@ -134,12 +133,10 @@ public: ...@@ -134,12 +133,10 @@ public:
/// recalculate order numbers / ZIndex /// recalculate order numbers / ZIndex
void RecalcObjOrdNums(); void RecalcObjOrdNums();
bool IsObjOrdNumsDirty() const { return bObjOrdNumsDirty; } bool IsObjOrdNumsDirty() const { return bObjOrdNumsDirty; }
virtual void NbcInsertObject(SdrObject* pObj, size_t nPos=SAL_MAX_SIZE virtual void NbcInsertObject(SdrObject* pObj, size_t nPos=SAL_MAX_SIZE,
, const SdrInsertReason* pReason=NULL const SdrInsertReason* pReason=NULL);
); virtual void InsertObject(SdrObject* pObj, size_t nPos=SAL_MAX_SIZE,
virtual void InsertObject(SdrObject* pObj, size_t nPos=SAL_MAX_SIZE const SdrInsertReason* pReason=NULL);
, const SdrInsertReason* pReason=NULL
);
/// remove from list without delete /// remove from list without delete
virtual SdrObject* NbcRemoveObject(size_t nObjNum); virtual SdrObject* NbcRemoveObject(size_t nObjNum);
virtual SdrObject* RemoveObject(size_t nObjNum); virtual SdrObject* RemoveObject(size_t nObjNum);
...@@ -248,8 +245,8 @@ public: ...@@ -248,8 +245,8 @@ public:
Otherwise this list is expected to contain all the shapes in the Otherwise this list is expected to contain all the shapes in the
called SdrObjList. called SdrObjList.
*/ */
void SetNavigationOrder (const ::com::sun::star::uno::Reference< void SetNavigationOrder (const css::uno::Reference<
::com::sun::star::container::XIndexAccess>& rxOrder); css::container::XIndexAccess>& rxOrder);
void dumpAsXml(struct _xmlTextWriter* pWriter) const; void dumpAsXml(struct _xmlTextWriter* pWriter) const;
...@@ -453,7 +450,7 @@ protected: ...@@ -453,7 +450,7 @@ protected:
SdrLayerAdmin* pLayerAdmin; SdrLayerAdmin* pLayerAdmin;
private: private:
SdrPageProperties* mpSdrPageProperties; SdrPageProperties* mpSdrPageProperties;
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > mxUnoPage; css::uno::Reference< css::uno::XInterface > mxUnoPage;
public: public:
SdrPageProperties& getSdrPageProperties() { return *mpSdrPageProperties; } SdrPageProperties& getSdrPageProperties() { return *mpSdrPageProperties; }
...@@ -475,9 +472,9 @@ protected: ...@@ -475,9 +472,9 @@ protected:
// #i93597# // #i93597#
bool mbPageBorderOnlyLeftRight : 1; bool mbPageBorderOnlyLeftRight : 1;
void SetUnoPage(::com::sun::star::uno::Reference< void SetUnoPage(css::uno::Reference<
::com::sun::star::drawing::XDrawPage> const&); css::drawing::XDrawPage> const&);
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoPage(); virtual css::uno::Reference< css::uno::XInterface > createUnoPage();
// Copying of pages is split into two parts: construction and copying of page objects, // Copying of pages is split into two parts: construction and copying of page objects,
// because the copying might need access to fully initialized page. Clone() is responsible // because the copying might need access to fully initialized page. Clone() is responsible
...@@ -551,7 +548,7 @@ public: ...@@ -551,7 +548,7 @@ public:
bool IsObjectsNotPersistent() const { return mbObjectsNotPersistent; } bool IsObjectsNotPersistent() const { return mbObjectsNotPersistent; }
void SetObjectsNotPersistent(bool b) { mbObjectsNotPersistent = b; } void SetObjectsNotPersistent(bool b) { mbObjectsNotPersistent = b; }
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > getUnoPage(); css::uno::Reference< css::uno::XInterface > getUnoPage();
virtual SfxStyleSheet* GetTextStyleSheetForObject( SdrObject* pObj ) const; virtual SfxStyleSheet* GetTextStyleSheetForObject( SdrObject* pObj ) const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment