summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-02-26 16:45:41 +0000
committerKurt Zenker <kz@openoffice.org>2004-02-26 16:45:41 +0000
commit6e4e4229848a0a3270b5d85993ef4b6a373f77e8 (patch)
treefb575daa81d9349692d1e43cd2a39a6e19222839
parentc766156493ecb03aaf57d7de68be173fdc27c5eb (diff)
INTEGRATION: CWS aw008 (1.2.42); FILE MERGED
2004/02/18 16:10:11 aw 1.2.42.2: #115593# 2004/02/05 11:20:05 aw 1.2.42.1: #114735# Added mechanism to remember all created VOCs at OC to be able to delete such ones which may not be in DrawHierarchy. Added TryToGet(SdrObject/SdrPage) methods to VC.
-rw-r--r--svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx
index 6a06b0fb2c11..d137c7853ff0 100644
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: viewcontactofsdrpage.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2003-11-24 16:27:15 $
+ * last change: $Author: kz $ $Date: 2004-02-26 17:45:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -136,6 +136,10 @@ namespace sdr
// PaintObject() is called.
virtual sal_Bool ShouldPaintObject(DisplayInfo& rDisplayInfo, const ViewObjectContact& rAssociatedVOC);
+ // #115593# Paint this object. This is before evtl. SubObjects get painted. It needs to return
+ // sal_True when something was pained and the paint output rectangle in rPaintRectangle.
+ virtual sal_Bool PaintObject(DisplayInfo& rDisplayInfo, Rectangle& rPaintRectangle, const ViewObjectContact& rAssociatedVOC);
+
// Pre- and Post-Paint this object. Is used e.g. for page background/foreground painting.
virtual void PrePaintObject(DisplayInfo& rDisplayInfo, const ViewObjectContact& rAssociatedVOC);
virtual void PostPaintObject(DisplayInfo& rDisplayInfo, const ViewObjectContact& rAssociatedVOC);
@@ -149,6 +153,9 @@ namespace sdr
// Does this ViewContact support animation?
virtual sal_Bool SupportsAnimation() const;
+
+ // overload for acessing the SdrPage
+ virtual SdrPage* TryToGetSdrPage() const;
};
} // end of namespace contact
} // end of namespace sdr