diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-04-03 15:08:06 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-04-03 15:08:06 +0000 |
commit | 26dc8f747d3055aadb46e1a2f19eec9f5322c4a6 (patch) | |
tree | 410eb9cfec933c4fcf857587b829fdb48d0019bc /sd/source/ui/inc/ViewShell.hxx | |
parent | 0dade48f7fee33c9623ca4a31dc51318bc3c379b (diff) |
INTEGRATION: CWS components1 (1.19.96); FILE MERGED
2007/01/29 17:26:06 af 1.19.96.5: #i68075# New RelocateToParentWindow() method.
2007/01/25 15:06:47 af 1.19.96.4: RESYNC: (1.20-1.21); FILE MERGED
2006/10/13 09:00:06 af 1.19.96.3: #i68075# Avoid warnings about unused variables.
2006/09/25 17:17:50 af 1.19.96.2: RESYNC: (1.19-1.20); FILE MERGED
2006/09/15 09:36:21 af 1.19.96.1: #i68075# Removed arguments from Resize().
Diffstat (limited to 'sd/source/ui/inc/ViewShell.hxx')
-rw-r--r-- | sd/source/ui/inc/ViewShell.hxx | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx index af505f88699e..ccbda95f5cb8 100644 --- a/sd/source/ui/inc/ViewShell.hxx +++ b/sd/source/ui/inc/ViewShell.hxx @@ -4,9 +4,9 @@ * * $RCSfile: ViewShell.hxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: kz $ $Date: 2006-12-12 17:39:50 $ + * last change: $Author: rt $ $Date: 2007-04-03 16:08:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -374,15 +374,11 @@ public: */ SvBorder GetBorder (bool bOuterResize); - /** Place all UI elements that are controlled by the view shell inside - the specified rectangle. This includes the border elements like - rulers and scroll bars as well as the document view. It is the - responsibility of the caller to give an appropriate rectangle for an - Inner- or OuterResizePixel(). - The rectangle is given in pixel coordinates relative to the parent - window. + /** Notify the view shell that its parent window has been resized. + The ViewShell places and resizes its UI elements accordingly. + The new size can be obtained from the parent window. */ - virtual void Resize (const Point &rPos, const Size &rSize); + virtual void Resize (void); /** Set the position and size of the area which contains the GUI elements like rulers, sliders, and buttons as well as the document @@ -464,6 +460,12 @@ public: virtual void ShowUIControls (bool bVisible = true); BOOL IsPageFlipMode(void) const; + /** Set the given window as new parent window. This is not possible for + all views, so the return value tells the caller if the relocation + was successfull. + */ + virtual bool RelocateToParentWindow (::Window* pParentWindow); + class Implementation; protected: |