summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-11-02 13:05:58 +0000
committerKurt Zenker <kz@openoffice.org>2005-11-02 13:05:58 +0000
commit29d23369174ea90d87c2431fa19fb6931dcdda99 (patch)
tree01443b64200f862bcc95068c63e8c59cd895312a /slideshow
parentba1e7358bbbfe14c19384b3c4242aa02528921aa (diff)
INTEGRATION: CWS canvas02 (1.2.34); FILE MERGED
2005/10/25 13:53:51 thb 1.2.34.4: #i56550# Fixed the problem that background shape and first master page shape shared the 0 shape prio; smallish clean-ups 2005/10/17 12:22:24 thb 1.2.34.3: RESYNC: (1.3-1.4); FILE MERGED 2005/10/09 04:39:18 thb 1.2.34.2: RESYNC: (1.2-1.3); FILE MERGED 2005/08/31 21:33:21 thb 1.2.34.1: #122302# Added new Shape::getDOMBounds() method, to retrieve unmodified shape bounds
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/inc/shape.hxx19
1 files changed, 16 insertions, 3 deletions
diff --git a/slideshow/source/inc/shape.hxx b/slideshow/source/inc/shape.hxx
index b28575753485..c50101346614 100644
--- a/slideshow/source/inc/shape.hxx
+++ b/slideshow/source/inc/shape.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: shape.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: obo $ $Date: 2005-10-11 08:52:44 $
+ * last change: $Author: kz $ $Date: 2005-11-02 14:05:58 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -168,6 +168,19 @@ namespace presentation
*/
virtual ::basegfx::B2DRectangle getPosSize() const = 0;
+ /** Get the DOM position and size of the shape.
+
+ This method yields the underlying DOM shape bounds,
+ i.e. the original shape bounds from the document
+ model. This value is <em>always</em> unaffected by any
+ animation activity. Note that shape rotations, which
+ are already contained in the shape as displayed in the
+ original document are already included herein (we
+ currently take the shape as-is from the document,
+ assuming a rotation angle of 0).
+ */
+ virtual ::basegfx::B2DRectangle getDOMBounds() const = 0;
+
/** Get the current shape update area.
This method yields the currently effective update area
@@ -190,7 +203,7 @@ namespace presentation
The shape priority defines the relative order of the
shapes on the slide.
- @return the priority. Will be in the [0,1] range.
+ @return the priority. Will be in the [0,+infty) range.
*/
virtual double getPriority() const = 0;