summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/ViewShell.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-08-04 07:55:08 +0000
committerRüdiger Timm <rt@openoffice.org>2004-08-04 07:55:08 +0000
commit9942686b93f4ffdf278c7bac43db975a394c53be (patch)
tree86866c863316b2d9c06b7243e3d5f18eacee3444 /sd/source/ui/inc/ViewShell.hxx
parentafb4b30036e5d52c493264eebfee9ed9ddbfbaf1 (diff)
INTEGRATION: CWS impress18ea (1.5.10); FILE MERGED
2004/07/28 14:32:10 af 1.5.10.1: #i31419# Added SetIsMainViewShell() and ShowUIControls() methods.
Diffstat (limited to 'sd/source/ui/inc/ViewShell.hxx')
-rw-r--r--sd/source/ui/inc/ViewShell.hxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index 8bb88599e7f0..8de8b6ea6c48 100644
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ViewShell.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2004-07-13 14:03:59 $
+ * last change: $Author: rt $ $Date: 2004-08-04 08:55:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -439,6 +439,12 @@ public:
*/
bool IsMainViewShell (void) const;
+ /** Set or reset the flag that indicates whether the called shell is the
+ one displayed in the center pane. By default this flag is set to
+ <FALSE/>. For the main view shell it thus has to be set to <TRUE/>.
+ */
+ void SetIsMainViewShell (bool bIsMainViewShell);
+
/** Return an object that implements the necessary UNO interfaces to act
as a controller for the ViewShellBase object. The controller is
created if it does not exist. It is owned by the caller.
@@ -508,6 +514,11 @@ public:
PageKind ePageKind,
BOOL bPrintMarkedOnly);
+ /** Show controls of the UI or hide them, depending on the given flag.
+ As a result the border is adapted.
+ */
+ virtual void ShowUIControls (bool bVisible = true);
+
protected:
friend class ViewShellBase;