Files
libreoffice/sd/source/ui/inc/ViewShell.hxx

612 lines
23 KiB
C++
Raw Normal View History

2010-10-27 12:53:26 +01:00
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef SD_VIEW_SHELL_HXX
#define SD_VIEW_SHELL_HXX
#include <rtl/ref.hxx>
#include <vcl/field.hxx>
#include <sfx2/viewsh.hxx>
#include <vcl/prntypes.hxx>
#include <svtools/transfer.hxx>
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
#include <comphelper/implementationreference.hxx>
#include "glob.hxx"
#include "pres.hxx"
#include "cfgids.hxx"
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
#include "View.hxx"
#include "sddllapi.h"
#include <com/sun/star/drawing/XDrawSubController.hpp>
#include <memory>
#include <boost/shared_ptr.hpp>
class SdPage;
class SvxRuler;
class SdrOle2Obj; // for the ones, who have undefined parts of SVDRAW
class ScrollBarBox;
class SdDrawDocument;
class ScrollBar;
namespace com { namespace sun { namespace star {
namespace embed {
class XEmbeddedObject;
}}}}
namespace sd {
extern const String aEmptyStr;
class DrawDocShell;
class FrameView;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
class LayerTabBar;
class View;
class ViewShellBase;
class Window;
class WindowUpdater;
class ZoomList;
#undef OUTPUT_DRAWMODE_COLOR
#undef OUTPUT_DRAWMODE_CONTRAST
/** Base class of the stacked shell hierarchy.
<p>Despite its name this class is not a descendant of SfxViewShell
but of SfxShell. Its name expresses the fact that it acts like a
view shell. Beeing a stacked shell rather then being an actual view shell
there can be several instances of this class that
<ul>
<li>all are based on the same view shell and thus show the same
document and share common view functionality and</li>
<li>are all visible at the same time and live in the same
frame.</li>
<ul></p>
<p>This class replaces the former ViewShell class.</p>
*/
class ViewShell
: public SfxShell
{
public:
enum ShellType {
ST_NONE,
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
ST_DRAW, // The Draw application.
ST_IMPRESS, // Main view of the Impress application.
ST_NOTES,
ST_HANDOUT,
ST_OUTLINE,
ST_SLIDE_SORTER,
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
ST_PRESENTATION,
Resolves: #i121420# merge sidebar feature (cherry picked from commit 0a0a9b32aa5bf1ce2554ad37cbba3c7a105db2b5) Conflicts: chart2/source/controller/dialogs/dlg_View3D.cxx chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx chart2/source/controller/drawinglayer/ViewElementListProvider.cxx chart2/source/controller/inc/ViewElementListProvider.hxx chart2/source/controller/inc/dlg_View3D.hxx chart2/source/controller/main/ShapeController.cxx chart2/source/inc/chartview/DrawModelWrapper.hxx chart2/source/view/main/DrawModelWrapper.cxx cui/source/inc/border.hxx cui/source/inc/cuitabarea.hxx cui/source/inc/cuitabline.hxx cui/source/inc/sdrcelldlg.hxx cui/source/inc/treeopt.hxx cui/source/options/optchart.cxx cui/source/options/optchart.hxx cui/source/options/optcolor.cxx cui/source/options/treeopt.cxx cui/source/tabpages/backgrnd.cxx cui/source/tabpages/border.cxx cui/source/tabpages/chardlg.cxx cui/source/tabpages/numpages.cxx cui/source/tabpages/tpcolor.cxx cui/source/tabpages/tplneend.cxx editeng/inc/editeng/outliner.hxx extensions/source/propctrlr/standardcontrol.cxx framework/source/register/registerservices.cxx offapi/com/sun/star/ui/makefile.mk officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu officecfg/registry/data/org/openoffice/Office/UI/makefile.mk officecfg/registry/schema/org/openoffice/Office/UI/makefile.mk postprocess/packregistry/makefile.mk reportdesign/source/ui/dlg/Condition.cxx reportdesign/source/ui/misc/UITools.cxx sc/inc/document.hxx sc/inc/helpids.h sc/inc/sc.hrc sc/prj/build.lst sc/sdi/scalc.sdi sc/source/core/data/documen9.cxx sc/source/core/data/drwlayer.cxx sc/source/ui/app/scdll.cxx sc/source/ui/app/typemap.cxx sc/source/ui/dbgui/scendlg.cxx sc/source/ui/docshell/docsh2.cxx sc/source/ui/docshell/docsh4.cxx sc/source/ui/drawfunc/chartsh.cxx sc/source/ui/drawfunc/drawsh.cxx sc/source/ui/drawfunc/drawsh2.cxx sc/source/ui/drawfunc/drawsh4.cxx sc/source/ui/drawfunc/drformsh.cxx sc/source/ui/drawfunc/drtxtob.cxx sc/source/ui/drawfunc/drtxtob1.cxx sc/source/ui/drawfunc/drtxtob2.cxx sc/source/ui/drawfunc/graphsh.cxx sc/source/ui/drawfunc/oleobjsh.cxx sc/source/ui/inc/chartsh.hxx sc/source/ui/inc/formatsh.hxx sc/source/ui/miscdlgs/tabbgcolordlg.cxx sc/source/ui/navipi/navipi.cxx sc/source/ui/optdlg/opredlin.cxx sc/source/ui/optdlg/tpview.cxx sc/source/ui/sidebar/makefile.mk sc/source/ui/view/auditsh.cxx sc/source/ui/view/cellsh.cxx sc/source/ui/view/editsh.cxx sc/source/ui/view/formatsh.cxx sc/source/ui/view/pivotsh.cxx sc/source/ui/view/tabvwsh.cxx sc/util/makefile.mk sd/inc/sdabstdlg.hxx sd/prj/build.lst sd/sdi/ToolPanelViewShell.sdi sd/sdi/makefile.mk sd/source/ui/accessibility/makefile.mk sd/source/ui/animations/CustomAnimationDialog.cxx sd/source/ui/dlg/PaneChildWindows.cxx sd/source/ui/dlg/PaneShells.cxx sd/source/ui/dlg/copydlg.cxx sd/source/ui/dlg/navigatr.cxx sd/source/ui/dlg/sddlgfact.cxx sd/source/ui/dlg/sddlgfact.hxx sd/source/ui/docshell/docshel3.cxx sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx sd/source/ui/framework/factories/TaskPanelFactory.cxx sd/source/ui/framework/factories/TaskPanelFactory.hxx sd/source/ui/framework/factories/ViewShellWrapper.cxx sd/source/ui/framework/factories/makefile.mk sd/source/ui/framework/module/ImpressModule.cxx sd/source/ui/framework/module/ToolPanelModule.cxx sd/source/ui/framework/tools/FrameworkHelper.cxx sd/source/ui/func/fuolbull.cxx sd/source/ui/inc/DrawViewShell.hxx sd/source/ui/inc/PaneChildWindows.hxx sd/source/ui/inc/celltempl.hxx sd/source/ui/inc/copydlg.hxx sd/source/ui/inc/dlgpage.hxx sd/source/ui/inc/framework/FrameworkHelper.hxx sd/source/ui/inc/prltempl.hxx sd/source/ui/inc/tabtempl.hxx sd/source/ui/inc/taskpane/ILayoutableWindow.hxx sd/source/ui/inc/taskpane/PanelId.hxx sd/source/ui/inc/tpaction.hxx sd/source/ui/sidebar/AllMasterPagesSelector.cxx sd/source/ui/sidebar/AllMasterPagesSelector.hxx sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx sd/source/ui/sidebar/DocumentHelper.cxx sd/source/ui/sidebar/DocumentHelper.hxx sd/source/ui/sidebar/LayoutMenu.cxx sd/source/ui/sidebar/LayoutMenu.hxx sd/source/ui/sidebar/MasterPageContainer.cxx sd/source/ui/sidebar/MasterPageContainer.hxx sd/source/ui/sidebar/MasterPageContainerFiller.cxx sd/source/ui/sidebar/MasterPageContainerFiller.hxx sd/source/ui/sidebar/MasterPageContainerProviders.cxx sd/source/ui/sidebar/MasterPageContainerProviders.hxx sd/source/ui/sidebar/MasterPageContainerQueue.cxx sd/source/ui/sidebar/MasterPageContainerQueue.hxx sd/source/ui/sidebar/MasterPageDescriptor.cxx sd/source/ui/sidebar/MasterPageDescriptor.hxx sd/source/ui/sidebar/MasterPageObserver.cxx sd/source/ui/sidebar/MasterPagesSelector.cxx sd/source/ui/sidebar/MasterPagesSelector.hxx sd/source/ui/sidebar/PreviewValueSet.cxx sd/source/ui/sidebar/PreviewValueSet.hxx sd/source/ui/sidebar/RecentMasterPagesSelector.cxx sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx sd/source/ui/sidebar/SidebarShellManager.cxx sd/source/ui/sidebar/SlideTransitionPanel.hxx sd/source/ui/sidebar/makefile.mk sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx sd/source/ui/table/TableDesignPane.hxx sd/source/ui/toolpanel/ControlContainer.cxx sd/source/ui/toolpanel/ControlContainerDescriptor.hxx sd/source/ui/toolpanel/MethodGuard.hxx sd/source/ui/toolpanel/ScrollPanel.cxx sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx sd/source/ui/toolpanel/SubToolPanel.cxx sd/source/ui/toolpanel/TaskPaneFocusManager.cxx sd/source/ui/toolpanel/TaskPaneTreeNode.cxx sd/source/ui/toolpanel/TitleBar.cxx sd/source/ui/toolpanel/TitledControl.cxx sd/source/ui/toolpanel/ToolPanel.cxx sd/source/ui/toolpanel/ToolPanel.hxx sd/source/ui/toolpanel/ToolPanelFactory.cxx sd/source/ui/toolpanel/ToolPanelUIElement.cxx sd/source/ui/toolpanel/ToolPanelUIElement.hxx sd/source/ui/toolpanel/ToolPanelViewShell.cxx sd/source/ui/toolpanel/controls/CustomAnimationPanel.cxx sd/source/ui/toolpanel/controls/CustomAnimationPanel.hxx sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx sd/source/ui/toolpanel/controls/MasterPagesPanel.hxx sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx sd/source/ui/toolpanel/controls/SlideTransitionPanel.hxx sd/source/ui/toolpanel/controls/TableDesignPanel.cxx sd/source/ui/toolpanel/controls/TableDesignPanel.hxx sd/source/ui/unoidl/UnoDocumentSettings.cxx sd/source/ui/view/ViewShellBase.cxx sd/source/ui/view/drtxtob.cxx sd/source/ui/view/drviews3.cxx sd/source/ui/view/drviews7.cxx sd/source/ui/view/drviewsa.cxx sd/source/ui/view/drviewsf.cxx sd/source/ui/view/outlnvsh.cxx sd/source/ui/view/sdview.cxx sd/source/ui/view/viewshel.cxx sd/uiconfig/sdraw/menubar/menubar.xml sd/util/makefile.mk sfx2/Package_inc.mk sfx2/inc/sfx2/sfx.hrc sfx2/inc/sfx2/sfxsids.hrc sfx2/source/control/bindings.cxx sfx2/source/dialog/templdlg.cxx sfx2/source/inc/templdgi.hxx svx/AllLangResTarget_svx.mk svx/Package_inc.mk svx/inc/svx/XPropertyTable.hxx svx/inc/svx/bmpmask.hxx svx/inc/svx/colrctrl.hxx svx/inc/svx/dialogs.hrc svx/inc/svx/dlgctrl.hxx svx/inc/svx/dlgutil.hxx svx/inc/svx/drawitem.hxx svx/inc/svx/fontwork.hxx svx/inc/svx/galbrws.hxx svx/inc/svx/sdr/table/tablecontroller.hxx svx/inc/svx/svdmodel.hxx svx/inc/svx/svdstr.hrc svx/inc/svx/svxids.hrc svx/inc/svx/svxitems.hrc svx/inc/svx/xattr.hxx svx/inc/svx/xflgrit.hxx svx/inc/svx/xflhtit.hxx svx/inc/svx/xit.hxx svx/inc/svx/xlineit.hxx svx/inc/svx/xlndsit.hxx svx/inc/svx/xlnedit.hxx svx/inc/svx/xlnstit.hxx svx/inc/svx/xtable.hxx svx/sdi/svx.sdi svx/source/dialog/_bmpmask.cxx svx/source/dialog/dialcontrol.cxx svx/source/dialog/dlgctrl.cxx svx/source/dialog/dlgutil.cxx svx/source/dialog/fontwork.cxx svx/source/gallery2/galbrws.cxx svx/source/gallery2/galbrws1.cxx svx/source/gallery2/gallery1.cxx svx/source/items/drawitem.cxx svx/source/items/svxitems.src svx/source/sdr/attribute/sdrformtextattribute.cxx svx/source/sidebar/ColorPanel.hxx svx/source/sidebar/EmptyPanel.hrc svx/source/sidebar/EmptyPanel.hxx svx/source/sidebar/gallery/GalleryPanel.hxx svx/source/svdraw/svdedtv1.cxx svx/source/svdraw/svdmodel.cxx svx/source/svdraw/svdogrp.cxx svx/source/svdraw/svdstr.src svx/source/tbxctrls/tbcontrl.cxx svx/source/unodraw/XPropertyTable.cxx svx/source/unodraw/unoctabl.cxx svx/source/xoutdev/XPropertyEntry.cxx svx/source/xoutdev/xattr.cxx svx/source/xoutdev/xattr2.cxx svx/source/xoutdev/xtabbtmp.cxx svx/source/xoutdev/xtabcolr.cxx svx/source/xoutdev/xtabdash.cxx svx/source/xoutdev/xtabgrdt.cxx svx/source/xoutdev/xtabhtch.cxx svx/source/xoutdev/xtable.cxx svx/source/xoutdev/xtablend.cxx svx/util/svx.component sw/inc/cmdid.h sw/inc/docsh.hxx sw/inc/editsh.hxx sw/inc/helpid.h sw/inc/rcid.hrc sw/inc/swabstdlg.hxx sw/inc/swcommands.h sw/sdi/swriter.sdi sw/source/core/doc/docdesc.cxx sw/source/core/draw/drawdoc.cxx sw/source/ui/app/docsh2.cxx sw/source/ui/app/docshdrw.cxx sw/source/ui/app/docshini.cxx sw/source/ui/app/docst.cxx sw/source/ui/config/optpage.cxx sw/source/ui/dialog/swdlgfact.cxx sw/source/ui/dialog/swdlgfact.hxx sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/inc/tmpdlg.hxx sw/source/ui/misc/pggrid.cxx sw/source/ui/shells/annotsh.cxx sw/source/ui/shells/basesh.cxx sw/source/ui/shells/beziersh.cxx sw/source/ui/shells/drawdlg.cxx sw/source/ui/shells/drawsh.cxx sw/source/ui/shells/drformsh.cxx sw/source/ui/shells/drwbassh.cxx sw/source/ui/shells/drwtxtex.cxx sw/source/ui/shells/drwtxtsh.cxx sw/source/ui/shells/frmsh.cxx sw/source/ui/shells/grfsh.cxx sw/source/ui/shells/olesh.cxx sw/source/ui/shells/tabsh.cxx sw/source/ui/shells/textsh.cxx sw/source/ui/shells/textsh1.cxx sw/source/ui/shells/txtnum.cxx sw/source/ui/uiview/viewtab.cxx sw/source/ui/uno/unofreg.cxx sw/source/ui/utlui/navipi.cxx sw/util/sw.component vcl/inc/vcl/split.hxx vcl/inc/vcl/window.hxx vcl/inc/window.h vcl/source/window/split.cxx vcl/source/window/window.cxx vcl/source/window/window4.cxx Change-Id: Idebaff59f9d60e4e93290cefefdda4c5a1e9215e Resolves: #i122194# Adapted license text in propertypanel.hrc then renamed it to ResourceDefinitions.hrc (cherry picked from commit e952d1401c1adc41934118ba7f542611ef9da11b) Conflicts: sfx2/Package_inc.mk sfx2/source/sidebar/SidebarChildWindow.cxx svx/source/sidebar/graphic/GraphicPropertyPanel.cxx svx/source/sidebar/line/LinePropertyPanel.cxx svx/source/sidebar/possize/PosSizePropertyPanel.cxx sw/source/ui/sidebar/PagePropertyPanel.src sw/source/ui/sidebar/WrapPropertyPanel.src Change-Id: Ie009056a78ab108556717a501399c83b477b3548 Resolves: #i122194# finally I got the correct file name Change-Id: If7a075af8c9a829f6f0a69f883c5c6d4ac97ba2a More merge changes for optional sidebar: revert toolpanel removal, restore and re-enable task pane remove apparently un-used SidebarFactory module add extra visibility annotation to ItemReceiverUpdate
2013-04-10 08:20:16 +00:00
ST_TASK_PANE,
ST_SIDEBAR
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
};
static const int MAX_HSPLIT_CNT = 1;
static const int MAX_VSPLIT_CNT = 1;
static const int MIN_SCROLLBAR_SIZE = 50;
static const sal_uLong OUTPUT_DRAWMODE_COLOR = DRAWMODE_DEFAULT;
static const sal_uLong OUTPUT_DRAWMODE_GRAYSCALE
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
= DRAWMODE_GRAYLINE | DRAWMODE_GRAYFILL
| DRAWMODE_BLACKTEXT | DRAWMODE_GRAYBITMAP
| DRAWMODE_GRAYGRADIENT;
static const int OUTPUT_DRAWMODE_BLACKWHITE
= DRAWMODE_BLACKLINE | DRAWMODE_BLACKTEXT
| DRAWMODE_WHITEFILL | DRAWMODE_GRAYBITMAP
| DRAWMODE_WHITEGRADIENT;
static const int OUTPUT_DRAWMODE_CONTRAST
= DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL
| DRAWMODE_SETTINGSTEXT | DRAWMODE_SETTINGSGRADIENT;
TYPEINFO();
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
ViewShell (
SfxViewFrame *pFrame,
::Window* pParentWindow,
ViewShellBase& rViewShellBase,
bool bAllowCenter = true);
virtual ~ViewShell (void);
/** The Init method has to be called from the outside directly
after a new object of this class has been created. It can be
used for that part of the initialisation that can be run only
after the creation of the new object is finished. This
includes registration as listener at event broadcasters.
Derived classes should call this method at the head of their
Init() methods.
@param bIsMainViewShell
This flag tells the Init() method whether the new ViewShell will
be the main view shell.
*/
virtual void Init (bool bIsMainViewShell);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** The Exit() method has to be called before the destructor so that the
view shell is still a valid object and can safely call methods that
rely on that.
*/
virtual void Exit (void);
void Cancel();
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** Return the window that is the parent of all controls of this view
shell. This may or may not be the window of the frame.
*/
inline ::Window* GetParentWindow (void) const;
inline ::sd::View* GetView (void) const;
inline SdrView* GetDrawView (void) const;
SD_DLLPUBLIC DrawDocShell* GetDocSh (void) const;
SdDrawDocument* GetDoc (void) const;
SD_DLLPUBLIC SfxViewFrame* GetViewFrame (void) const;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** The active window is usually the mpContentWindow. When there is a
show running then the active window is a ShowWindow.
*/
::sd::Window* GetActiveWindow (void) const;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** Set the active window. When the shell is displayed in the center
pane then the window of the ViewShellBase is also set to the given
window.
*/
void SetActiveWindow (::sd::Window* pWindow);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** Return the rectangle that encloses all windows of the view. That
excludes the controls in the frame like rulers, scroll bars, tab
bar, and buttons.
@return
The rectangle is returned in screen coordinates, i.e. pixel
values relative to the upper left corner of the screen?.
*/
const Rectangle& GetAllWindowRect (void);
// Mouse- & Key-Events
virtual void PrePaint();
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
virtual void Paint (const Rectangle& rRect, ::sd::Window* pWin);
virtual sal_Bool KeyInput(const KeyEvent& rKEvt, ::sd::Window* pWin);
virtual void MouseMove(const MouseEvent& rMEvt, ::sd::Window* pWin);
virtual void MouseButtonUp(const MouseEvent& rMEvt, ::sd::Window* pWin);
virtual void MouseButtonDown(const MouseEvent& rMEvt, ::sd::Window* pWin);
virtual void Command(const CommandEvent& rCEvt, ::sd::Window* pWin);
virtual sal_Bool RequestHelp( const HelpEvent& rEvt, ::sd::Window* pWin );
virtual long Notify( NotifyEvent& rNEvt, ::sd::Window* pWin );
virtual bool HandleScrollCommand(const CommandEvent& rCEvt, ::sd::Window* pWin);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
virtual void Draw(OutputDevice &rDev, const Region &rReg);
virtual void SetUIUnit(FieldUnit eUnit);
virtual void SetDefTabHRuler( sal_uInt16 nDefTab );
Resolves: #i121420# merge sidebar feature (cherry picked from commit 0a0a9b32aa5bf1ce2554ad37cbba3c7a105db2b5) Conflicts: chart2/source/controller/dialogs/dlg_View3D.cxx chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx chart2/source/controller/drawinglayer/ViewElementListProvider.cxx chart2/source/controller/inc/ViewElementListProvider.hxx chart2/source/controller/inc/dlg_View3D.hxx chart2/source/controller/main/ShapeController.cxx chart2/source/inc/chartview/DrawModelWrapper.hxx chart2/source/view/main/DrawModelWrapper.cxx cui/source/inc/border.hxx cui/source/inc/cuitabarea.hxx cui/source/inc/cuitabline.hxx cui/source/inc/sdrcelldlg.hxx cui/source/inc/treeopt.hxx cui/source/options/optchart.cxx cui/source/options/optchart.hxx cui/source/options/optcolor.cxx cui/source/options/treeopt.cxx cui/source/tabpages/backgrnd.cxx cui/source/tabpages/border.cxx cui/source/tabpages/chardlg.cxx cui/source/tabpages/numpages.cxx cui/source/tabpages/tpcolor.cxx cui/source/tabpages/tplneend.cxx editeng/inc/editeng/outliner.hxx extensions/source/propctrlr/standardcontrol.cxx framework/source/register/registerservices.cxx offapi/com/sun/star/ui/makefile.mk officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu officecfg/registry/data/org/openoffice/Office/UI/makefile.mk officecfg/registry/schema/org/openoffice/Office/UI/makefile.mk postprocess/packregistry/makefile.mk reportdesign/source/ui/dlg/Condition.cxx reportdesign/source/ui/misc/UITools.cxx sc/inc/document.hxx sc/inc/helpids.h sc/inc/sc.hrc sc/prj/build.lst sc/sdi/scalc.sdi sc/source/core/data/documen9.cxx sc/source/core/data/drwlayer.cxx sc/source/ui/app/scdll.cxx sc/source/ui/app/typemap.cxx sc/source/ui/dbgui/scendlg.cxx sc/source/ui/docshell/docsh2.cxx sc/source/ui/docshell/docsh4.cxx sc/source/ui/drawfunc/chartsh.cxx sc/source/ui/drawfunc/drawsh.cxx sc/source/ui/drawfunc/drawsh2.cxx sc/source/ui/drawfunc/drawsh4.cxx sc/source/ui/drawfunc/drformsh.cxx sc/source/ui/drawfunc/drtxtob.cxx sc/source/ui/drawfunc/drtxtob1.cxx sc/source/ui/drawfunc/drtxtob2.cxx sc/source/ui/drawfunc/graphsh.cxx sc/source/ui/drawfunc/oleobjsh.cxx sc/source/ui/inc/chartsh.hxx sc/source/ui/inc/formatsh.hxx sc/source/ui/miscdlgs/tabbgcolordlg.cxx sc/source/ui/navipi/navipi.cxx sc/source/ui/optdlg/opredlin.cxx sc/source/ui/optdlg/tpview.cxx sc/source/ui/sidebar/makefile.mk sc/source/ui/view/auditsh.cxx sc/source/ui/view/cellsh.cxx sc/source/ui/view/editsh.cxx sc/source/ui/view/formatsh.cxx sc/source/ui/view/pivotsh.cxx sc/source/ui/view/tabvwsh.cxx sc/util/makefile.mk sd/inc/sdabstdlg.hxx sd/prj/build.lst sd/sdi/ToolPanelViewShell.sdi sd/sdi/makefile.mk sd/source/ui/accessibility/makefile.mk sd/source/ui/animations/CustomAnimationDialog.cxx sd/source/ui/dlg/PaneChildWindows.cxx sd/source/ui/dlg/PaneShells.cxx sd/source/ui/dlg/copydlg.cxx sd/source/ui/dlg/navigatr.cxx sd/source/ui/dlg/sddlgfact.cxx sd/source/ui/dlg/sddlgfact.hxx sd/source/ui/docshell/docshel3.cxx sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx sd/source/ui/framework/factories/TaskPanelFactory.cxx sd/source/ui/framework/factories/TaskPanelFactory.hxx sd/source/ui/framework/factories/ViewShellWrapper.cxx sd/source/ui/framework/factories/makefile.mk sd/source/ui/framework/module/ImpressModule.cxx sd/source/ui/framework/module/ToolPanelModule.cxx sd/source/ui/framework/tools/FrameworkHelper.cxx sd/source/ui/func/fuolbull.cxx sd/source/ui/inc/DrawViewShell.hxx sd/source/ui/inc/PaneChildWindows.hxx sd/source/ui/inc/celltempl.hxx sd/source/ui/inc/copydlg.hxx sd/source/ui/inc/dlgpage.hxx sd/source/ui/inc/framework/FrameworkHelper.hxx sd/source/ui/inc/prltempl.hxx sd/source/ui/inc/tabtempl.hxx sd/source/ui/inc/taskpane/ILayoutableWindow.hxx sd/source/ui/inc/taskpane/PanelId.hxx sd/source/ui/inc/tpaction.hxx sd/source/ui/sidebar/AllMasterPagesSelector.cxx sd/source/ui/sidebar/AllMasterPagesSelector.hxx sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx sd/source/ui/sidebar/DocumentHelper.cxx sd/source/ui/sidebar/DocumentHelper.hxx sd/source/ui/sidebar/LayoutMenu.cxx sd/source/ui/sidebar/LayoutMenu.hxx sd/source/ui/sidebar/MasterPageContainer.cxx sd/source/ui/sidebar/MasterPageContainer.hxx sd/source/ui/sidebar/MasterPageContainerFiller.cxx sd/source/ui/sidebar/MasterPageContainerFiller.hxx sd/source/ui/sidebar/MasterPageContainerProviders.cxx sd/source/ui/sidebar/MasterPageContainerProviders.hxx sd/source/ui/sidebar/MasterPageContainerQueue.cxx sd/source/ui/sidebar/MasterPageContainerQueue.hxx sd/source/ui/sidebar/MasterPageDescriptor.cxx sd/source/ui/sidebar/MasterPageDescriptor.hxx sd/source/ui/sidebar/MasterPageObserver.cxx sd/source/ui/sidebar/MasterPagesSelector.cxx sd/source/ui/sidebar/MasterPagesSelector.hxx sd/source/ui/sidebar/PreviewValueSet.cxx sd/source/ui/sidebar/PreviewValueSet.hxx sd/source/ui/sidebar/RecentMasterPagesSelector.cxx sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx sd/source/ui/sidebar/SidebarShellManager.cxx sd/source/ui/sidebar/SlideTransitionPanel.hxx sd/source/ui/sidebar/makefile.mk sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx sd/source/ui/table/TableDesignPane.hxx sd/source/ui/toolpanel/ControlContainer.cxx sd/source/ui/toolpanel/ControlContainerDescriptor.hxx sd/source/ui/toolpanel/MethodGuard.hxx sd/source/ui/toolpanel/ScrollPanel.cxx sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx sd/source/ui/toolpanel/SubToolPanel.cxx sd/source/ui/toolpanel/TaskPaneFocusManager.cxx sd/source/ui/toolpanel/TaskPaneTreeNode.cxx sd/source/ui/toolpanel/TitleBar.cxx sd/source/ui/toolpanel/TitledControl.cxx sd/source/ui/toolpanel/ToolPanel.cxx sd/source/ui/toolpanel/ToolPanel.hxx sd/source/ui/toolpanel/ToolPanelFactory.cxx sd/source/ui/toolpanel/ToolPanelUIElement.cxx sd/source/ui/toolpanel/ToolPanelUIElement.hxx sd/source/ui/toolpanel/ToolPanelViewShell.cxx sd/source/ui/toolpanel/controls/CustomAnimationPanel.cxx sd/source/ui/toolpanel/controls/CustomAnimationPanel.hxx sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx sd/source/ui/toolpanel/controls/MasterPagesPanel.hxx sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx sd/source/ui/toolpanel/controls/SlideTransitionPanel.hxx sd/source/ui/toolpanel/controls/TableDesignPanel.cxx sd/source/ui/toolpanel/controls/TableDesignPanel.hxx sd/source/ui/unoidl/UnoDocumentSettings.cxx sd/source/ui/view/ViewShellBase.cxx sd/source/ui/view/drtxtob.cxx sd/source/ui/view/drviews3.cxx sd/source/ui/view/drviews7.cxx sd/source/ui/view/drviewsa.cxx sd/source/ui/view/drviewsf.cxx sd/source/ui/view/outlnvsh.cxx sd/source/ui/view/sdview.cxx sd/source/ui/view/viewshel.cxx sd/uiconfig/sdraw/menubar/menubar.xml sd/util/makefile.mk sfx2/Package_inc.mk sfx2/inc/sfx2/sfx.hrc sfx2/inc/sfx2/sfxsids.hrc sfx2/source/control/bindings.cxx sfx2/source/dialog/templdlg.cxx sfx2/source/inc/templdgi.hxx svx/AllLangResTarget_svx.mk svx/Package_inc.mk svx/inc/svx/XPropertyTable.hxx svx/inc/svx/bmpmask.hxx svx/inc/svx/colrctrl.hxx svx/inc/svx/dialogs.hrc svx/inc/svx/dlgctrl.hxx svx/inc/svx/dlgutil.hxx svx/inc/svx/drawitem.hxx svx/inc/svx/fontwork.hxx svx/inc/svx/galbrws.hxx svx/inc/svx/sdr/table/tablecontroller.hxx svx/inc/svx/svdmodel.hxx svx/inc/svx/svdstr.hrc svx/inc/svx/svxids.hrc svx/inc/svx/svxitems.hrc svx/inc/svx/xattr.hxx svx/inc/svx/xflgrit.hxx svx/inc/svx/xflhtit.hxx svx/inc/svx/xit.hxx svx/inc/svx/xlineit.hxx svx/inc/svx/xlndsit.hxx svx/inc/svx/xlnedit.hxx svx/inc/svx/xlnstit.hxx svx/inc/svx/xtable.hxx svx/sdi/svx.sdi svx/source/dialog/_bmpmask.cxx svx/source/dialog/dialcontrol.cxx svx/source/dialog/dlgctrl.cxx svx/source/dialog/dlgutil.cxx svx/source/dialog/fontwork.cxx svx/source/gallery2/galbrws.cxx svx/source/gallery2/galbrws1.cxx svx/source/gallery2/gallery1.cxx svx/source/items/drawitem.cxx svx/source/items/svxitems.src svx/source/sdr/attribute/sdrformtextattribute.cxx svx/source/sidebar/ColorPanel.hxx svx/source/sidebar/EmptyPanel.hrc svx/source/sidebar/EmptyPanel.hxx svx/source/sidebar/gallery/GalleryPanel.hxx svx/source/svdraw/svdedtv1.cxx svx/source/svdraw/svdmodel.cxx svx/source/svdraw/svdogrp.cxx svx/source/svdraw/svdstr.src svx/source/tbxctrls/tbcontrl.cxx svx/source/unodraw/XPropertyTable.cxx svx/source/unodraw/unoctabl.cxx svx/source/xoutdev/XPropertyEntry.cxx svx/source/xoutdev/xattr.cxx svx/source/xoutdev/xattr2.cxx svx/source/xoutdev/xtabbtmp.cxx svx/source/xoutdev/xtabcolr.cxx svx/source/xoutdev/xtabdash.cxx svx/source/xoutdev/xtabgrdt.cxx svx/source/xoutdev/xtabhtch.cxx svx/source/xoutdev/xtable.cxx svx/source/xoutdev/xtablend.cxx svx/util/svx.component sw/inc/cmdid.h sw/inc/docsh.hxx sw/inc/editsh.hxx sw/inc/helpid.h sw/inc/rcid.hrc sw/inc/swabstdlg.hxx sw/inc/swcommands.h sw/sdi/swriter.sdi sw/source/core/doc/docdesc.cxx sw/source/core/draw/drawdoc.cxx sw/source/ui/app/docsh2.cxx sw/source/ui/app/docshdrw.cxx sw/source/ui/app/docshini.cxx sw/source/ui/app/docst.cxx sw/source/ui/config/optpage.cxx sw/source/ui/dialog/swdlgfact.cxx sw/source/ui/dialog/swdlgfact.hxx sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/inc/tmpdlg.hxx sw/source/ui/misc/pggrid.cxx sw/source/ui/shells/annotsh.cxx sw/source/ui/shells/basesh.cxx sw/source/ui/shells/beziersh.cxx sw/source/ui/shells/drawdlg.cxx sw/source/ui/shells/drawsh.cxx sw/source/ui/shells/drformsh.cxx sw/source/ui/shells/drwbassh.cxx sw/source/ui/shells/drwtxtex.cxx sw/source/ui/shells/drwtxtsh.cxx sw/source/ui/shells/frmsh.cxx sw/source/ui/shells/grfsh.cxx sw/source/ui/shells/olesh.cxx sw/source/ui/shells/tabsh.cxx sw/source/ui/shells/textsh.cxx sw/source/ui/shells/textsh1.cxx sw/source/ui/shells/txtnum.cxx sw/source/ui/uiview/viewtab.cxx sw/source/ui/uno/unofreg.cxx sw/source/ui/utlui/navipi.cxx sw/util/sw.component vcl/inc/vcl/split.hxx vcl/inc/vcl/window.hxx vcl/inc/window.h vcl/source/window/split.cxx vcl/source/window/window.cxx vcl/source/window/window4.cxx Change-Id: Idebaff59f9d60e4e93290cefefdda4c5a1e9215e Resolves: #i122194# Adapted license text in propertypanel.hrc then renamed it to ResourceDefinitions.hrc (cherry picked from commit e952d1401c1adc41934118ba7f542611ef9da11b) Conflicts: sfx2/Package_inc.mk sfx2/source/sidebar/SidebarChildWindow.cxx svx/source/sidebar/graphic/GraphicPropertyPanel.cxx svx/source/sidebar/line/LinePropertyPanel.cxx svx/source/sidebar/possize/PosSizePropertyPanel.cxx sw/source/ui/sidebar/PagePropertyPanel.src sw/source/ui/sidebar/WrapPropertyPanel.src Change-Id: Ie009056a78ab108556717a501399c83b477b3548 Resolves: #i122194# finally I got the correct file name Change-Id: If7a075af8c9a829f6f0a69f883c5c6d4ac97ba2a More merge changes for optional sidebar: revert toolpanel removal, restore and re-enable task pane remove apparently un-used SidebarFactory module add extra visibility annotation to ItemReceiverUpdate
2013-04-10 08:20:16 +00:00
const SfxPoolItem* GetNumBulletItem(SfxItemSet& aNewAttr, sal_uInt16& nNumItemId);
sal_Bool HasRuler (void);
void SetRuler(sal_Bool bRuler);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** Set internal values of all scroll bars that determine thumb size and
position. The external values like size and position of the scroll
bar controls are not modified.
*/
virtual void UpdateScrollBars (void);
void Scroll(long nX, long nY);
void ScrollLines(long nX, long nY);
virtual void SetZoom(long nZoom);
virtual void SetZoomRect(const Rectangle& rZoomRect);
void InitWindows(const Point& rViewOrigin, const Size& rViewSize,
const Point& rWinPos, sal_Bool bUpdate = sal_False);
void InvalidateWindows();
/** This method is still used by the OutlineViewShell to update the
model according to the content of the outline view. This in turn
updates the previews in the slide sorter.
*/
virtual void UpdatePreview (SdPage* pPage, sal_Bool bInit = sal_False);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
void DrawMarkRect(const Rectangle& rRect) const;
void ExecReq( SfxRequest &rReq );
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
ZoomList* GetZoomList (void);
FrameView* GetFrameView (void);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** Setting a frame view triggers ReadFrameViewData() for the new
frame.
@param pFrameView
The new frame view that replaces the old one.
*/
void SetFrameView (FrameView* pFrameView);
virtual void ReadFrameViewData(FrameView* pView);
virtual void WriteFrameViewData();
virtual void WriteUserData(OUString& rString);
virtual void ReadUserData(const OUString& rString);
virtual sal_Bool ActivateObject(SdrOle2Obj* pObj, long nVerb);
/** @returns
current or selected page or 0. This method
will fail in master page mode.
@deprecated, please use getCurrentPage();
*/
virtual SdPage* GetActualPage() = 0;
/** @returns
current or selected page or 0.
*/
virtual SdPage* getCurrentPage() const = 0;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
FunctionReference GetOldFunction() const { return mxOldFunction; }
bool HasOldFunction() const { return mxOldFunction.is(); }
FunctionReference GetCurrentFunction() const { return mxCurrentFunction; }
bool HasCurrentFunction( sal_uInt16 nSID ) { return mxCurrentFunction.is() && (mxCurrentFunction->GetSlotID() == nSID ); }
bool HasCurrentFunction() { return mxCurrentFunction.is(); }
void SetCurrentFunction(const FunctionReference& xFunction);
void SetOldFunction(const FunctionReference& xFunction);
void DeactivateCurrentFunction( bool bPermanent = false );
void SetPageSizeAndBorder(PageKind ePageKind, const Size& rNewSize,
long nLeft, long nRight, long nUpper, long nLower,
sal_Bool bScaleAll, Orientation eOrient, sal_uInt16 nPaperBin,
sal_Bool bBackgroundFullSize );
void SetStartShowWithDialog( sal_Bool bIn = sal_True ) { mbStartShowWithDialog = bIn; }
sal_Bool IsStartShowWithDialog() const { return mbStartShowWithDialog; }
sal_uInt16 GetPrintedHandoutPageNum (void) const { return mnPrintedHandoutPageNum; }
void SetPrintedHandoutPageNum (sal_uInt16 nPageNumber) {mnPrintedHandoutPageNum=nPageNumber; }
sal_uInt16 GetPrintedHandoutPageCount(void) const { return mnPrintedHandoutPageCount; }
void SetPrintedHandoutPageCount (sal_uInt16 nPageCount) {mnPrintedHandoutPageCount=nPageCount; }
CWS-TOOLING: integrate CWS impress168 2009-04-24 11:26:33 +0200 wg r271204 : i101157 2009-04-24 10:17:59 +0200 wg r271200 : i101157 2009-04-23 15:50:12 +0200 wg r271178 : i101157 2009-04-23 15:16:58 +0200 wg r271176 : i101157 2009-04-23 13:04:41 +0200 wg r271158 : i101157 2009-04-22 15:39:32 +0200 wg r271123 : i101157 2009-04-22 14:27:24 +0200 wg r271111 : i101157 2009-04-22 14:14:02 +0200 wg r271109 : i101157 2009-04-17 14:34:19 +0200 wg r270946 : i101157 2009-04-17 13:49:15 +0200 wg r270939 : i101157 2009-03-31 14:54:52 +0200 sj r270281 : CWS-TOOLING: rebase CWS impress168 to trunk@270033 (milestone: DEV300:m45) 2009-03-26 16:56:44 +0100 sj r270089 : removed invalid file names 2009-03-24 14:02:54 +0100 sj r269944 : CWS-TOOLING: rebase CWS impress168 to trunk@269781 (milestone: DEV300:m44) 2009-03-06 16:32:14 +0100 sj r269020 : #i99970# importing customshapes without group object, taking care of the correct text alignment 2009-02-27 13:53:24 +0100 sj r268591 : #158501,158483# fixed positioning problem of 3d customshapes 2009-02-19 16:02:00 +0100 sj r268292 : #76543# fixed interactive hyperlink program action with relativ url 2009-02-18 15:36:52 +0100 sj r268233 : #158503# added import of circular gradients for ellipse shapes 2009-02-16 19:51:54 +0100 sj r267836 : #i99146# calculating correct text bounds 2009-02-12 13:59:46 +0100 sj r267654 : #i96179# fixed bullet problem 2009-02-10 17:26:41 +0100 sj r267566 : #158476# fixed import of the ribbon shape 2009-02-10 17:10:27 +0100 cl r267561 : #i95364# fixed type detection of linked images 2009-02-09 18:31:59 +0100 cl r267531 : #i98352# removed assertion 2009-02-09 18:31:17 +0100 cl r267530 : #i98355# fixed alien attribute import for sd in binfilter 2009-02-09 18:30:53 +0100 cl r267529 : #i98355# fixed alien attribute import for sd in binfilter 2009-02-09 09:52:15 +0100 cl r267501 : #i98573# fixed build error 2009-02-06 17:02:21 +0100 sj r267476 : #i96179# fixed bullet problem 2009-02-06 14:58:39 +0100 cl r267466 : #i14832# fixed page count field for handout printing 2009-02-06 10:23:01 +0100 cl r267447 : #i98573# fixed GetEditOutlinerParaObject() memory leak 2009-02-05 18:03:34 +0100 cl r267435 : #i98573# fixed GetEditOutlinerParaObject() memory leak 2009-02-05 18:03:08 +0100 cl r267434 : #i85481# added XMultiPropertyStates to text implementations 2009-02-05 18:02:54 +0100 cl r267433 : #i85481# added XMultiPropertyStates to text implementations 2009-02-05 18:02:42 +0100 cl r267432 : #i85481# added XMultiPropertyStates to text implementations 2009-02-04 18:54:46 +0100 sj r267400 : #i33630# fixed arrow size of word import 2009-02-04 15:40:16 +0100 cl r267389 : #i58702# fixed tiled bitmap fill for vcl canvas 2009-02-04 15:39:07 +0100 cl r267388 : #i58702# fixed tiled bitmap fill for vcl canvas 2009-02-04 14:23:27 +0100 cl r267382 : #i98573# fixed memory leaks caused by wron usage of GetEditOutlinerParaObject() 2009-02-04 14:22:34 +0100 cl r267381 : #i98573# fixed memory leaks caused by wron usage of GetEditOutlinerParaObject() 2009-02-04 12:51:50 +0100 cl r267371 : #i14832# added Page Count field to impress 2009-02-04 12:41:31 +0100 cl r267368 : #i14832# added Page Count field to impress
2009-05-06 21:51:02 +00:00
virtual sal_uInt16 PrepareClose( sal_Bool bUI = sal_True, sal_Bool bForBrowsing = sal_False );
void GetMenuState(SfxItemSet& rSet);
virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt, DropTargetHelper& rTargetHelper,
::sd::Window* pTargetWindow, sal_uInt16 nPage, sal_uInt16 nLayer );
virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt, DropTargetHelper& rTargetHelper,
::sd::Window* pTargetWindow, sal_uInt16 nPage, sal_uInt16 nLayer );
virtual void WriteUserDataSequence ( ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >&, sal_Bool bBrowse = sal_False );
virtual void ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >&, sal_Bool bBrowse = sal_False );
/** this method is called when the visible area of the view from this viewshell is changed */
virtual void VisAreaChanged(const Rectangle& rRect);
/** Create an accessible object representing the specified window.
Overload this method to provide view mode specific objects. The
default implementation returns an empty reference.
@param pWindow
Make the document displayed in this window accessible.
@return
This default implementation returns an empty reference.
*/
virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible>
CreateAccessibleDocumentView (::sd::Window* pWindow);
void SetWinViewPos(const Point& rWinPos, bool bUpdate);
Point GetWinViewPos() const;
Point GetViewOrigin() const;
/** Return the window updater of this view shell.
@return
In rare circumstances the returned pointer may be <null/>,
i.e. when no memory is available anymore.
*/
::sd::WindowUpdater* GetWindowUpdater (void) const;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** Return the border that is drawn arround the actual document view.
The border contains typically rulers and scroll bars.
@param bOuterResize
When this flag is <TRUE/> then the border is used for an
OuterResizePixel(), i.e. there is a given window size and the
border elements are placed inside so that the document view has
the given window size minus the border.
When the flag is <FALSE/> then the border is used for an
InnerResizePixel(), i.e. the document view has a given size and
the border is placed outside. In this scenario the parent
window has the size of the document view plus the border.
*/
SvBorder GetBorder (bool bOuterResize);
/** 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.
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
*/
virtual void Resize (void);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** Set the position and size of the area which contains the GUI
elements like rulers, sliders, and buttons as well as the document
view. Both size and position are expected to be in pixel
coordinates. The positions and sizes of the mentioned GUI elements
are updated as well.
<p> This method is implemented by first setting copying the given
values to internal variables and then calling the
<type>ArrangeGUIElements</type> method which performs the actual
work of sizeing and arranging the UI elements accordingly.</p>
@param rPos
The position of the enclosing window relative to the document
window. This is only interesting if a Draw/Impress document
view is embedded as OLE object into another document view. For
normal documents this position is (0,0).
@param rSize
The new size in pixel.
*/
// This is to be replaced by Resize.
// virtual void AdjustPosSizePixel(const Point &rPos, const Size &rSize);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** Set position and size of the GUI elements that are controllerd by
the view shell like rulers and scroll bars as well as the actual
document view according to the position and size that were given
with the last Resize() call.
*/
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
virtual void ArrangeGUIElements (void);
// virtual void OuterResizePixel(const Point &rPos, const Size &rSize);
// virtual void InnerResizePixel(const Point &rPos, const Size &rSize);
ViewShellBase& GetViewShellBase (void) const;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** Return <TRUE/> when the called view shell is the main sub shell of
its ViewShellBase object, i.e. is display in the center pane. This
convenience function is equivalent to comparing the this pointer to
the result of ViewShellBase::GetViewShell(PT_CENTER).
*/
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 a sub controller that implements the view shell specific
part of the DrawController.
*/
virtual css::uno::Reference<css::drawing::XDrawSubController> CreateSubController (void) = 0;
/** Return the type of the shell.
*/
virtual ShellType GetShellType (void) const;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** This method is more or less an alias to Deactivate(). It is called
before an object of this class is taken from the stack of view
shells.
<p>When this method is not called before a view shell is taken from
a stack then the Deactivate() call from the SFX as a response to
RemoveSubShell() comes to late when the view shell is not on the
stack anymore.</p>
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
*/
virtual void Shutdown (void);
/** This function is called from the underlying ViewShellBase
object to handle a verb execution request.
*/
virtual ErrCode DoVerb (long nVerb);
virtual void UIActivating( SfxInPlaceClient* );
virtual void UIDeactivated( SfxInPlaceClient* );
/** 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);
sal_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 successful.
*/
virtual bool RelocateToParentWindow (::Window* pParentWindow);
/** Depending on the given request create a new page or duplicate an
existing one. A new page is created behind the given slide.
@param rRequest
The request as passed to an Execute() method. Its arguments are
evaluated. Its slot id determines whether to create or
duplicate a slide.
@param pPage
This page is either duplicated or becomes the predecessor of the
new slide. If NULL a duplication request is ignored. A new
slide is inserted as first slide.
@param nInsertPosition
When -1 (the default) then insert after pPage. Otherwise insert
before the given index (of a standard page).
@return
The new slide is returned. If for some reason a new page can
not be created then NULL is returned.
*/
virtual SdPage* CreateOrDuplicatePage (
SfxRequest& rRequest,
PageKind ePageKind,
SdPage* pPage,
const sal_Int32 nInsertPosition = -1);
class Implementation;
protected:
/** must be called in the beginning of each subclass d'tor.
disposes and clears both current and old function. */
void DisposeFunctions();
friend class ViewShellBase;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** Window inside the rulers and scroll bars that shows a view of the
document.
*/
::boost::shared_ptr<sd::Window> mpContentWindow;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/// Horizontal scroll bar for the current slide is displayed when needed.
::boost::shared_ptr<ScrollBar> mpHorizontalScrollBar;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/// Vertical scroll bar for whole document is always visible.
::boost::shared_ptr<ScrollBar> mpVerticalScrollBar;
SAL_WNODEPRECATED_DECLARATIONS_PUSH
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/// Horizontal ruler is not shown by default.
::std::auto_ptr<SvxRuler> mpHorizontalRuler;
/// Vertical ruler is not shown by default.
::std::auto_ptr<SvxRuler> mpVerticalRuler;
SAL_WNODEPRECATED_DECLARATIONS_POP
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/// Filler of the little square enclosed by the two scroll bars.
::boost::shared_ptr<ScrollBarBox> mpScrollBarBox;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/// Layer tab bar.
SAL_WNODEPRECATED_DECLARATIONS_PUSH
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
::std::auto_ptr<LayerTabBar> mpLayerTabBar;
SAL_WNODEPRECATED_DECLARATIONS_POP
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/// This flag controls whether the rulers are visible.
bool mbHasRulers;
/// The active window.
::sd::Window* mpActiveWindow;
::sd::View* mpView;
FrameView* mpFrameView;
FunctionReference mxCurrentFunction;
FunctionReference mxOldFunction;
ZoomList* mpZoomList;
Point maViewPos;
Size maViewSize;
Size maScrBarWH;
sal_Bool mbCenterAllowed; // will be forwarded to window
sal_Bool mbStartShowWithDialog; // presentation is started by dialog
sal_uInt16 mnPrintedHandoutPageNum; // Page number of the handout page that is to be printed.
sal_uInt16 mnPrintedHandoutPageCount; // Page count of the handout pages that are to be printed.
//af sal_Bool bPrintDirectSelected; // Print only selected objects in direct print
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
//afString sPageRange; // pagerange if selected objects in direct print
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** Area covered by all windows, i.e. the area of the parent window
without the controls at the borders like rulers, scroll bars, tab
bar, buttons.
This rectangle may be set in window coordinates (i.e. pixel values
relative to the parent window). It is transformed by every call to
GetAllWindowRectangle() into screen coordinates (relative to the
upper left corner of the screen.
*/
Rectangle maAllWindowRectangle;
/// The type of the shell. Returned by GetShellType().
ShellType meShellType;
SAL_WNODEPRECATED_DECLARATIONS_PUSH
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
::std::auto_ptr<Implementation> mpImpl;
SAL_WNODEPRECATED_DECLARATIONS_POP
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
2011-02-07 22:11:09 +01:00
// Support methods for centralized UNDO/REDO
virtual ::svl::IUndoManager* ImpGetUndoManager (void) const;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
void ImpGetUndoStrings(SfxItemSet &rSet) const;
void ImpGetRedoStrings(SfxItemSet &rSet) const;
void ImpSidUndo(sal_Bool bDrawViewShell, SfxRequest& rReq);
void ImpSidRedo(sal_Bool bDrawViewShell, SfxRequest& rReq);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
DECL_LINK( HScrollHdl, ScrollBar * );
DECL_LINK( VScrollHdl, ScrollBar * );
// virtual scroll handler, here, derivative classes can add themselves here
virtual long VirtHScrollHdl(ScrollBar* pHScroll);
virtual long VirtVScrollHdl(ScrollBar* pVScroll);
// virtual functions ruler handling
virtual SvxRuler* CreateHRuler(::sd::Window* pWin, sal_Bool bIsFirst);
virtual SvxRuler* CreateVRuler(::sd::Window* pWin);
virtual void UpdateHRuler();
virtual void UpdateVRuler();
virtual void Activate(sal_Bool IsMDIActivate);
virtual void Deactivate(sal_Bool IsMDIActivate);
virtual void SetZoomFactor( const Fraction &rZoomX,
const Fraction &rZoomY );
/**
This must be called after the ctor, but before anything else.
It's the part of construction that is dependent
on showing the top-level window.
Showing a window with a11y enabled causes various callbacks
to be triggered.
Due to the "virtual methods are not virtual during constructors"
problem, this is a disaster to call from the ctor
i.e. construct calls Show, and if a11y is enabled this
reenters the not-fully constructed object and calls
CreateAccessibleDocumentView, so if construct is called
from the ctor then if a derived class is contructed the base-cass
CreateAccessibleDocumentView is used, not the derived
CreateAccessibleDocumentView. i.e. run smoketest under a11y with
debugging assertions enabled
*/
void doShow();
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
private:
::Window* mpParentWindow;
/** This window updater is used to keep all relevant windows up to date
with reference to the digit langugage used to display digits in text
shapes.
*/
SAL_WNODEPRECATED_DECLARATIONS_PUSH
::std::auto_ptr< ::sd::WindowUpdater> mpWindowUpdater;
SAL_WNODEPRECATED_DECLARATIONS_POP
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** Code common to all constructors. It generally is a bad idea
to call this function from outside a constructor.
*/
void construct (void);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
DECL_LINK(FrameWindowEventListener, VclSimpleEvent*);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
/** Create the rulers.
*/
void SetupRulers (void);
};
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:03:12 af 1.2.26.25: RESYNC: (1.3-1.4); FILE MERGED 2004/07/10 14:28:24 af 1.2.26.24: #i22705# Made mpImpl protected. 2004/07/08 07:50:59 af 1.2.26.23: #i22705# Added mpImpl member. 2004/07/06 08:02:42 af 1.2.26.22: #i22705# Added argument to CreateOrDuplicatePage(). 2004/07/02 16:51:05 af 1.2.26.21: #i22705# Added CreateOrDuplicatePage() and moved most of the implemenatation from DrawViewShell to this class. 2004/06/30 11:58:19 af 1.2.26.20: #i22705# Added mpLayerTabBar member. 2004/06/22 11:11:15 af 1.2.26.19: #i22705# Added virtual GetController() method. Made ViewShellBase a friend. Member mpController now is an ImplementationReference<> and replaces mpController and mxController. 2004/06/18 00:19:06 af 1.2.26.18: RESYNC: (1.2-1.3); FILE MERGED 2004/06/15 14:47:36 af 1.2.26.17: #i22705# Factored out creation of rulers to SetupRulers(). 2004/06/12 12:16:25 af 1.2.26.16: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/11 07:19:22 af 1.2.26.15: #i22705# Using GetActiveWindow() instead of pWindow or GetWindow(). 2004/06/09 13:17:23 af 1.2.26.14: #i22705# Moved some inline function definitions to viewshel.cxx. 2004/06/06 12:51:43 af 1.2.26.13: #i22705# Made the ScrollBarBox member an auto_ptr. 2004/06/04 06:46:31 af 1.2.26.12: #i22705# Cleanup. Support of changes in ViewShellManager. 2004/04/27 12:36:18 af 1.2.26.11: #i22705# Moved the view tab bar to the ViewShellBase. 2004/04/23 11:25:08 af 1.2.26.10: #i22705# Removed edit-, master-,and layer button. 2004/04/22 07:34:20 af 1.2.26.9: #i22705# Removed buttons that switch between views. 2004/04/21 15:13:46 af 1.2.26.8: #i22705# Added new ST_TASK_PANEL shell type. Modified comment. 2004/04/15 12:05:29 af 1.2.26.7: #i22705# Splitter removed: Replaced pointer arrays by single auto_ptr. 2004/04/15 08:15:23 af 1.2.26.6: #i22705# Removed splitters. 2004/03/05 09:37:16 af 1.2.26.5: #i22705# Added two set methods. 2004/03/03 17:21:36 af 1.2.26.4: #i22705# Extended a comment. 2004/03/02 09:44:15 af 1.2.26.3: #i22705# Moved implementation of GetViewFrame() to viewshel. Moved printing to PrintManager. 2004/02/25 16:40:33 af 1.2.26.2: #i22705# Added Exit() method. 2004/02/19 14:17:28 af 1.2.26.1: #i22705# Changed several method signatures.
2004-07-13 13:03:59 +00:00
::Window* ViewShell::GetParentWindow (void) const
{
return mpParentWindow;
}
::sd::View* ViewShell::GetView (void) const
{
return mpView;
}
SdrView* ViewShell::GetDrawView (void) const
{
return static_cast<SdrView*>(mpView);
}
} // end of namespace sd
#endif
2010-10-27 12:53:26 +01:00
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */