Files
libreoffice/sd/source/ui/view/ViewShellBase.cxx

1785 lines
50 KiB
C++
Raw Normal View History

/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ViewShellBase.cxx,v $
* $Revision: 1.45 $
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sd.hxx"
#include "ViewShellBase.hxx"
#include <algorithm>
#include "EventMultiplexer.hxx"
#include "cache/SlsPageCacheManager.hxx"
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
#include "sdresid.hxx"
#include "app.hrc"
#include "strings.hrc"
#include "glob.hrc"
#include "unokywds.hxx"
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
#include <svx/svxids.hrc>
#include "DrawDocShell.hxx"
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
#include <sfx2/app.hxx>
#include "PaneChildWindows.hxx"
#include "NotesChildWindow.hxx"
#include "ViewShellManager.hxx"
#include "DrawController.hxx"
#include "PrintManager.hxx"
#include "UpdateLockManager.hxx"
#include "FrameView.hxx"
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
#include "ViewTabBar.hxx"
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
#include <sfx2/event.hxx>
#include "drawdoc.hxx"
#include <sfx2/dispatch.hxx>
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
#include <sfx2/request.hxx>
#include "DrawViewShell.hxx"
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
#include "GraphicViewShell.hxx"
#include "OutlineViewShell.hxx"
#include "SlideSorterViewShell.hxx"
#include "PresentationViewShell.hxx"
#include "TaskPaneViewShell.hxx"
#include "FormShellManager.hxx"
#include "ToolBarManager.hxx"
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
#include "Window.hxx"
2008-04-09 15:27:42 +00:00
#include "framework/ConfigurationController.hxx"
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/document/XViewDataSupplier.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
#include <com/sun/star/drawing/XMasterPagesSupplier.hpp>
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
#include <com/sun/star/drawing/framework/XControllerManager.hpp>
#include <com/sun/star/drawing/framework/XConfigurationController.hpp>
#include <com/sun/star/drawing/framework/ResourceId.hpp>
#include "framework/FrameworkHelper.hxx"
#include <rtl/ref.hxx>
#include <sfx2/msg.hxx>
#include <sfx2/objface.hxx>
#include <sfx2/viewfrm.hxx>
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
#include <svtools/whiter.hxx>
#include <comphelper/processfactory.hxx>
#include "fubullet.hxx"
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
using namespace sd;
#define ViewShellBase
#include "sdslots.hxx"
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
using ::sd::framework::FrameworkHelper;
using ::rtl::OUString;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
namespace {
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
class CurrentPageSetter
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
{
public:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
CurrentPageSetter (ViewShellBase& rBase);
void operator () (bool);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
private:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShellBase& mrBase;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
};
} // end of anonymous namespace
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
using namespace ::com::sun::star::drawing::framework;
using ::sd::framework::FrameworkHelper;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
namespace sd {
class ViewShellBase::Implementation
{
public:
/** Main controller of the view shell. During the switching from one
stacked shell to another this pointer may be NULL.
*/
::rtl::Reference<DrawController> mpController;
/** The view tab bar is the control for switching between different
views in one pane.
*/
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
::rtl::Reference<ViewTabBar> mpViewTabBar;
// contains the complete area of the current view relative to the frame window
Rectangle maClientArea;
// This is set to true when PrepareClose() is called.
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
bool mbIsClosing;
/** The view window is the parent of all UI elements that belong to the
view or ViewShell. This comprises the rulers, the scroll bars, and
the content window.
It does not include the ViewTabBar.
*/
::boost::scoped_ptr< ::Window> mpViewWindow;
::boost::shared_ptr<ToolBarManager> mpToolBarManager;
::boost::shared_ptr<ViewShellManager> mpViewShellManager;
::boost::shared_ptr<tools::EventMultiplexer> mpEventMultiplexer;
::boost::shared_ptr<UpdateLockManager> mpUpdateLockManager;
/// The print manager is responsible for printing documents.
::boost::shared_ptr<PrintManager> mpPrintManager;
::boost::shared_ptr<FormShellManager> mpFormShellManager;
::boost::shared_ptr<CustomHandleManager> mpCustomHandleManager;
Implementation (ViewShellBase& rBase);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
~Implementation (void);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
void LateInit (void);
/** Show or hide the ViewTabBar.
@param bShow
When <TRUE/> then the ViewTabBar is shown, otherwise it is hidden.
*/
void ShowViewTabBar (bool bShow);
/** Common code of ViewShellBase::OuterResizePixel() and
ViewShellBase::InnerResizePixel().
*/
void ResizePixel (
const Point& rOrigin,
const Size& rSize,
bool bOuterResize);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
/** Show or hide the specified pane. The visibility state is taken
fromthe given request.
@param rRequest
The request determines the new visibility state. The state can
either be toggled or be set to a given value.
@param rsPaneURL
This URL specifies the pane whose visibility state to set.
@param rsViewURL
When the pane becomes visible then this view URL specifies which
type of view to show in it.
*/
void SetPaneVisibility (
const SfxRequest& rRequest,
const ::rtl::OUString& rsPaneURL,
const ::rtl::OUString& rsViewURL);
void GetSlotState (SfxItemSet& rSet);
void ProcessRestoreEditingViewSlot (void);
void ProcessTaskPaneSlot (SfxRequest& rRequest);
private:
ViewShellBase& mrBase;
/** Hold a reference to the page cache manager of the slide sorter in
order to ensure that it stays alive while the ViewShellBase is
alive.
*/
::boost::shared_ptr<slidesorter::cache::PageCacheManager> mpPageCacheManager;
};
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
namespace {
/** The only task of this window is to forward key presses to the content
window of the main view shell. With the key press it forwards the focus
so that it is not called very often.
*/
class FocusForwardingWindow : public ::Window
{
public:
FocusForwardingWindow (::Window& rParentWindow, ViewShellBase& rBase);
virtual ~FocusForwardingWindow (void);
virtual void KeyInput (const KeyEvent& rEvent);
virtual void Command (const CommandEvent& rEvent);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
private:
ViewShellBase& mrBase;
};
} // end of anonymous namespace
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
//===== ViewShellBase =========================================================
TYPEINIT1(ViewShellBase, SfxViewShell);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
// We have to expand the SFX_IMPL_VIEWFACTORY macro to call LateInit() after a
// new ViewShellBase object has been constructed.
/*
SFX_IMPL_VIEWFACTORY(ViewShellBase, SdResId(STR_DEFAULTVIEW))
{
SFX_VIEW_REGISTRATION(DrawDocShell);
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
*/
SfxViewFactory* ViewShellBase::pFactory;
SfxViewShell* __EXPORT ViewShellBase::CreateInstance (
SfxViewFrame *pFrame, SfxViewShell *pOldView)
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShellBase* pBase = new ViewShellBase(pFrame, pOldView);
pBase->LateInit(OUString());
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
return pBase;
}
void ViewShellBase::RegisterFactory( USHORT nPrio )
{
pFactory = new SfxViewFactory(
&CreateInstance,&InitFactory,nPrio,SdResId(STR_DEFAULTVIEW));
InitFactory();
}
void ViewShellBase::InitFactory()
{
SFX_VIEW_REGISTRATION(DrawDocShell);
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
SFX_IMPL_INTERFACE(ViewShellBase, SfxViewShell, SdResId(STR_VIEWSHELLBASE))
{
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
ViewShellBase::ViewShellBase (
SfxViewFrame* _pFrame,
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
SfxViewShell*)
: SfxViewShell (_pFrame,
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
SFX_VIEW_MAXIMIZE_FIRST
| SFX_VIEW_OPTIMIZE_EACH
| SFX_VIEW_DISABLE_ACCELS
| SFX_VIEW_OBJECTSIZE_EMBEDDED
| SFX_VIEW_CAN_PRINT
| SFX_VIEW_HAS_PRINTOPTIONS),
maMutex(),
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
mpImpl(),
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
mpDocShell (NULL),
mpDocument (NULL)
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
mpImpl.reset(new Implementation(*this));
mpImpl->mpViewWindow.reset(new FocusForwardingWindow(_pFrame->GetWindow(),*this));
mpImpl->mpViewWindow->SetBackground(Wallpaper());
mpImpl->mpUpdateLockManager.reset(new UpdateLockManager(*this));
mpImpl->mpPrintManager.reset(new PrintManager(*this));
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
_pFrame->GetWindow().SetBackground(Wallpaper());
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
// Set up the members in the correct order.
if (GetViewFrame()->GetObjectShell()->ISA(DrawDocShell))
mpDocShell = static_cast<DrawDocShell*>(
GetViewFrame()->GetObjectShell());
if (mpDocShell != NULL)
mpDocument = mpDocShell->GetDoc();
mpImpl->mpViewShellManager.reset(new ViewShellManager(*this));
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
SetWindow(mpImpl->mpViewWindow.get());
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
// Hide the window to avoid complaints from Sfx...SwitchViewShell...
_pFrame->GetWindow().Hide();
}
/** In this destructor the order in which some of the members are destroyed
(and/or being prepared to being destroyed) is important. Change it only
when you know what you are doing.
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
*/
ViewShellBase::~ViewShellBase (void)
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
// Tell the controller that the ViewShellBase is not available anymore.
if (mpImpl->mpController.get() != NULL)
mpImpl->mpController->ReleaseViewShellBase();
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
// We have to hide the main window to prevent SFX complaining after a
// reload about it being already visible.
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pShell = GetMainViewShell().get();
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
if (pShell!=NULL
&& pShell->GetActiveWindow()!=NULL
&& pShell->GetActiveWindow()->GetParent()!=NULL)
{
pShell->GetActiveWindow()->GetParent()->Hide();
}
mpImpl->mpUpdateLockManager->Disable();
mpImpl->mpToolBarManager->Shutdown();
mpImpl->mpViewShellManager->Shutdown();
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
EndListening(*GetViewFrame());
EndListening(*GetDocShell());
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
SetWindow(NULL);
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
void ViewShellBase::LateInit (const ::rtl::OUString& rsDefaultView)
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
{
StartListening(*GetViewFrame(),TRUE);
StartListening(*GetDocShell(),TRUE);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
mpImpl->LateInit();
InitializeFramework();
2008-04-09 15:27:42 +00:00
mpImpl->mpEventMultiplexer.reset(new tools::EventMultiplexer (*this));
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
mpImpl->mpFormShellManager.reset(new FormShellManager(*this));
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
mpImpl->mpToolBarManager = ToolBarManager::Create(
*this,
mpImpl->mpEventMultiplexer,
mpImpl->mpViewShellManager);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
try
{
Reference<XControllerManager> xControllerManager (GetDrawController(), UNO_QUERY_THROW);
Reference<XConfigurationController> xConfigurationController (
xControllerManager->getConfigurationController());
if (xConfigurationController.is())
{
OUString sView (rsDefaultView);
if (sView.getLength() == 0)
sView = GetInitialViewShellType();
2008-04-09 15:27:42 +00:00
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
::boost::shared_ptr<FrameworkHelper> pHelper (FrameworkHelper::Instance(*this));
2008-04-09 15:27:42 +00:00
// Create the resource ids for the center pane and view.
const Reference<drawing::framework::XResourceId> xCenterPaneId (
pHelper->CreateResourceId(FrameworkHelper::msCenterPaneURL));
const Reference<drawing::framework::XResourceId> xCenterViewId (
pHelper->CreateResourceId(sView, xCenterPaneId));
// Request center pane and view.
xConfigurationController->requestResourceActivation(xCenterPaneId, ResourceActivationMode_ADD);
xConfigurationController->requestResourceActivation(xCenterViewId, ResourceActivationMode_REPLACE);
// Process configuration events synchronously until the center view
// has been created.
sd::framework::ConfigurationController* pConfigurationController
= dynamic_cast<sd::framework::ConfigurationController*>(xConfigurationController.get());
if (pConfigurationController != NULL)
{
while (
! pConfigurationController->getResource(xCenterViewId).is()
&& pConfigurationController->hasPendingRequests())
{
pConfigurationController->ProcessEvent();
}
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
}
}
catch (RuntimeException&)
{}
// AutoLayouts have to be ready.
GetDocument()->StopWorkStartupDelay();
UpdateBorder();
// Remember the type of the current main view shell in the frame view.
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pViewShell = GetMainViewShell().get();
if (pViewShell != NULL)
{
FrameView* pFrameView = pViewShell->GetFrameView();
if (pFrameView != NULL)
pFrameView->SetViewShellTypeOnLoad(pViewShell->GetShellType());
}
}
::boost::shared_ptr<ViewShellManager> ViewShellBase::GetViewShellManager (void) const
{
return mpImpl->mpViewShellManager;
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
::boost::shared_ptr<ViewShell> ViewShellBase::GetMainViewShell (void) const
{
::boost::shared_ptr<ViewShell> pMainViewShell (
framework::FrameworkHelper::Instance(*const_cast<ViewShellBase*>(this))
->GetViewShell(framework::FrameworkHelper::msCenterPaneURL));
if (pMainViewShell.get() == NULL)
pMainViewShell = framework::FrameworkHelper::Instance(*const_cast<ViewShellBase*>(this))
->GetViewShell(framework::FrameworkHelper::msFullScreenPaneURL);
return pMainViewShell;
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
ViewShellBase* ViewShellBase::GetViewShellBase (SfxViewFrame* pViewFrame)
{
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
ViewShellBase* pBase = NULL;
if (pViewFrame != NULL)
{
// Get the view shell for the frame and cast it to
// sd::ViewShellBase.
SfxViewShell* pSfxViewShell = pViewFrame->GetViewShell();
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
if (pSfxViewShell!=NULL && pSfxViewShell->ISA(::sd::ViewShellBase))
pBase = static_cast<ViewShellBase*>(pSfxViewShell);
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
return pBase;
}
void ViewShellBase::GetMenuState (SfxItemSet& )
{
}
DrawDocShell* ViewShellBase::GetDocShell (void) const
{
return mpDocShell;
}
SdDrawDocument* ViewShellBase::GetDocument (void) const
{
return mpDocument;
}
void ViewShellBase::Notify(SfxBroadcaster& rBC, const SfxHint& rHint)
{
SfxViewShell::Notify(rBC, rHint);
if (rHint.IsA(TYPE(SfxEventHint)))
{
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
switch (static_cast<const SfxEventHint&>(rHint).GetEventId())
{
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
case SFX_EVENT_OPENDOC:
if( GetDocument() && GetDocument()->IsStartWithPresentation() )
{
if( GetViewFrame() )
{
GetDocument()->SetStartWithPresentation( false );
GetViewFrame()->GetDispatcher()->Execute(
SID_PRESENTATION, SFX_CALLMODE_ASYNCHRON );
}
}
else
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
// mpPaneManager->InitPanes();
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
break;
case SFX_EVENT_CREATEDOC:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
// mpPaneManager->InitPanes();
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
break;
case SFX_EVENT_ACTIVATEDOC:
break;
case SFX_EVENT_STARTAPP:
case SFX_EVENT_CLOSEAPP:
case SFX_EVENT_CLOSEDOC:
case SFX_EVENT_SAVEDOC:
case SFX_EVENT_SAVEASDOC:
case SFX_EVENT_DEACTIVATEDOC:
case SFX_EVENT_PRINTDOC:
case SFX_EVENT_ONERROR:
case SFX_EVENT_LOADFINISHED:
case SFX_EVENT_SAVEFINISHED:
case SFX_EVENT_MODIFYCHANGED:
case SFX_EVENT_PREPARECLOSEDOC:
case SFX_EVENT_NEWMESSAGE:
case SFX_EVENT_TOGGLEFULLSCREENMODE:
case SFX_EVENT_SAVEDOCDONE:
case SFX_EVENT_SAVEASDOCDONE:
case SFX_EVENT_MOUSEOVER_OBJECT:
case SFX_EVENT_MOUSECLICK_OBJECT:
case SFX_EVENT_MOUSEOUT_OBJECT:
break;
}
}
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
void ViewShellBase::InitializeFramework (void)
{
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
void ViewShellBase::InnerResizePixel (const Point& rOrigin, const Size &rSize)
{
Size aObjSize = GetObjectShell()->GetVisArea().GetSize();
if ( aObjSize.Width() > 0 && aObjSize.Height() > 0 )
{
SvBorder aBorder( GetBorderPixel() );
Size aSize( rSize );
aSize.Width() -= (aBorder.Left() + aBorder.Right());
aSize.Height() -= (aBorder.Top() + aBorder.Bottom());
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
Size aObjSizePixel = mpImpl->mpViewWindow->LogicToPixel( aObjSize, MAP_100TH_MM );
SfxViewShell::SetZoomFactor(
Fraction( aSize.Width(), std::max( aObjSizePixel.Width(), (long int)1 ) ),
Fraction( aSize.Height(), std::max( aObjSizePixel.Height(), (long int)1) ) );
}
mpImpl->ResizePixel(rOrigin, rSize, false);
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
void ViewShellBase::OuterResizePixel (const Point& rOrigin, const Size &rSize)
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
{
mpImpl->ResizePixel (rOrigin, rSize, true);
}
void ViewShellBase::Rearrange (void)
{
OSL_ASSERT(GetViewFrame()!=NULL);
// There is a bug in the communication between embedded objects and the
// framework::LayoutManager that leads to missing resize updates. The
// following workaround enforces such an update by cycling the border to
// zero and back to the current value.
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
if (GetWindow() != NULL)
{
SetBorderPixel(SvBorder());
UpdateBorder(true);
}
else
{
OSL_TRACE("Rearrange: window missing");
}
GetViewFrame()->Resize(TRUE);
}
ErrCode ViewShellBase::DoVerb (long nVerb)
{
ErrCode aResult = ERRCODE_NONE;
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
::sd::ViewShell* pShell = GetMainViewShell().get();
if (pShell != NULL)
aResult = pShell->DoVerb (nVerb);
return aResult;
}
SfxPrinter* ViewShellBase::GetPrinter (BOOL bCreate)
{
OSL_ASSERT(mpImpl.get()!=NULL);
OSL_ASSERT(mpImpl->mpPrintManager.get()!=NULL);
return mpImpl->mpPrintManager->GetPrinter(bCreate);
}
USHORT ViewShellBase::SetPrinter (
SfxPrinter* pNewPrinter,
USHORT nDiffFlags,
bool bIsAPI)
{
OSL_ASSERT(mpImpl.get()!=NULL);
OSL_ASSERT(mpImpl->mpPrintManager.get()!=NULL);
return mpImpl->mpPrintManager->SetPrinter (pNewPrinter, nDiffFlags, bIsAPI);
}
PrintDialog* ViewShellBase::CreatePrintDialog (::Window *pParent)
{
OSL_ASSERT(mpImpl.get()!=NULL);
OSL_ASSERT(mpImpl->mpPrintManager.get()!=NULL);
return mpImpl->mpPrintManager->CreatePrintDialog (pParent);
}
SfxTabPage* ViewShellBase::CreatePrintOptionsPage(
::Window *pParent,
const SfxItemSet &rOptions)
{
OSL_ASSERT(mpImpl.get()!=NULL);
OSL_ASSERT(mpImpl->mpPrintManager.get()!=NULL);
return mpImpl->mpPrintManager->CreatePrintOptionsPage (pParent, rOptions);
}
USHORT ViewShellBase::Print(SfxProgress& rProgress, BOOL bIsAPI, PrintDialog* pDlg)
{
OSL_ASSERT(mpImpl.get()!=NULL);
OSL_ASSERT(mpImpl->mpPrintManager.get()!=NULL);
return mpImpl->mpPrintManager->Print (rProgress, bIsAPI, pDlg);
}
ErrCode ViewShellBase::DoPrint (
SfxPrinter* pPrinter,
PrintDialog* pPrintDialog,
BOOL bSilent, BOOL bIsAPI )
{
OSL_ASSERT(mpImpl.get()!=NULL);
OSL_ASSERT(mpImpl->mpPrintManager.get()!=NULL);
return mpImpl->mpPrintManager->DoPrint (pPrinter, pPrintDialog, bSilent, bIsAPI );
}
USHORT ViewShellBase::SetPrinterOptDlg (
SfxPrinter* pNewPrinter,
USHORT nDiffFlags,
BOOL bShowDialog)
{
OSL_ASSERT(mpImpl.get()!=NULL);
OSL_ASSERT(mpImpl->mpPrintManager.get()!=NULL);
return mpImpl->mpPrintManager->SetPrinterOptDlg (
pNewPrinter,
nDiffFlags,
bShowDialog);
}
void ViewShellBase::PreparePrint (PrintDialog* pPrintDialog)
{
OSL_ASSERT(mpImpl.get()!=NULL);
OSL_ASSERT(mpImpl->mpPrintManager.get()!=NULL);
SfxViewShell::PreparePrint (pPrintDialog);
return mpImpl->mpPrintManager->PreparePrint (pPrintDialog);
}
void ViewShellBase::UIActivating( SfxInPlaceClient* pClient )
{
mpImpl->ShowViewTabBar(false);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pViewShell = GetMainViewShell().get();
if ( pViewShell )
pViewShell->UIActivating( pClient );
SfxViewShell::UIActivating( pClient );
}
void ViewShellBase::UIDeactivated( SfxInPlaceClient* pClient )
{
SfxViewShell::UIDeactivated( pClient );
mpImpl->ShowViewTabBar(true);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pViewShell = GetMainViewShell().get();
if ( pViewShell )
pViewShell->UIDeactivated( pClient );
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
SvBorder ViewShellBase::GetBorder (bool )
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
{
int nTop = 0;
if (mpImpl->mpViewTabBar.is() && mpImpl->mpViewTabBar->GetTabControl()->IsVisible())
nTop = mpImpl->mpViewTabBar->GetHeight();
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
return SvBorder(0,nTop,0,0);
}
void ViewShellBase::Execute (SfxRequest& rRequest)
{
USHORT nSlotId = rRequest.GetSlot();
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
switch (nSlotId)
{
case SID_SWITCH_SHELL:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
{
Reference<XControllerManager> xControllerManager (GetController(), UNO_QUERY);
if (xControllerManager.is())
{
Reference<XConfigurationController> xConfigurationController (
xControllerManager->getConfigurationController());
if (xConfigurationController.is())
xConfigurationController->update();
}
}
break;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
case SID_LEFT_PANE_DRAW:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
mpImpl->SetPaneVisibility(
rRequest,
framework::FrameworkHelper::msLeftDrawPaneURL,
framework::FrameworkHelper::msSlideSorterURL);
break;
case SID_LEFT_PANE_IMPRESS:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
mpImpl->SetPaneVisibility(
rRequest,
framework::FrameworkHelper::msLeftImpressPaneURL,
framework::FrameworkHelper::msSlideSorterURL);
break;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
case SID_RIGHT_PANE:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
mpImpl->SetPaneVisibility(
rRequest,
framework::FrameworkHelper::msRightPaneURL,
framework::FrameworkHelper::msTaskPaneURL);
break;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
case SID_NORMAL_MULTI_PANE_GUI:
case SID_SLIDE_SORTER_MULTI_PANE_GUI:
case SID_DRAWINGMODE:
case SID_DIAMODE:
case SID_OUTLINEMODE:
case SID_NOTESMODE:
case SID_HANDOUTMODE:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
framework::FrameworkHelper::Instance(*this)->HandleModeChangeSlot(nSlotId, rRequest);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
break;
case SID_WIN_FULLSCREEN:
// The full screen mode is not supported. Ignore the request.
break;
case SID_TASK_PANE:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
mpImpl->ProcessTaskPaneSlot(rRequest);
break;
case SID_RESTORE_EDITING_VIEW:
mpImpl->ProcessRestoreEditingViewSlot();
break;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
default:
// Ignore any other slot.
rRequest.Ignore ();
break;
}
}
void ViewShellBase::GetState (SfxItemSet& rSet)
{
// The full screen mode is not supported. Disable the the slot so that
// it appears grayed out when somebody uses configures the menu to show
// an menu item for it.
// if (rSet.GetItemState(SID_WIN_FULLSCREEN) == SFX_ITEM_AVAILABLE)
// rSet.DisableItem(SID_WIN_FULLSCREEN);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
mpImpl->GetSlotState(rSet);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
FuBullet::GetSlotState( rSet, 0, GetViewFrame() );
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
void ViewShellBase::WriteUserDataSequence (
::com::sun::star::uno::Sequence <
::com::sun::star::beans::PropertyValue >& rSequence,
sal_Bool bBrowse)
{
// Forward call to main sub shell.
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pShell = GetMainViewShell().get();
if (pShell != NULL)
pShell->WriteUserDataSequence (rSequence, bBrowse);
}
void ViewShellBase::ReadUserDataSequence (
const ::com::sun::star::uno::Sequence <
::com::sun::star::beans::PropertyValue >& rSequence,
sal_Bool bBrowse)
{
// Forward call to main sub shell.
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pShell = GetMainViewShell().get();
if (pShell != NULL)
{
pShell->ReadUserDataSequence (rSequence, bBrowse);
// For certain shell types ReadUserDataSequence may have changed the
// type to another one. Make sure that the center pane shows the
// right view shell.
switch (pShell->GetShellType())
{
case ViewShell::ST_IMPRESS:
case ViewShell::ST_NOTES:
case ViewShell::ST_HANDOUT:
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
::rtl::OUString sViewURL;
switch (PTR_CAST(DrawViewShell, pShell)->GetPageKind())
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
default:
case PK_STANDARD:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
sViewURL = framework::FrameworkHelper::msImpressViewURL;
break;
case PK_NOTES:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
sViewURL = framework::FrameworkHelper::msNotesViewURL;
break;
case PK_HANDOUT:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
sViewURL = framework::FrameworkHelper::msHandoutViewURL;
break;
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
if (sViewURL.getLength() > 0)
framework::FrameworkHelper::Instance(*this)->RequestView(
sViewURL,
framework::FrameworkHelper::msCenterPaneURL);
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
break;
default:
break;
}
}
}
void ViewShellBase::Activate (BOOL bIsMDIActivate)
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
{
SfxViewShell::Activate(bIsMDIActivate);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
Reference<XControllerManager> xControllerManager (GetController(), UNO_QUERY);
if (xControllerManager.is())
{
Reference<XConfigurationController> xConfigurationController (
xControllerManager->getConfigurationController());
if (xConfigurationController.is())
xConfigurationController->update();
}
GetToolBarManager()->RequestUpdate();
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
}
void ViewShellBase::Deactivate (BOOL bIsMDIActivate)
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
{
SfxViewShell::Deactivate(bIsMDIActivate);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
}
void ViewShellBase::SetZoomFactor (
const Fraction &rZoomX,
const Fraction &rZoomY)
{
SfxViewShell::SetZoomFactor (rZoomX, rZoomY);
// Forward call to main sub shell.
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pShell = GetMainViewShell().get();
if (pShell != NULL)
pShell->SetZoomFactor (rZoomX, rZoomY);
}
USHORT ViewShellBase::PrepareClose (BOOL bUI, BOOL bForBrowsing)
{
USHORT nResult = SfxViewShell::PrepareClose (bUI, bForBrowsing);
if (nResult == TRUE)
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
mpImpl->mbIsClosing = true;
// Forward call to main sub shell.
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pShell = GetMainViewShell().get();
if (pShell != NULL)
nResult = pShell->PrepareClose (bUI, bForBrowsing);
}
return nResult;
}
void ViewShellBase::WriteUserData (String& rString, BOOL bBrowse)
{
SfxViewShell::WriteUserData (rString, bBrowse);
// Forward call to main sub shell.
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pShell = GetMainViewShell().get();
if (pShell != NULL)
pShell->WriteUserData (rString);
}
void ViewShellBase::ReadUserData (const String& rString, BOOL bBrowse)
{
SfxViewShell::ReadUserData (rString, bBrowse);
// Forward call to main sub shell.
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pShell = GetMainViewShell().get();
if (pShell != NULL)
pShell->ReadUserData (rString);
}
SdrView* ViewShellBase::GetDrawView (void) const
{
// Forward call to main sub shell.
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pShell = GetMainViewShell().get();
if (pShell != NULL)
return pShell->GetDrawView ();
else
return SfxViewShell::GetDrawView();
}
void ViewShellBase::AdjustPosSizePixel (const Point &rOfs, const Size &rSize)
{
SfxViewShell::AdjustPosSizePixel (rOfs, rSize);
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
void ViewShellBase::SetBusyState (bool bBusy)
{
if (GetDocShell() != NULL)
GetDocShell()->SetWaitCursor (bBusy);
}
void ViewShellBase::UpdateBorder ( bool bForce /* = false */ )
{
// The following calls to SetBorderPixel() and InvalidateBorder() are
// made only for the main view shell. This not only avoids unnecessary
// calls for the views in side panes but prevents calling an already
// dying SfxViewShell base class.
// For issue #140703# we have to check the existence of the window,
// too. The SfxTopViewFrame accesses the window without checking it.
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pMainViewShell = GetMainViewShell().get();
if (pMainViewShell != NULL && GetWindow()!=NULL)
{
SvBorder aCurrentBorder (GetBorderPixel());
bool bOuterResize ( ! GetDocShell()->IsInPlaceActive());
SvBorder aBorder (GetBorder(bOuterResize));
aBorder += pMainViewShell->GetBorder(bOuterResize);
if (bForce || (aBorder != aCurrentBorder))
{
SetBorderPixel (aBorder);
InvalidateBorder();
}
}
}
void ViewShellBase::ShowUIControls (bool bVisible)
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
if (mpImpl->mpViewTabBar.is())
mpImpl->mpViewTabBar->GetTabControl()->Show(bVisible);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pMainViewShell = GetMainViewShell().get();
if (pMainViewShell != NULL)
pMainViewShell->ShowUIControls (bVisible);
UpdateBorder();
if (bVisible)
Rearrange();
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
OUString ViewShellBase::GetInitialViewShellType (void)
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
OUString sRequestedView (FrameworkHelper::msImpressViewURL);
do
{
Reference<document::XViewDataSupplier> xViewDataSupplier (
GetDocShell()->GetModel(), UNO_QUERY);
if ( ! xViewDataSupplier.is())
break;
Reference<container::XIndexAccess> xViewData (xViewDataSupplier->getViewData());
if ( ! xViewData.is())
break;
if (xViewData->getCount() == 0)
break;
sal_Int32 nView = 0;
::com::sun::star::uno::Any aAny = xViewData->getByIndex(nView);
Sequence<beans::PropertyValue> aProperties;
if ( ! (aAny >>= aProperties))
break;
// Search the properties for the one that tells us what page kind to
// use.
for (sal_Int32 n=0; n<aProperties.getLength(); n++)
{
const beans::PropertyValue& rProperty (aProperties[n]);
if (rProperty.Name.compareToAscii(sUNO_View_PageKind) == COMPARE_EQUAL)
{
sal_Int16 nPageKind = 0;
rProperty.Value >>= nPageKind;
switch ((PageKind)nPageKind)
{
case PK_STANDARD:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
sRequestedView = FrameworkHelper::msImpressViewURL;
break;
case PK_HANDOUT:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
sRequestedView = FrameworkHelper::msHandoutViewURL;
break;
case PK_NOTES:
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
sRequestedView = FrameworkHelper::msNotesViewURL;
break;
default:
// The page kind is invalid. This is propably an
// error by the caller. We use the standard type to
// keep things going.
DBG_ASSERT(sal_False, "ViewShellBase::GetInitialViewShellType: invalid page kind");
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
sRequestedView = FrameworkHelper::msImpressViewURL;
break;
}
break;
}
}
}
while (false);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
return sRequestedView;
}
/** this method starts the presentation by
executing the slot SID_PRESENTATION asynchronous */
void ViewShellBase::StartPresentation()
{
if( GetViewFrame() && GetViewFrame()->GetDispatcher() )
GetViewFrame()->GetDispatcher()->Execute(SID_PRESENTATION, SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD );
}
::boost::shared_ptr<tools::EventMultiplexer> ViewShellBase::GetEventMultiplexer (void)
{
OSL_ASSERT(mpImpl.get()!=NULL);
OSL_ASSERT(mpImpl->mpEventMultiplexer.get()!=NULL);
return mpImpl->mpEventMultiplexer;
}
const Rectangle& ViewShellBase::getClientRectangle (void) const
{
return mpImpl->maClientArea;
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
::boost::shared_ptr<UpdateLockManager> ViewShellBase::GetUpdateLockManager (void) const
{
OSL_ASSERT(mpImpl.get()!=NULL);
OSL_ASSERT(mpImpl->mpUpdateLockManager.get()!=NULL);
return mpImpl->mpUpdateLockManager;
}
::boost::shared_ptr<ToolBarManager> ViewShellBase::GetToolBarManager (void) const
{
OSL_ASSERT(mpImpl.get()!=NULL);
OSL_ASSERT(mpImpl->mpToolBarManager.get()!=NULL);
return mpImpl->mpToolBarManager;
}
::boost::shared_ptr<FormShellManager> ViewShellBase::GetFormShellManager (void) const
{
OSL_ASSERT(mpImpl.get()!=NULL);
OSL_ASSERT(mpImpl->mpFormShellManager.get()!=NULL);
return mpImpl->mpFormShellManager;
}
DrawController& ViewShellBase::GetDrawController (void) const
{
OSL_ASSERT(mpImpl.get()!=NULL);
return *mpImpl->mpController;
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
void ViewShellBase::SetViewTabBar (const ::rtl::Reference<ViewTabBar>& rViewTabBar)
{
OSL_ASSERT(mpImpl.get()!=NULL);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
mpImpl->mpViewTabBar = rViewTabBar;
}
::Window* ViewShellBase::GetViewWindow (void)
{
OSL_ASSERT(mpImpl.get()!=NULL);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
return mpImpl->mpViewWindow.get();
}
CustomHandleManager& ViewShellBase::getCustomHandleManager() const
{
OSL_ASSERT(mpImpl.get()!=NULL);
if( !mpImpl->mpCustomHandleManager.get() )
mpImpl->mpCustomHandleManager.reset( new ::sd::CustomHandleManager(*const_cast< ViewShellBase* >(this)) );
return *mpImpl->mpCustomHandleManager.get();
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
//===== ViewShellBase::Implementation =========================================
ViewShellBase::Implementation::Implementation (ViewShellBase& rBase)
: mpController(),
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
mpViewTabBar(),
maClientArea(),
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
mbIsClosing(false),
mpViewWindow(),
mpToolBarManager(),
mpViewShellManager(),
mpEventMultiplexer(),
mpUpdateLockManager(),
mpPrintManager(),
mpFormShellManager(),
mrBase(rBase),
mpPageCacheManager(slidesorter::cache::PageCacheManager::Instance())
{
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShellBase::Implementation::~Implementation (void)
{
mpController = NULL;
mpViewTabBar = NULL;
mpViewWindow.reset();
mpToolBarManager.reset();
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
}
void ViewShellBase::Implementation::LateInit (void)
{
mpController = new DrawController(mrBase);
}
void ViewShellBase::Implementation::ProcessRestoreEditingViewSlot (void)
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pViewShell = mrBase.GetMainViewShell().get();
if (pViewShell != NULL)
{
FrameView* pFrameView = pViewShell->GetFrameView();
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
if (pFrameView != NULL)
{
// Set view shell, edit mode, and page kind.
pFrameView->SetViewShEditMode(
pFrameView->GetViewShEditModeOnLoad(),
pFrameView->GetPageKindOnLoad());
pFrameView->SetPageKind(
pFrameView->GetPageKindOnLoad());
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
::boost::shared_ptr<FrameworkHelper> pHelper (FrameworkHelper::Instance(mrBase));
pHelper->RequestView(
pHelper->GetViewURL(pFrameView->GetViewShellTypeOnLoad()),
FrameworkHelper::msCenterPaneURL);
pHelper->RunOnConfigurationEvent(
::rtl::OUString::createFromAscii("ConfigurationUpdateEnd"),
CurrentPageSetter(mrBase));
}
}
}
void ViewShellBase::Implementation::ShowViewTabBar (bool bShow)
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
if (mpViewTabBar.is()
&& (mpViewTabBar->GetTabControl()->IsVisible()==TRUE) != bShow)
{
mpViewTabBar->GetTabControl()->Show(bShow ? TRUE : FALSE);
mrBase.Rearrange();
}
}
void ViewShellBase::Implementation::ResizePixel (
const Point& rOrigin,
const Size &rSize,
bool bOuterResize)
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
if (mbIsClosing)
return;
// Forward the call to both the base class and the main stacked sub
// shell only when main sub shell exists.
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
ViewShell* pMainViewShell = mrBase.GetMainViewShell().get();
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
// Set the ViewTabBar temporarily to full size so that, when asked
// later, it can return its true height.
mrBase.SetWindow (mpViewWindow.get());
if (mpViewTabBar.is() && mpViewTabBar->GetTabControl()->IsVisible())
mpViewTabBar->GetTabControl()->SetPosSizePixel (rOrigin, rSize);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
// Calculate and set the border before the controls are placed.
SvBorder aBorder;
if (pMainViewShell != NULL)
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
aBorder = pMainViewShell->GetBorder(bOuterResize);
aBorder += mrBase.GetBorder(bOuterResize);
if (mrBase.GetBorderPixel() != aBorder)
mrBase.SetBorderPixel(aBorder);
// Place the ViewTabBar at the top. It is part of the border.
SvBorder aBaseBorder;
if (mpViewTabBar.is() && mpViewTabBar->GetTabControl()->IsVisible())
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
aBaseBorder.Top() = mpViewTabBar->GetHeight();
mpViewTabBar->GetTabControl()->SetPosSizePixel(
rOrigin, Size(rSize.Width(),aBaseBorder.Top()));
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
// The view window gets the remaining space.
Point aViewWindowPosition (
rOrigin.X()+aBaseBorder.Left(),
rOrigin.Y()+aBaseBorder.Top());
Size aViewWindowSize (
rSize.Width() - aBaseBorder.Left() - aBaseBorder.Right(),
rSize.Height() - aBaseBorder.Top() - aBaseBorder.Bottom());
mpViewWindow->SetPosSizePixel(aViewWindowPosition, aViewWindowSize);
maClientArea = Rectangle(Point(0,0), aViewWindowSize);
}
void ViewShellBase::Implementation::SetPaneVisibility (
const SfxRequest& rRequest,
const ::rtl::OUString& rsPaneURL,
const ::rtl::OUString& rsViewURL)
{
try
{
Reference<XControllerManager> xControllerManager (mrBase.GetController(), UNO_QUERY_THROW);
CWS-TOOLING: integrate CWS odfmetadata2 2009-06-22 11:48:36 +0200 mst r273206 : - connectivity/source/drivers/mozab/mozillasrc/MNSInclude.hxx: + add "include ustrbuf.hxx" to work around warning caused by solaris <sys/kstat.h> declaring a global "long l ;" 2009-06-19 14:25:25 +0200 mst r273159 : - scp2/source/ooo/file_library_ooo.scp: + fix MinGW build 2009-06-08 12:52:33 +0200 mst r272727 : - redland/raptor-1.4.18.patch.mingw, redland/raptor/makefile.mk: + disable parsers that do not build on MinGW (thanks for patch by tono) 2009-05-15 17:31:07 +0200 mst r271957 : fix typos 2009-05-15 17:28:57 +0200 mst r271956 : #i101965# - offapi/com/sun/star/text/TextPortion: + add missing properties: SoftPageBreak, DocumentIndexMark, ReferenceMark, Footnote, TextField + fix read-only status of properties: Bookmark, IsStart, IsCollapsed - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb 2009-05-07 14:41:38 +0200 mst r271669 : - sw/inc/{fmtftn.hxx,unocoll.hxx,doc.hxx,editsh.hxx,ftninfo.hxx}, sw/source/core/layout/{flowfrm.cxx,ftnfrm.cxx}, sw/source/core/doc/docftn.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/txtnode/atrftn.cxx, sw/source/core/unocore/unocoll.cxx, sw/source/ui/fldui/fldref.cxx: + fix warning ... the hard way + also fix signature of SwDoc::SetCurFtn 2009-05-05 19:52:55 +0200 mst r271556 : - sw/inc/undobj.hxx: + make some members const 2009-05-05 19:34:40 +0200 mst r271555 : - sw/inc/rolbck.hxx, sw/source/core/undo/rolbck.cxx: + make some members const 2009-05-05 19:13:14 +0200 mst r271553 : - sw/inc/{undobj.hxx,rolbck.hxx}, sw/source/core/undo/{unbkmk.cxx,rolbck.cxx}: + fix rebase merge error + rename SwHstryBookmark to SwHistoryBookmark + clean up SwUndoBookmark 2009-05-05 19:05:53 +0200 mst r271552 : - sw/source/core/unocore/unoportenum.cxx: + fix annoying assertion 2009-05-05 15:34:48 +0200 mst r271522 : CWS-TOOLING: rebase CWS odfmetadata2 to trunk@271427 (milestone: DEV300:m47) 2009-05-04 12:37:01 +0200 mst r271444 : trivial 2009-04-22 13:30:37 +0200 mst r271102 : - sfx2/inc/sfx2/dinfdlg.hxx: + trivial change 2009-04-21 16:46:58 +0200 mst r271043 : - sw/inc/hintids.hxx: + introduce some predicates for the various hints, and use them 2009-04-21 16:19:03 +0200 mst r271041 : - sw/inc/undobj.hxx, sw/source/core/doc/{docfly.cxx,docfmt.cxx,docftn.cxx,doctxm.cxx}, sw/source/core/undo/{unattr.cxx,unins.cxx}: + clean up unattr.cxx: remove/fix casts, prefix members, use auto_ptr, etc. 2009-04-21 15:34:23 +0200 mst r271039 : - sw/inc/{rolbck.hxx,undobj.hxx}, sw/source/core/doc/docfmt.cxx, sw/source/core/txtnode/{thints.cxx,txtedt.cxx}, sw/source/core/undo/{rolbck.cxx,undel.cxx,undobj.cxx,unins.cxx,unmove.cxx, unovwr.cxx,unsect.cxx,unspnd.cxx,untbl.cxx,untblk.cxx,unattr.cxx}: + clean up SwHistory, SwRegHistory and SwHistoryHint etc.: remove/fix casts, prefix members, remove wrong const annotations, use auto_ptr, remove unused members, etc. 2009-04-20 19:17:36 +0200 mst r271013 : - sw/inc/ndhints.hxx, sw/source/core/text/{itrtxt.cxx,txtftn.cxx,itratr.cxx,porfly.cxx, txtfrm.cxx,txtdrop.cxx,frmform.cxx}, sw/source/core/txtnode/{ndtxt.cxx,ndhints.cxx,thints.cxx,txtedt.cxx}, sw/source/core/edit/acorrect.cxx, sw/source/core/doc/{docedt.cxx,docfmt.cxx}, sw/source/filter/html/swhtml.cxx: + clean up SwHintsArray and its subclasses: remove/fix casts, prefix members 2009-04-20 18:42:07 +0200 mst r271007 : - sw/source/core/text/txtio.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/undo/rolbck.cxx: + remove JP_NEWCORE dead code 2009-04-20 18:38:09 +0200 mst r271006 : - sw/source/core/unocore/unochart.cxx: + silence unxlngi warning (debug=t) 2009-04-20 16:36:13 +0200 mst r270991 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx, sw/source/ui/fldui/flddinf.hxx: + trivial cleanups 2009-04-20 15:28:52 +0200 mst r270990 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx: + fix bug: replaying a macro with a DocumentInfoItem removes all user-defined properties 2009-03-10 15:08:20 +0100 mst r269273 : - sfx2/source/doc/Metadatable.cxx: + add missing SolarMutex guards 2009-03-10 14:46:29 +0100 mst r269272 : - unoxml/source/rdf/librdf_repository.cxx: + never free rdf_world because that would call libxm2 xmlCleanupParser (and, to add insult to injury, other libxml2 functions later...) 2009-03-06 19:02:44 +0100 mst r269041 : argh! undo... 2009-03-06 19:00:58 +0100 mst r269040 : fix #i99931# - sw/source/ui/uno/unomod.cxx: + SwXViewSettings::_getSingleValue returns uninitialized memory for the ZoomType property if the value is PAGE_WIDTH_EXACT 2009-03-06 18:59:28 +0100 mst r269039 : - sw/inc/ndtxt.hxx, sw/source/core/txtnode/ndtxt.cxx, sw/source/core/unocore/unoportenum.cxx: + fix some more wntmsci12 warnings... 2009-03-06 18:56:46 +0100 mst r269038 : - sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx: + work around spurious warning on unxsoli4 debug=t 2009-03-05 14:02:01 +0100 mst r268902 : - sw/inc/txatbase.hxx: + back to c-style casts, they also compile on wntmsci12... 2009-03-05 10:23:25 +0100 mst r268882 : - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + revert change of return type of comphelper_getProcessComponentContext to Reference: does not build on wntmsci12 2009-03-04 19:08:09 +0100 mst r268861 : - sw/source/core/txtnode/{atrtox.cxx,ndtxt.cxx}: + fix initialization 2009-03-04 14:37:30 +0100 mst r268831 : - solenv/inc/target.mk: + fix CLASSPATH so complex tests run (fix by sb) 2009-03-04 14:36:30 +0100 mst r268830 : - sw/inc/unoobj.hxx, sw/source/core/unocore/{unoparagraph.cxx,unoobj.cxx,unoobj2.cxx}: + SwXParaFrameEnumeration constructor now takes SwPaM, not SwUnoCrsr + move SwParaSelection into unoparagraph.cxx, as it is only used there + bugfix: replace SwUnoCrsrs on stack with SwCursors 2009-03-04 14:34:46 +0100 mst r268829 : - sw/inc/pam.hxx, sw/source/core/crsr/pam.cxx, sw/source/core/edit/eddel.cxx, sw/source/core/doc/docredln.cxx, sw/source/core/undo/{untbl.cxx,undel.cxx}, sw/source/filter/rtf/swparrtf.cxx: + clean up SwPaM: prefix members + new constructor SwPosition(SwCntntNode&, xub_StrLen) + fix several broken SwPosition and SwPaM constructors + SwPam::DeleteMark now actually resets the unused position to default 2009-03-02 12:07:09 +0100 mst r268646 : - sw/inc/fmtcol.hxx: + fix annoying warning (gcc 4) 2009-03-02 12:06:27 +0100 mst r268645 : - odk/util/check.pl, odk/examples/DevelopersGuide/Text/TextDocuments.java: + rename module from FieldMaster to fieldmaster 2009-02-27 19:49:56 +0100 mst r268614 : - sfx2/inc/sfx2/Metadatable.hxx, sfx2/prj/d.lst, sfx2/source/doc/{Metadatable.cxx,makefile.mk}, sw/inc/{SwMetadatable.hxx,unoobj.hxx,undobj.hxx,ndtxt.hxx}, sw/source/core/doc/{SwMetadatable.cxx,makefile.mk,docnew.cxx}, sw/source/core/undo/{untbl.cxx,unins.cxx}, sw/source/core/unocore/unoparagraph.cxx, sw/source/ui/app/docsh.cxx: + move Metadatable implementation from sw to sfx2 2009-02-27 17:58:55 +0100 mst r268608 : - sw/inc/{SwMetadatable.hxx,undobj.hxx}, sw/source/core/doc/SwMetadatable.cxx, sw/source/core/undo/{untbl.cxx,unins.cxx,undel.cxx}: + CreateUndo now returns an opaque MetadatableUndo object 2009-02-27 13:15:44 +0100 mst r268587 : - sw/inc/ndtxt.hxx, sw/source/core/doc/docfmt.cxx, sw/source/core/text/{itratr.cxx,porlay.cxx}, sw/source/core/txtnode/{txtedt.cxx,ndtxt.cxx,thints.cxx}: + clean up SwTxtNode: fix casts, prefix members + factor out inline function SwTxtNode::TryDeleteSwpHints() 2009-02-27 13:14:30 +0100 mst r268586 : - svx/inc/svx/emphitem.hxx: + fix borken header guard 2009-02-27 13:13:56 +0100 mst r268585 : - sfx2/source/bastyp/progress.cxx: + fix use of compiler specific macro 2009-02-27 11:00:32 +0100 mst r268564 : - sw/inc/{txatbase.hxx,txtatr.hxx,txtinet.hxx,txtfld.hxx,txtftn.hxx, txtflcnt.hxx,txttxmrk.hxx,txtrfmrk.hxx}, sw/source/core/txtnode/{atrtox.cxx,atrref.cxx,atrflyin.cxx,atrftn.cxx, txtatr2.cxx,txatbase.cxx,atrfld.cxx,txtedt.cxx}, sw/source/core/text/atrstck.cxx, sw/source/core/access/acchyperlink.cxx, sw/source/core/doc/visiturl.cxx, sw/source/ui/wrtsh/wrtsh2.cxx: + clean up SwTxtAttr and its subclasses: remove/fix casts, prefix members + SwTxtINetFmt: remove unused member bColor - sw/source/core/text/txtfld.cxx: + move SwTxtFld methods to atrfld.cxx 2009-02-27 10:58:44 +0100 mst r268563 : - sfx2/inc/sfx2/sfxbasemodel.hxx: + don't privately inherit BaseMutex, ScModelObj wants to access it 2009-02-27 10:58:02 +0100 mst r268562 : - xmloff/source/core/{RDFaExportHelper.cxx,RDFaImportHelper.cxx}: + arrrgh!!! someone thought it would be a good idea to have 2 different versions of boost in external! and they're NOT compatible!!! insert an ugly fragile hack that maybe works with both... 2009-02-26 17:42:26 +0100 mst r268544 : - comphelper/inc/comphelper/storagehelper.hxx. sfx2/source/doc/DocumentMetadataAccess.cxx: + someone made IsValidZipEntryFileName a static method and didn't tell me 2009-02-26 15:52:56 +0100 mst r268529 : redland: split up patches 2009-02-26 13:17:56 +0100 mst r268509 : migration of cws odfmetadata2 from CVS (resync to m42): module sw #i95863# - sw/inc/segdefs{,_}.hxx: + remove obsolete files - sw/source/ui/inc/itemdef.hxx: + remove itemdef.hxx - sw/source/ui/app/[apphdl.cxx,docsh.cxx}, sw/source/ui/misc/glshell.cxx, sw/source/ui/shells/*.cxx, sw/source/ui/uiview/*.cxx, sw/source/ui/web/*.cxx: + use sfx2/msg.hxx instead of itemdef.hxx - sw/source/core/edit/eddel.cxx: + @ JP: SwEditShell::Replace: you're right, deleting the text to be replaced first, and then inserting a space, and then replacing that space is unnecessary. whew, i'm so happy that we finally answered that question after 11 years. - sw/inc/edimp.hxx: + remove FOREACHCURSOR_START, FOREACHCURSOR_END - sw/inc/{swcrsr.hxx,unocrsr.hxx,viscrs.hxx}, sw/source/core/crsr/{crsrsh.cxx,swcrsr.cxx,trvlreg.cxx,trvltbl.cxx, unocrsr.cxx,viscrs.cxx}, sw/source/core/doc/{docbm.cxx,doccorr.cxx}, sw/source/core/docnode/{ndtbl.cxx,ndtbl1.cxx}, sw/source/core/edit/editsh.cxx, sw/source/core/frmedt/{fefly1.cxx,fetab.cxx,tblsel.cxx}, sw/source/core/layout/trvlfrm.cxx, sw/source/core/unocore/{unochart.cxx,unoobj2.cxx,unoparagraph.cxx, unoportenum.cxx,unotbl.cxx}, sw/source/core/view/vprint.cxx: + remove the hideous virtual operator SwFooCursor* + make SwCursor::IsReadOnlyAvailable() virtual + make SwUnoCrsr::Clone() virtual + refactor SwCursor methods IsSelOver(), LeftRight(), UpDown(), GotoTable(): replace dynamic_cast<...>(this) with new virtual methods 2009-02-26 13:14:58 +0100 mst r268508 : migration of cws odfmetadata2 from CVS (resync to m42): module sw - sw/source/filter/xml/swxml.cxx: + XMLReader::Read: load RDF metadata of the ODF document - sw/source/filter/xml/wrtxml.cxx: + SwXMLWriter::_Write: write RDF metadata of the ODF document if ODF >= 1.2 #i90620#: import xml:id in text tables (does not actually work yet) - sw/source/filter/xml/xmltbli{.hxx,.cxx}: + SwXMLTableCellAttrTokens,aTableCellAttrTokenMap: add XML_TOK_TABLE_XMLID + SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl: attribute xml:id + SwXMLTableCellContext_Impl::CreateChildContext: attribute xml:id + SwXMLTableColContext_Impl::SwXMLTableColContext_Impl: attribute xml:id + SwXMLTableContext::SwXMLTableContext: attribute xml:id fix #i98530# - sw/inc/unoport.hxx, sw/source/core/unocore/unoport.cxx: + SwXTextPortion: make constructor params const& - sw/source/core/unocore/unoportenum.cxx: + refactor to remove some code duplication + fix bug: paragraph w/out hints: bookmark before frame gets lost #i97274# handle invalid tables - sw/source/core/layout/tabfrm.cxx, sw/source/filter/xml/xmltbli.cxx: + SwXMLTableContext::MakeTable(): check that the table actually contains cells, and abort (removing the inserted table nodes) if not 2009-02-26 13:11:48 +0100 mst r268507 : migration of cws odfmetadata2 from CVS (resync to m42): module sw refactor SwXTextRange and SwXParagraph - sw/inc/unoobj.hxx, sw/source/core/unocore/unoobj2.cxx: + remove 3 constructors of SwXTextRange + new method SwXTextRange::CreateParentXText + refactor SwXTextRange::CreateTextRangeFromPosition and SwXTextRange::getText - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph no longer uses a cursor; it registers directly at SwTxtNode + replace SwXParagraph::GetCrsr with SwXParagraph::GetTxtNode - sw/source/core/unocore/unotext.cxx, sw/source/ui/uno/unotxvw.cxx: + adapt to new SwXParagraph #i90620# - sw/inc/SwMetadatable.hxx, sw/source/core/doc/SwMetadatable.cxx: + new files: base classes sw::Metadatable and sw::MetadatableMixin; also, 2 implementations of IXmlIdRegistry: sw::XmlIdRegistryDocument and sw::XmlIdRegistryClipboard + setMetadataReference: handle empty stream name as auto-detect - sw/source/core/doc/makefile.mk: + add SwMetadatable add a XmlIdRegistry to SwDoc - sw/inc/doc.hxx: + SwDoc: add member m_pXmlIdRegistry, method GetXmlIdRegistry() - sw/source/core/doc/docnew.cxx: + initialize XmlIdRegistry in SwDoc::GetXmlIdRegistry, not in constructor, because the constructor is not told whether the SwDoc is a clipboard - sw/inc/docsh.hxx, sw/source/ui/app/docsh.cxx: + SwDocShell: override GetXmlIdRegistry() #i91563#: make the SwTxtNode metadatable - sw/inc/ndtxt.hxx + SwTxtNode inherits sw::Metadatable - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph inherits sw::MetadatableMixin #i91563#: handle SwTxtNode's metadata for delete - sw/source/core/txtnode/ndtxt.cxx: + SwTxtNode::SplitCntntNode: handle XmlId + SwTxtNode::JoinNext: merge XmlIds - sw/source/core/doc/docedt.cxx: + lcl_GetJoinFlags: document postcondition + SwDoc::Delete: remove XmlId only if SwTxtNode _becomes_ empty #i91563#: handle SwTxtNode's metadata for delete with undo - sw/inc/undobj.hxx + SwUndoDelete: new members m_pMetadataUndoStart, m_pMetadataUndoEnd - sw/source/core/undo/undel.cxx: + SwUndoDelete::SaveCntnt: save XmlIds for start and end SwTxtNode + SwUndoDelete::SaveCntnt: remove XmlId only if SwTxtNode _becomes_ empty + SwUndoDelete::Undo: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndcopy.cxx: + SwTxtNode::MakeCopy: register copy at XmlIdRegistry #i91563#: handle SwTxtNode's metadata for find/replace with undo - sw/source/core/undo/unins.cxx: + _UnReplaceData: rename members: add prefix m_ + _UnReplaceData: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + _UnReplaceData::_UnReplaceData: save XmlIds for start and end SwTxtNode + _UnReplaceData::Undo: restore saved XmlIds for start and end SwTxtNode #i91563#: handle SwTxtNode's metadata for table-to-text with undo - sw/source/core/undo/untbl.cxx: + SwTblToTxtSave: rename members: add prefix m_ + SwTblToTxtSave: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + SwTblToTxtSave::SwTblToTxtSave: save XmlIds for start and end SwTxtNode + SwTblToTxtSave::SwTblToTxtSave, SwNodes::UndoTableToText: always store the index of the first SwTxtNode in the cell, instead of the index of the first SwTxtNode in case of the first cell in a row, and the cell start node in other cases + SwNodes::UndoTableToText: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndtbl.cxx: + lcl_DelBox: simplify for refactored start index handling in SwTblToTxtSave 2009-02-26 13:02:28 +0100 mst r268505 : migration of cws odfmetadata2 from CVS (resync to m42): module sd - sd/source/ui/table/tableobjectbar.cxx,sd/source/ui/view/*.cxx: + remove invocations of SFX_DECL_TYPE - sd/source/ui/slideshow/SlideShowRestarter.cxx, sd/source/ui/toolpanel/LayoutMenu.cxx, sd/source/ui/unoidl/DrawController.cxx, sd/source/ui/view/{ViewShellBase.cxx,ViewTabBar.cxx,frmview.cxx}: + fix abuses of comphelper_getProcessComponentContext (missing release) 2009-02-26 13:01:24 +0100 mst r268504 : migration of cws odfmetadata2 from CVS (resync to m42): module starmath - starmath/source/document.cxx: + don't touch SfxObjectShell's privates 2009-02-26 13:00:37 +0100 mst r268503 : migration of cws odfmetadata2 from CVS (resync to m42): module sfx2 #i90620# - sfx2/inc/sfx2/XmlIdRegistry.hxx: + new file: interfaces sfx2::IXmlIdRegistry and sfx2::IXmlIdRegistrySupplier and a couple of utility functions - sfx2/inc/sfx2/DocumentMetadataAccess.hxx, sfx2/source/doc/DocumentMetadataAccess.cxx: + new class sfx2::DocumentMetadataAccess, implements XDocumentMetadataAccess + the URI of the DocumentMetadataAccess is now the URI from which the document was loaded; for a new document, use a vnd.sun.star.tdoc URI + add new function sfx2::createBaseURI() + prevent using reserved file names + try not to recurse into embedded subdocuments - sfx2/source/doc/makefile.mk: + add DocumentMetadataAccess - sfx2/util/makefile.mk: + link libsfx2 against libxml2 (needed for xmlValidateNCName) - sfx2/source/doc/makefile.mk: + add LIBXML_CFLAGS to CFLAGS - sfx2/prj/build.lst: + add dependence on libxml2 - sfx2/prj/d.lst: + add XmlIdRegistry.hxx, DocumentMetadataAccess.hxx - sfx2/inc/sfx2/objsh.hxx, sfx2/source/doc/objxtor.cxx: + make SfxObjectShell's members private + new method SfxObjectShell::GetAutoStyleFilterIndex + SfxObjectShell inherits sfx2::IXmlIdRegistrySupplier - sfx2/source/dialog/templdlg.cxx, sfx2/source/doc/sfxbasemodel.cxx: + don't touch SfxObjectShell's privates - sfx2/inc/sfx2/sfxbasemodel.hxx, sfx2/source/doc/sfxbasemodel.cxx: + SfxBaseModel inherits BaseMutex instead of IMPL_SfxBaseModel_MutexContainer + SfxBaseModel implements additional interface XDocumentMetadataAccess + IMPL_SfxBaseModel_DataContainer has new member: a sfx2::DocumentMetadataAccess + implementation of XDocumentMetadataAccess forwards to the sfx2::DocumentMetadataAccess member - sfx2/qa/complex/DocumentMetadataAccessTest.java, sfx2/qa/complex/{tests.sce,makefile.mk}, sfx2/qa/complex/testdocuments/TESTRDFA.odt: + add complex test: DocumentMetadataAccessTest + add RDFa test document #i95863# - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx: + refactor SfxDocumentItem so it no longer requires a XDocumentInfo + move struct CustomProperty to implementation file + remove class SfxDocumentUserPage + QueryValue,PutValue: remove MID_DOCINFO_FIELD* - sfx2/source/doc/objserv.cxx: + adapt to SfxDocumentItem change - sfx2/inc/sfx2/sfx.hrc, sfx2/sdi/sfxslots.sdi, sfx2/inc/sfx2/msg.hxx: + remove MID_DOCINFO_FIELD* + put all invocations of SFX_DECL_TYPE in msg.hxx, and undef SFX_DECL_TYPE - sfx2/source/doc/objxtor.cxx: + fix abuses of comphelper_getProcessComponentContext (missing release) - sfx2/source/doc/docfile.cxx: + SfxMedium::SfxMedium: don't dereference NULL, throw exception instead - sfx2/source/doc/objstor.cxx: + SfxObjectShell::DoLoad: fix bug: DocumentBaseURI is not initialized 2009-02-26 12:58:07 +0100 mst r268502 : migration of cws odfmetadata2 from CVS (resync to m42): module xmloff #i90620#: implement RDFa import (interface change) - xmloff/inc/xmloff/xmlimp.hxx. xmloff/source/core/xmlimp.cxx: + make SvXMLImport::GetAbsoluteReference() const + add SvXMLImport::GetComponentContext() + SvXMLImport::_InitCtor(): add RDFa namespace + add SvXMLImport::AddRDFa() + SvXMLImport::endDocument() inserts RDFa into document repository - xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/xmltoken.cxx: + new tokens for RDFa: XML_ABOUT, XML_DATATYPE - xmloff/inc/RDFaImportHelper.hxx, xmloff/source/core/RDFaImportHelper.cxx: + new class RDFaImportHelper + adapt the code to the bleak reality of broken C++ implementations + handle empty xhtml:about attributes properly, which are actually valid relative URIs + work around broken SvXMLImport::GetAbsoluteReference - xmloff/source/core/makefile.mk: + add RDFaImportHelper.cxx #i90620#: implement RDFa export - xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + add SvXMLExport::EnsureNamespace(), and a stack of namespace maps + add SvXMLExport::GetComponentContext() + add SvXMLExport::AddAttributesRDFa() - xmloff/inc/RDFaExportHelper.hxx, xmloff/source/core/RDFaExportHelper.cxx: + new class RDFaExportHelper + don't use std::map::data_type, which is actually called std::map::mapped_type by libstdc++ - xmloff/source/core/makefile.mk: + add RDFaExportHelper.cxx #i91563# - xmloff/inc/xmloff/txtimp.hxx, xmloff/source/text/txtimp.cxx: + XMLTextPAttrTokens: add RDFa tokens - xmloff/source/text/txtparai{.hxx,.cxx}: + import RDFa for text:p - xmloff/source/text/txtparae.cxx: + export RDFa for text:p interface change: use XHTML namespace instead of RDFA - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlimp.cxx,xmlexp.cxx,RDFaExportHelper.cxx}, xmloff/source/text/txtimp.cxx: + use XHTML namespace instead of RDFA #i91565#, #i91566#: (preliminary) import for text:meta, text:meta-field - xmloff/source/text/txtparai.cxx: + new class XMLMetaImportContextBase with subclasses to import text:meta and text:meta-field - xmloff/source/text/XMLTextMarkImportContext.cxx: + change XMLTextMarkImportContext::CreateAndInsertMark to handle marks with no name (text:meta) #i91565#, #i91566#: (preliminary) export for text:meta, text:meta-field - xmloff/inc/txtflde.hxx, xmloff/source/text/txtflde.cxx: + add FIELD_ID_META to FieldIdEnum + new method XMLTextFieldExport::ExportMetaField() + change XMLTextFieldExport::ExportField{,AutoStyle,Helper} to take additional parameter for progress bar - xmloff/inc/xmloff/txtparae.hxx, xmloff/source/text/txtparae.cxx: + make XMLTextParagraphExport::exportTextRangeEnumeration() public + new method XMLTextParagraphExport::exportMeta() #i90620# - xmloff/inc/xmloff/xmlimp.hxx, xmloff/source/core/xmlimp.cxx, xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + rename SvXML{Im,Ex}port::GetStreamPath() to GetStreamName() + fix xml:id {im,ex}port for embedded documents and non-packages + adapt to API change: XMetadatable #i90620# GRDDL - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlexp.cxx}: + add GRDDL namespace + add token XML_TRANSFORMATION + add grddl:transformation attribute to root elements for meta.xml, content.xml and styles.xml 2009-02-26 12:54:40 +0100 mst r268501 : migration of cws odfmetadata2 from CVS (resync to m42): module unoxml #i90620# - unoxml/source/rdf/librdf_repository.cxx: + librdf_Repository::importGraph: allocate buffer sized length of stream + switch from one librdf_world per repository to a single static world because redland has global variables with a brain-damaged life-cycle... + exportGraph: use new raptor 1.4.18 feature to disable writing an xml:base attribute in RDF/XML files - unoxml/source/rdf/librdf_repository.cxx: unoxml/qa/complex/RDFRepositoryTest.java: + adapt to predicate is URI change + adapt to RDFa API change + adapt to API change: RDFa has multiple predicates... + adapt to API change: XMetadatable derives from XURI + allow xhtml:datatype without xhtml:content + adapt to API change: attribute MetadataReference is StringPair - unoxml/source/rdf/CURI.cxx: + add some more URI constants 2009-02-26 12:53:32 +0100 mst r268500 : migration of cws odfmetadata2 from CVS (resync to m42): module package - package/inc/ImplValidCharacters.hxx: + remove (moved to comphelper) 2009-02-26 12:52:49 +0100 mst r268499 : migration of cws odfmetadata2 from CVS (resync to m42): module comphelper - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + add getProcessComponentContext() + change return type of comphelper_getProcessComponentContext to Reference - comphelper/inc/comphelper/stl_types.hxx: + add OUStringBufferAppender + add algorithm intersperse - comphelper/source/misc/string.cxx: + rewrite convertCommaSeparated with intersperse and OUStringBufferAppender - comphelper/inc/comphelper/stlunosequence.hxx: + fix bug: begin() on empty sequence != end() 2009-02-26 12:50:47 +0100 mst r268498 : migration of cws odfmetadata2 from CVS (resync to m42): module offapi #i96209# - offapi/com/sun/star/text/fieldmaster/*.idl: + rename module from FieldMaster to fieldmaster - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb #i90620# - offapi/com/sun/star/rdf/{XMetadatable.idl,XDocumentMetadataAccess.idl}: + API change: XMetadatable derives from XURI + API change: replace XmlId (string) with MetadataReference (StringPair) - offapi/com/sun/star/rdf/{Statement.idl,XDocumentRepository.idl, XNamedGraph.idl,XRepository.idl}: + the predicate of a statement is a URI, not a Resource - offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl: + rename: s/Package/Document/ + remove uuid + remove everything related to mapping + graph names are now generated from base URI and file names + load methods: improve error handling with XInteractionHandler - offapi/com/sun/star/rdf/XDocumentRepository.idl: + change: RDFa permits using multiple predicates in one attribute + setStatementRDFa: subject is now XResource, object is now XMetadatable - offapi/com/sun/star/rdf/URIs.idl: + add some more URI constants - offapi/com/sun/star/rdf: + fix @since tags and replace <method> with <member> 2009-02-26 12:47:24 +0100 mst r268497 : migration of cws odfmetadata2 from CVS (resync to m42): module redland fix #i93768# - redland/raptor-1.4.17.patch, redland/raptor/makefile.mk: + disable GRDDL parser to prevent call to libxslt xsltSetDefaultSecurityPrefs, which breaks xmlhelp - redland/raptor/makefile.mk, redland/raptor-1.4.17.patch, redland/raptor-1.4.18.patch: + upgrade raptor to 1.4.18 + deactivate serializer for RSS/Atom (does not build) - redland/rasqal/makefile.mk, redland/rasqal-0.9.15.patch, redland/rasqal-0.9.16.patch, + upgrade rasqal to 0.9.16 - redland/redland/makefile.mk, redland/redland-1.0.7.patch, redland/redland-1.0.8.patch: + upgrade redland to 1.0.8 - redland/redlandversion.mk: + the librasqal SONAME has changed
2009-07-02 09:05:03 +00:00
const Reference< XComponentContext > xContext(
::comphelper::getProcessComponentContext() );
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
Reference<XResourceId> xPaneId (ResourceId::create(
CWS-TOOLING: integrate CWS odfmetadata2 2009-06-22 11:48:36 +0200 mst r273206 : - connectivity/source/drivers/mozab/mozillasrc/MNSInclude.hxx: + add "include ustrbuf.hxx" to work around warning caused by solaris <sys/kstat.h> declaring a global "long l ;" 2009-06-19 14:25:25 +0200 mst r273159 : - scp2/source/ooo/file_library_ooo.scp: + fix MinGW build 2009-06-08 12:52:33 +0200 mst r272727 : - redland/raptor-1.4.18.patch.mingw, redland/raptor/makefile.mk: + disable parsers that do not build on MinGW (thanks for patch by tono) 2009-05-15 17:31:07 +0200 mst r271957 : fix typos 2009-05-15 17:28:57 +0200 mst r271956 : #i101965# - offapi/com/sun/star/text/TextPortion: + add missing properties: SoftPageBreak, DocumentIndexMark, ReferenceMark, Footnote, TextField + fix read-only status of properties: Bookmark, IsStart, IsCollapsed - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb 2009-05-07 14:41:38 +0200 mst r271669 : - sw/inc/{fmtftn.hxx,unocoll.hxx,doc.hxx,editsh.hxx,ftninfo.hxx}, sw/source/core/layout/{flowfrm.cxx,ftnfrm.cxx}, sw/source/core/doc/docftn.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/txtnode/atrftn.cxx, sw/source/core/unocore/unocoll.cxx, sw/source/ui/fldui/fldref.cxx: + fix warning ... the hard way + also fix signature of SwDoc::SetCurFtn 2009-05-05 19:52:55 +0200 mst r271556 : - sw/inc/undobj.hxx: + make some members const 2009-05-05 19:34:40 +0200 mst r271555 : - sw/inc/rolbck.hxx, sw/source/core/undo/rolbck.cxx: + make some members const 2009-05-05 19:13:14 +0200 mst r271553 : - sw/inc/{undobj.hxx,rolbck.hxx}, sw/source/core/undo/{unbkmk.cxx,rolbck.cxx}: + fix rebase merge error + rename SwHstryBookmark to SwHistoryBookmark + clean up SwUndoBookmark 2009-05-05 19:05:53 +0200 mst r271552 : - sw/source/core/unocore/unoportenum.cxx: + fix annoying assertion 2009-05-05 15:34:48 +0200 mst r271522 : CWS-TOOLING: rebase CWS odfmetadata2 to trunk@271427 (milestone: DEV300:m47) 2009-05-04 12:37:01 +0200 mst r271444 : trivial 2009-04-22 13:30:37 +0200 mst r271102 : - sfx2/inc/sfx2/dinfdlg.hxx: + trivial change 2009-04-21 16:46:58 +0200 mst r271043 : - sw/inc/hintids.hxx: + introduce some predicates for the various hints, and use them 2009-04-21 16:19:03 +0200 mst r271041 : - sw/inc/undobj.hxx, sw/source/core/doc/{docfly.cxx,docfmt.cxx,docftn.cxx,doctxm.cxx}, sw/source/core/undo/{unattr.cxx,unins.cxx}: + clean up unattr.cxx: remove/fix casts, prefix members, use auto_ptr, etc. 2009-04-21 15:34:23 +0200 mst r271039 : - sw/inc/{rolbck.hxx,undobj.hxx}, sw/source/core/doc/docfmt.cxx, sw/source/core/txtnode/{thints.cxx,txtedt.cxx}, sw/source/core/undo/{rolbck.cxx,undel.cxx,undobj.cxx,unins.cxx,unmove.cxx, unovwr.cxx,unsect.cxx,unspnd.cxx,untbl.cxx,untblk.cxx,unattr.cxx}: + clean up SwHistory, SwRegHistory and SwHistoryHint etc.: remove/fix casts, prefix members, remove wrong const annotations, use auto_ptr, remove unused members, etc. 2009-04-20 19:17:36 +0200 mst r271013 : - sw/inc/ndhints.hxx, sw/source/core/text/{itrtxt.cxx,txtftn.cxx,itratr.cxx,porfly.cxx, txtfrm.cxx,txtdrop.cxx,frmform.cxx}, sw/source/core/txtnode/{ndtxt.cxx,ndhints.cxx,thints.cxx,txtedt.cxx}, sw/source/core/edit/acorrect.cxx, sw/source/core/doc/{docedt.cxx,docfmt.cxx}, sw/source/filter/html/swhtml.cxx: + clean up SwHintsArray and its subclasses: remove/fix casts, prefix members 2009-04-20 18:42:07 +0200 mst r271007 : - sw/source/core/text/txtio.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/undo/rolbck.cxx: + remove JP_NEWCORE dead code 2009-04-20 18:38:09 +0200 mst r271006 : - sw/source/core/unocore/unochart.cxx: + silence unxlngi warning (debug=t) 2009-04-20 16:36:13 +0200 mst r270991 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx, sw/source/ui/fldui/flddinf.hxx: + trivial cleanups 2009-04-20 15:28:52 +0200 mst r270990 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx: + fix bug: replaying a macro with a DocumentInfoItem removes all user-defined properties 2009-03-10 15:08:20 +0100 mst r269273 : - sfx2/source/doc/Metadatable.cxx: + add missing SolarMutex guards 2009-03-10 14:46:29 +0100 mst r269272 : - unoxml/source/rdf/librdf_repository.cxx: + never free rdf_world because that would call libxm2 xmlCleanupParser (and, to add insult to injury, other libxml2 functions later...) 2009-03-06 19:02:44 +0100 mst r269041 : argh! undo... 2009-03-06 19:00:58 +0100 mst r269040 : fix #i99931# - sw/source/ui/uno/unomod.cxx: + SwXViewSettings::_getSingleValue returns uninitialized memory for the ZoomType property if the value is PAGE_WIDTH_EXACT 2009-03-06 18:59:28 +0100 mst r269039 : - sw/inc/ndtxt.hxx, sw/source/core/txtnode/ndtxt.cxx, sw/source/core/unocore/unoportenum.cxx: + fix some more wntmsci12 warnings... 2009-03-06 18:56:46 +0100 mst r269038 : - sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx: + work around spurious warning on unxsoli4 debug=t 2009-03-05 14:02:01 +0100 mst r268902 : - sw/inc/txatbase.hxx: + back to c-style casts, they also compile on wntmsci12... 2009-03-05 10:23:25 +0100 mst r268882 : - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + revert change of return type of comphelper_getProcessComponentContext to Reference: does not build on wntmsci12 2009-03-04 19:08:09 +0100 mst r268861 : - sw/source/core/txtnode/{atrtox.cxx,ndtxt.cxx}: + fix initialization 2009-03-04 14:37:30 +0100 mst r268831 : - solenv/inc/target.mk: + fix CLASSPATH so complex tests run (fix by sb) 2009-03-04 14:36:30 +0100 mst r268830 : - sw/inc/unoobj.hxx, sw/source/core/unocore/{unoparagraph.cxx,unoobj.cxx,unoobj2.cxx}: + SwXParaFrameEnumeration constructor now takes SwPaM, not SwUnoCrsr + move SwParaSelection into unoparagraph.cxx, as it is only used there + bugfix: replace SwUnoCrsrs on stack with SwCursors 2009-03-04 14:34:46 +0100 mst r268829 : - sw/inc/pam.hxx, sw/source/core/crsr/pam.cxx, sw/source/core/edit/eddel.cxx, sw/source/core/doc/docredln.cxx, sw/source/core/undo/{untbl.cxx,undel.cxx}, sw/source/filter/rtf/swparrtf.cxx: + clean up SwPaM: prefix members + new constructor SwPosition(SwCntntNode&, xub_StrLen) + fix several broken SwPosition and SwPaM constructors + SwPam::DeleteMark now actually resets the unused position to default 2009-03-02 12:07:09 +0100 mst r268646 : - sw/inc/fmtcol.hxx: + fix annoying warning (gcc 4) 2009-03-02 12:06:27 +0100 mst r268645 : - odk/util/check.pl, odk/examples/DevelopersGuide/Text/TextDocuments.java: + rename module from FieldMaster to fieldmaster 2009-02-27 19:49:56 +0100 mst r268614 : - sfx2/inc/sfx2/Metadatable.hxx, sfx2/prj/d.lst, sfx2/source/doc/{Metadatable.cxx,makefile.mk}, sw/inc/{SwMetadatable.hxx,unoobj.hxx,undobj.hxx,ndtxt.hxx}, sw/source/core/doc/{SwMetadatable.cxx,makefile.mk,docnew.cxx}, sw/source/core/undo/{untbl.cxx,unins.cxx}, sw/source/core/unocore/unoparagraph.cxx, sw/source/ui/app/docsh.cxx: + move Metadatable implementation from sw to sfx2 2009-02-27 17:58:55 +0100 mst r268608 : - sw/inc/{SwMetadatable.hxx,undobj.hxx}, sw/source/core/doc/SwMetadatable.cxx, sw/source/core/undo/{untbl.cxx,unins.cxx,undel.cxx}: + CreateUndo now returns an opaque MetadatableUndo object 2009-02-27 13:15:44 +0100 mst r268587 : - sw/inc/ndtxt.hxx, sw/source/core/doc/docfmt.cxx, sw/source/core/text/{itratr.cxx,porlay.cxx}, sw/source/core/txtnode/{txtedt.cxx,ndtxt.cxx,thints.cxx}: + clean up SwTxtNode: fix casts, prefix members + factor out inline function SwTxtNode::TryDeleteSwpHints() 2009-02-27 13:14:30 +0100 mst r268586 : - svx/inc/svx/emphitem.hxx: + fix borken header guard 2009-02-27 13:13:56 +0100 mst r268585 : - sfx2/source/bastyp/progress.cxx: + fix use of compiler specific macro 2009-02-27 11:00:32 +0100 mst r268564 : - sw/inc/{txatbase.hxx,txtatr.hxx,txtinet.hxx,txtfld.hxx,txtftn.hxx, txtflcnt.hxx,txttxmrk.hxx,txtrfmrk.hxx}, sw/source/core/txtnode/{atrtox.cxx,atrref.cxx,atrflyin.cxx,atrftn.cxx, txtatr2.cxx,txatbase.cxx,atrfld.cxx,txtedt.cxx}, sw/source/core/text/atrstck.cxx, sw/source/core/access/acchyperlink.cxx, sw/source/core/doc/visiturl.cxx, sw/source/ui/wrtsh/wrtsh2.cxx: + clean up SwTxtAttr and its subclasses: remove/fix casts, prefix members + SwTxtINetFmt: remove unused member bColor - sw/source/core/text/txtfld.cxx: + move SwTxtFld methods to atrfld.cxx 2009-02-27 10:58:44 +0100 mst r268563 : - sfx2/inc/sfx2/sfxbasemodel.hxx: + don't privately inherit BaseMutex, ScModelObj wants to access it 2009-02-27 10:58:02 +0100 mst r268562 : - xmloff/source/core/{RDFaExportHelper.cxx,RDFaImportHelper.cxx}: + arrrgh!!! someone thought it would be a good idea to have 2 different versions of boost in external! and they're NOT compatible!!! insert an ugly fragile hack that maybe works with both... 2009-02-26 17:42:26 +0100 mst r268544 : - comphelper/inc/comphelper/storagehelper.hxx. sfx2/source/doc/DocumentMetadataAccess.cxx: + someone made IsValidZipEntryFileName a static method and didn't tell me 2009-02-26 15:52:56 +0100 mst r268529 : redland: split up patches 2009-02-26 13:17:56 +0100 mst r268509 : migration of cws odfmetadata2 from CVS (resync to m42): module sw #i95863# - sw/inc/segdefs{,_}.hxx: + remove obsolete files - sw/source/ui/inc/itemdef.hxx: + remove itemdef.hxx - sw/source/ui/app/[apphdl.cxx,docsh.cxx}, sw/source/ui/misc/glshell.cxx, sw/source/ui/shells/*.cxx, sw/source/ui/uiview/*.cxx, sw/source/ui/web/*.cxx: + use sfx2/msg.hxx instead of itemdef.hxx - sw/source/core/edit/eddel.cxx: + @ JP: SwEditShell::Replace: you're right, deleting the text to be replaced first, and then inserting a space, and then replacing that space is unnecessary. whew, i'm so happy that we finally answered that question after 11 years. - sw/inc/edimp.hxx: + remove FOREACHCURSOR_START, FOREACHCURSOR_END - sw/inc/{swcrsr.hxx,unocrsr.hxx,viscrs.hxx}, sw/source/core/crsr/{crsrsh.cxx,swcrsr.cxx,trvlreg.cxx,trvltbl.cxx, unocrsr.cxx,viscrs.cxx}, sw/source/core/doc/{docbm.cxx,doccorr.cxx}, sw/source/core/docnode/{ndtbl.cxx,ndtbl1.cxx}, sw/source/core/edit/editsh.cxx, sw/source/core/frmedt/{fefly1.cxx,fetab.cxx,tblsel.cxx}, sw/source/core/layout/trvlfrm.cxx, sw/source/core/unocore/{unochart.cxx,unoobj2.cxx,unoparagraph.cxx, unoportenum.cxx,unotbl.cxx}, sw/source/core/view/vprint.cxx: + remove the hideous virtual operator SwFooCursor* + make SwCursor::IsReadOnlyAvailable() virtual + make SwUnoCrsr::Clone() virtual + refactor SwCursor methods IsSelOver(), LeftRight(), UpDown(), GotoTable(): replace dynamic_cast<...>(this) with new virtual methods 2009-02-26 13:14:58 +0100 mst r268508 : migration of cws odfmetadata2 from CVS (resync to m42): module sw - sw/source/filter/xml/swxml.cxx: + XMLReader::Read: load RDF metadata of the ODF document - sw/source/filter/xml/wrtxml.cxx: + SwXMLWriter::_Write: write RDF metadata of the ODF document if ODF >= 1.2 #i90620#: import xml:id in text tables (does not actually work yet) - sw/source/filter/xml/xmltbli{.hxx,.cxx}: + SwXMLTableCellAttrTokens,aTableCellAttrTokenMap: add XML_TOK_TABLE_XMLID + SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl: attribute xml:id + SwXMLTableCellContext_Impl::CreateChildContext: attribute xml:id + SwXMLTableColContext_Impl::SwXMLTableColContext_Impl: attribute xml:id + SwXMLTableContext::SwXMLTableContext: attribute xml:id fix #i98530# - sw/inc/unoport.hxx, sw/source/core/unocore/unoport.cxx: + SwXTextPortion: make constructor params const& - sw/source/core/unocore/unoportenum.cxx: + refactor to remove some code duplication + fix bug: paragraph w/out hints: bookmark before frame gets lost #i97274# handle invalid tables - sw/source/core/layout/tabfrm.cxx, sw/source/filter/xml/xmltbli.cxx: + SwXMLTableContext::MakeTable(): check that the table actually contains cells, and abort (removing the inserted table nodes) if not 2009-02-26 13:11:48 +0100 mst r268507 : migration of cws odfmetadata2 from CVS (resync to m42): module sw refactor SwXTextRange and SwXParagraph - sw/inc/unoobj.hxx, sw/source/core/unocore/unoobj2.cxx: + remove 3 constructors of SwXTextRange + new method SwXTextRange::CreateParentXText + refactor SwXTextRange::CreateTextRangeFromPosition and SwXTextRange::getText - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph no longer uses a cursor; it registers directly at SwTxtNode + replace SwXParagraph::GetCrsr with SwXParagraph::GetTxtNode - sw/source/core/unocore/unotext.cxx, sw/source/ui/uno/unotxvw.cxx: + adapt to new SwXParagraph #i90620# - sw/inc/SwMetadatable.hxx, sw/source/core/doc/SwMetadatable.cxx: + new files: base classes sw::Metadatable and sw::MetadatableMixin; also, 2 implementations of IXmlIdRegistry: sw::XmlIdRegistryDocument and sw::XmlIdRegistryClipboard + setMetadataReference: handle empty stream name as auto-detect - sw/source/core/doc/makefile.mk: + add SwMetadatable add a XmlIdRegistry to SwDoc - sw/inc/doc.hxx: + SwDoc: add member m_pXmlIdRegistry, method GetXmlIdRegistry() - sw/source/core/doc/docnew.cxx: + initialize XmlIdRegistry in SwDoc::GetXmlIdRegistry, not in constructor, because the constructor is not told whether the SwDoc is a clipboard - sw/inc/docsh.hxx, sw/source/ui/app/docsh.cxx: + SwDocShell: override GetXmlIdRegistry() #i91563#: make the SwTxtNode metadatable - sw/inc/ndtxt.hxx + SwTxtNode inherits sw::Metadatable - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph inherits sw::MetadatableMixin #i91563#: handle SwTxtNode's metadata for delete - sw/source/core/txtnode/ndtxt.cxx: + SwTxtNode::SplitCntntNode: handle XmlId + SwTxtNode::JoinNext: merge XmlIds - sw/source/core/doc/docedt.cxx: + lcl_GetJoinFlags: document postcondition + SwDoc::Delete: remove XmlId only if SwTxtNode _becomes_ empty #i91563#: handle SwTxtNode's metadata for delete with undo - sw/inc/undobj.hxx + SwUndoDelete: new members m_pMetadataUndoStart, m_pMetadataUndoEnd - sw/source/core/undo/undel.cxx: + SwUndoDelete::SaveCntnt: save XmlIds for start and end SwTxtNode + SwUndoDelete::SaveCntnt: remove XmlId only if SwTxtNode _becomes_ empty + SwUndoDelete::Undo: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndcopy.cxx: + SwTxtNode::MakeCopy: register copy at XmlIdRegistry #i91563#: handle SwTxtNode's metadata for find/replace with undo - sw/source/core/undo/unins.cxx: + _UnReplaceData: rename members: add prefix m_ + _UnReplaceData: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + _UnReplaceData::_UnReplaceData: save XmlIds for start and end SwTxtNode + _UnReplaceData::Undo: restore saved XmlIds for start and end SwTxtNode #i91563#: handle SwTxtNode's metadata for table-to-text with undo - sw/source/core/undo/untbl.cxx: + SwTblToTxtSave: rename members: add prefix m_ + SwTblToTxtSave: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + SwTblToTxtSave::SwTblToTxtSave: save XmlIds for start and end SwTxtNode + SwTblToTxtSave::SwTblToTxtSave, SwNodes::UndoTableToText: always store the index of the first SwTxtNode in the cell, instead of the index of the first SwTxtNode in case of the first cell in a row, and the cell start node in other cases + SwNodes::UndoTableToText: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndtbl.cxx: + lcl_DelBox: simplify for refactored start index handling in SwTblToTxtSave 2009-02-26 13:02:28 +0100 mst r268505 : migration of cws odfmetadata2 from CVS (resync to m42): module sd - sd/source/ui/table/tableobjectbar.cxx,sd/source/ui/view/*.cxx: + remove invocations of SFX_DECL_TYPE - sd/source/ui/slideshow/SlideShowRestarter.cxx, sd/source/ui/toolpanel/LayoutMenu.cxx, sd/source/ui/unoidl/DrawController.cxx, sd/source/ui/view/{ViewShellBase.cxx,ViewTabBar.cxx,frmview.cxx}: + fix abuses of comphelper_getProcessComponentContext (missing release) 2009-02-26 13:01:24 +0100 mst r268504 : migration of cws odfmetadata2 from CVS (resync to m42): module starmath - starmath/source/document.cxx: + don't touch SfxObjectShell's privates 2009-02-26 13:00:37 +0100 mst r268503 : migration of cws odfmetadata2 from CVS (resync to m42): module sfx2 #i90620# - sfx2/inc/sfx2/XmlIdRegistry.hxx: + new file: interfaces sfx2::IXmlIdRegistry and sfx2::IXmlIdRegistrySupplier and a couple of utility functions - sfx2/inc/sfx2/DocumentMetadataAccess.hxx, sfx2/source/doc/DocumentMetadataAccess.cxx: + new class sfx2::DocumentMetadataAccess, implements XDocumentMetadataAccess + the URI of the DocumentMetadataAccess is now the URI from which the document was loaded; for a new document, use a vnd.sun.star.tdoc URI + add new function sfx2::createBaseURI() + prevent using reserved file names + try not to recurse into embedded subdocuments - sfx2/source/doc/makefile.mk: + add DocumentMetadataAccess - sfx2/util/makefile.mk: + link libsfx2 against libxml2 (needed for xmlValidateNCName) - sfx2/source/doc/makefile.mk: + add LIBXML_CFLAGS to CFLAGS - sfx2/prj/build.lst: + add dependence on libxml2 - sfx2/prj/d.lst: + add XmlIdRegistry.hxx, DocumentMetadataAccess.hxx - sfx2/inc/sfx2/objsh.hxx, sfx2/source/doc/objxtor.cxx: + make SfxObjectShell's members private + new method SfxObjectShell::GetAutoStyleFilterIndex + SfxObjectShell inherits sfx2::IXmlIdRegistrySupplier - sfx2/source/dialog/templdlg.cxx, sfx2/source/doc/sfxbasemodel.cxx: + don't touch SfxObjectShell's privates - sfx2/inc/sfx2/sfxbasemodel.hxx, sfx2/source/doc/sfxbasemodel.cxx: + SfxBaseModel inherits BaseMutex instead of IMPL_SfxBaseModel_MutexContainer + SfxBaseModel implements additional interface XDocumentMetadataAccess + IMPL_SfxBaseModel_DataContainer has new member: a sfx2::DocumentMetadataAccess + implementation of XDocumentMetadataAccess forwards to the sfx2::DocumentMetadataAccess member - sfx2/qa/complex/DocumentMetadataAccessTest.java, sfx2/qa/complex/{tests.sce,makefile.mk}, sfx2/qa/complex/testdocuments/TESTRDFA.odt: + add complex test: DocumentMetadataAccessTest + add RDFa test document #i95863# - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx: + refactor SfxDocumentItem so it no longer requires a XDocumentInfo + move struct CustomProperty to implementation file + remove class SfxDocumentUserPage + QueryValue,PutValue: remove MID_DOCINFO_FIELD* - sfx2/source/doc/objserv.cxx: + adapt to SfxDocumentItem change - sfx2/inc/sfx2/sfx.hrc, sfx2/sdi/sfxslots.sdi, sfx2/inc/sfx2/msg.hxx: + remove MID_DOCINFO_FIELD* + put all invocations of SFX_DECL_TYPE in msg.hxx, and undef SFX_DECL_TYPE - sfx2/source/doc/objxtor.cxx: + fix abuses of comphelper_getProcessComponentContext (missing release) - sfx2/source/doc/docfile.cxx: + SfxMedium::SfxMedium: don't dereference NULL, throw exception instead - sfx2/source/doc/objstor.cxx: + SfxObjectShell::DoLoad: fix bug: DocumentBaseURI is not initialized 2009-02-26 12:58:07 +0100 mst r268502 : migration of cws odfmetadata2 from CVS (resync to m42): module xmloff #i90620#: implement RDFa import (interface change) - xmloff/inc/xmloff/xmlimp.hxx. xmloff/source/core/xmlimp.cxx: + make SvXMLImport::GetAbsoluteReference() const + add SvXMLImport::GetComponentContext() + SvXMLImport::_InitCtor(): add RDFa namespace + add SvXMLImport::AddRDFa() + SvXMLImport::endDocument() inserts RDFa into document repository - xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/xmltoken.cxx: + new tokens for RDFa: XML_ABOUT, XML_DATATYPE - xmloff/inc/RDFaImportHelper.hxx, xmloff/source/core/RDFaImportHelper.cxx: + new class RDFaImportHelper + adapt the code to the bleak reality of broken C++ implementations + handle empty xhtml:about attributes properly, which are actually valid relative URIs + work around broken SvXMLImport::GetAbsoluteReference - xmloff/source/core/makefile.mk: + add RDFaImportHelper.cxx #i90620#: implement RDFa export - xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + add SvXMLExport::EnsureNamespace(), and a stack of namespace maps + add SvXMLExport::GetComponentContext() + add SvXMLExport::AddAttributesRDFa() - xmloff/inc/RDFaExportHelper.hxx, xmloff/source/core/RDFaExportHelper.cxx: + new class RDFaExportHelper + don't use std::map::data_type, which is actually called std::map::mapped_type by libstdc++ - xmloff/source/core/makefile.mk: + add RDFaExportHelper.cxx #i91563# - xmloff/inc/xmloff/txtimp.hxx, xmloff/source/text/txtimp.cxx: + XMLTextPAttrTokens: add RDFa tokens - xmloff/source/text/txtparai{.hxx,.cxx}: + import RDFa for text:p - xmloff/source/text/txtparae.cxx: + export RDFa for text:p interface change: use XHTML namespace instead of RDFA - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlimp.cxx,xmlexp.cxx,RDFaExportHelper.cxx}, xmloff/source/text/txtimp.cxx: + use XHTML namespace instead of RDFA #i91565#, #i91566#: (preliminary) import for text:meta, text:meta-field - xmloff/source/text/txtparai.cxx: + new class XMLMetaImportContextBase with subclasses to import text:meta and text:meta-field - xmloff/source/text/XMLTextMarkImportContext.cxx: + change XMLTextMarkImportContext::CreateAndInsertMark to handle marks with no name (text:meta) #i91565#, #i91566#: (preliminary) export for text:meta, text:meta-field - xmloff/inc/txtflde.hxx, xmloff/source/text/txtflde.cxx: + add FIELD_ID_META to FieldIdEnum + new method XMLTextFieldExport::ExportMetaField() + change XMLTextFieldExport::ExportField{,AutoStyle,Helper} to take additional parameter for progress bar - xmloff/inc/xmloff/txtparae.hxx, xmloff/source/text/txtparae.cxx: + make XMLTextParagraphExport::exportTextRangeEnumeration() public + new method XMLTextParagraphExport::exportMeta() #i90620# - xmloff/inc/xmloff/xmlimp.hxx, xmloff/source/core/xmlimp.cxx, xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + rename SvXML{Im,Ex}port::GetStreamPath() to GetStreamName() + fix xml:id {im,ex}port for embedded documents and non-packages + adapt to API change: XMetadatable #i90620# GRDDL - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlexp.cxx}: + add GRDDL namespace + add token XML_TRANSFORMATION + add grddl:transformation attribute to root elements for meta.xml, content.xml and styles.xml 2009-02-26 12:54:40 +0100 mst r268501 : migration of cws odfmetadata2 from CVS (resync to m42): module unoxml #i90620# - unoxml/source/rdf/librdf_repository.cxx: + librdf_Repository::importGraph: allocate buffer sized length of stream + switch from one librdf_world per repository to a single static world because redland has global variables with a brain-damaged life-cycle... + exportGraph: use new raptor 1.4.18 feature to disable writing an xml:base attribute in RDF/XML files - unoxml/source/rdf/librdf_repository.cxx: unoxml/qa/complex/RDFRepositoryTest.java: + adapt to predicate is URI change + adapt to RDFa API change + adapt to API change: RDFa has multiple predicates... + adapt to API change: XMetadatable derives from XURI + allow xhtml:datatype without xhtml:content + adapt to API change: attribute MetadataReference is StringPair - unoxml/source/rdf/CURI.cxx: + add some more URI constants 2009-02-26 12:53:32 +0100 mst r268500 : migration of cws odfmetadata2 from CVS (resync to m42): module package - package/inc/ImplValidCharacters.hxx: + remove (moved to comphelper) 2009-02-26 12:52:49 +0100 mst r268499 : migration of cws odfmetadata2 from CVS (resync to m42): module comphelper - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + add getProcessComponentContext() + change return type of comphelper_getProcessComponentContext to Reference - comphelper/inc/comphelper/stl_types.hxx: + add OUStringBufferAppender + add algorithm intersperse - comphelper/source/misc/string.cxx: + rewrite convertCommaSeparated with intersperse and OUStringBufferAppender - comphelper/inc/comphelper/stlunosequence.hxx: + fix bug: begin() on empty sequence != end() 2009-02-26 12:50:47 +0100 mst r268498 : migration of cws odfmetadata2 from CVS (resync to m42): module offapi #i96209# - offapi/com/sun/star/text/fieldmaster/*.idl: + rename module from FieldMaster to fieldmaster - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb #i90620# - offapi/com/sun/star/rdf/{XMetadatable.idl,XDocumentMetadataAccess.idl}: + API change: XMetadatable derives from XURI + API change: replace XmlId (string) with MetadataReference (StringPair) - offapi/com/sun/star/rdf/{Statement.idl,XDocumentRepository.idl, XNamedGraph.idl,XRepository.idl}: + the predicate of a statement is a URI, not a Resource - offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl: + rename: s/Package/Document/ + remove uuid + remove everything related to mapping + graph names are now generated from base URI and file names + load methods: improve error handling with XInteractionHandler - offapi/com/sun/star/rdf/XDocumentRepository.idl: + change: RDFa permits using multiple predicates in one attribute + setStatementRDFa: subject is now XResource, object is now XMetadatable - offapi/com/sun/star/rdf/URIs.idl: + add some more URI constants - offapi/com/sun/star/rdf: + fix @since tags and replace <method> with <member> 2009-02-26 12:47:24 +0100 mst r268497 : migration of cws odfmetadata2 from CVS (resync to m42): module redland fix #i93768# - redland/raptor-1.4.17.patch, redland/raptor/makefile.mk: + disable GRDDL parser to prevent call to libxslt xsltSetDefaultSecurityPrefs, which breaks xmlhelp - redland/raptor/makefile.mk, redland/raptor-1.4.17.patch, redland/raptor-1.4.18.patch: + upgrade raptor to 1.4.18 + deactivate serializer for RSS/Atom (does not build) - redland/rasqal/makefile.mk, redland/rasqal-0.9.15.patch, redland/rasqal-0.9.16.patch, + upgrade rasqal to 0.9.16 - redland/redland/makefile.mk, redland/redland-1.0.7.patch, redland/redland-1.0.8.patch: + upgrade redland to 1.0.8 - redland/redlandversion.mk: + the librasqal SONAME has changed
2009-07-02 09:05:03 +00:00
xContext, rsPaneURL));
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
Reference<XResourceId> xViewId (ResourceId::createWithAnchorURL(
CWS-TOOLING: integrate CWS odfmetadata2 2009-06-22 11:48:36 +0200 mst r273206 : - connectivity/source/drivers/mozab/mozillasrc/MNSInclude.hxx: + add "include ustrbuf.hxx" to work around warning caused by solaris <sys/kstat.h> declaring a global "long l ;" 2009-06-19 14:25:25 +0200 mst r273159 : - scp2/source/ooo/file_library_ooo.scp: + fix MinGW build 2009-06-08 12:52:33 +0200 mst r272727 : - redland/raptor-1.4.18.patch.mingw, redland/raptor/makefile.mk: + disable parsers that do not build on MinGW (thanks for patch by tono) 2009-05-15 17:31:07 +0200 mst r271957 : fix typos 2009-05-15 17:28:57 +0200 mst r271956 : #i101965# - offapi/com/sun/star/text/TextPortion: + add missing properties: SoftPageBreak, DocumentIndexMark, ReferenceMark, Footnote, TextField + fix read-only status of properties: Bookmark, IsStart, IsCollapsed - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb 2009-05-07 14:41:38 +0200 mst r271669 : - sw/inc/{fmtftn.hxx,unocoll.hxx,doc.hxx,editsh.hxx,ftninfo.hxx}, sw/source/core/layout/{flowfrm.cxx,ftnfrm.cxx}, sw/source/core/doc/docftn.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/txtnode/atrftn.cxx, sw/source/core/unocore/unocoll.cxx, sw/source/ui/fldui/fldref.cxx: + fix warning ... the hard way + also fix signature of SwDoc::SetCurFtn 2009-05-05 19:52:55 +0200 mst r271556 : - sw/inc/undobj.hxx: + make some members const 2009-05-05 19:34:40 +0200 mst r271555 : - sw/inc/rolbck.hxx, sw/source/core/undo/rolbck.cxx: + make some members const 2009-05-05 19:13:14 +0200 mst r271553 : - sw/inc/{undobj.hxx,rolbck.hxx}, sw/source/core/undo/{unbkmk.cxx,rolbck.cxx}: + fix rebase merge error + rename SwHstryBookmark to SwHistoryBookmark + clean up SwUndoBookmark 2009-05-05 19:05:53 +0200 mst r271552 : - sw/source/core/unocore/unoportenum.cxx: + fix annoying assertion 2009-05-05 15:34:48 +0200 mst r271522 : CWS-TOOLING: rebase CWS odfmetadata2 to trunk@271427 (milestone: DEV300:m47) 2009-05-04 12:37:01 +0200 mst r271444 : trivial 2009-04-22 13:30:37 +0200 mst r271102 : - sfx2/inc/sfx2/dinfdlg.hxx: + trivial change 2009-04-21 16:46:58 +0200 mst r271043 : - sw/inc/hintids.hxx: + introduce some predicates for the various hints, and use them 2009-04-21 16:19:03 +0200 mst r271041 : - sw/inc/undobj.hxx, sw/source/core/doc/{docfly.cxx,docfmt.cxx,docftn.cxx,doctxm.cxx}, sw/source/core/undo/{unattr.cxx,unins.cxx}: + clean up unattr.cxx: remove/fix casts, prefix members, use auto_ptr, etc. 2009-04-21 15:34:23 +0200 mst r271039 : - sw/inc/{rolbck.hxx,undobj.hxx}, sw/source/core/doc/docfmt.cxx, sw/source/core/txtnode/{thints.cxx,txtedt.cxx}, sw/source/core/undo/{rolbck.cxx,undel.cxx,undobj.cxx,unins.cxx,unmove.cxx, unovwr.cxx,unsect.cxx,unspnd.cxx,untbl.cxx,untblk.cxx,unattr.cxx}: + clean up SwHistory, SwRegHistory and SwHistoryHint etc.: remove/fix casts, prefix members, remove wrong const annotations, use auto_ptr, remove unused members, etc. 2009-04-20 19:17:36 +0200 mst r271013 : - sw/inc/ndhints.hxx, sw/source/core/text/{itrtxt.cxx,txtftn.cxx,itratr.cxx,porfly.cxx, txtfrm.cxx,txtdrop.cxx,frmform.cxx}, sw/source/core/txtnode/{ndtxt.cxx,ndhints.cxx,thints.cxx,txtedt.cxx}, sw/source/core/edit/acorrect.cxx, sw/source/core/doc/{docedt.cxx,docfmt.cxx}, sw/source/filter/html/swhtml.cxx: + clean up SwHintsArray and its subclasses: remove/fix casts, prefix members 2009-04-20 18:42:07 +0200 mst r271007 : - sw/source/core/text/txtio.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/undo/rolbck.cxx: + remove JP_NEWCORE dead code 2009-04-20 18:38:09 +0200 mst r271006 : - sw/source/core/unocore/unochart.cxx: + silence unxlngi warning (debug=t) 2009-04-20 16:36:13 +0200 mst r270991 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx, sw/source/ui/fldui/flddinf.hxx: + trivial cleanups 2009-04-20 15:28:52 +0200 mst r270990 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx: + fix bug: replaying a macro with a DocumentInfoItem removes all user-defined properties 2009-03-10 15:08:20 +0100 mst r269273 : - sfx2/source/doc/Metadatable.cxx: + add missing SolarMutex guards 2009-03-10 14:46:29 +0100 mst r269272 : - unoxml/source/rdf/librdf_repository.cxx: + never free rdf_world because that would call libxm2 xmlCleanupParser (and, to add insult to injury, other libxml2 functions later...) 2009-03-06 19:02:44 +0100 mst r269041 : argh! undo... 2009-03-06 19:00:58 +0100 mst r269040 : fix #i99931# - sw/source/ui/uno/unomod.cxx: + SwXViewSettings::_getSingleValue returns uninitialized memory for the ZoomType property if the value is PAGE_WIDTH_EXACT 2009-03-06 18:59:28 +0100 mst r269039 : - sw/inc/ndtxt.hxx, sw/source/core/txtnode/ndtxt.cxx, sw/source/core/unocore/unoportenum.cxx: + fix some more wntmsci12 warnings... 2009-03-06 18:56:46 +0100 mst r269038 : - sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx: + work around spurious warning on unxsoli4 debug=t 2009-03-05 14:02:01 +0100 mst r268902 : - sw/inc/txatbase.hxx: + back to c-style casts, they also compile on wntmsci12... 2009-03-05 10:23:25 +0100 mst r268882 : - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + revert change of return type of comphelper_getProcessComponentContext to Reference: does not build on wntmsci12 2009-03-04 19:08:09 +0100 mst r268861 : - sw/source/core/txtnode/{atrtox.cxx,ndtxt.cxx}: + fix initialization 2009-03-04 14:37:30 +0100 mst r268831 : - solenv/inc/target.mk: + fix CLASSPATH so complex tests run (fix by sb) 2009-03-04 14:36:30 +0100 mst r268830 : - sw/inc/unoobj.hxx, sw/source/core/unocore/{unoparagraph.cxx,unoobj.cxx,unoobj2.cxx}: + SwXParaFrameEnumeration constructor now takes SwPaM, not SwUnoCrsr + move SwParaSelection into unoparagraph.cxx, as it is only used there + bugfix: replace SwUnoCrsrs on stack with SwCursors 2009-03-04 14:34:46 +0100 mst r268829 : - sw/inc/pam.hxx, sw/source/core/crsr/pam.cxx, sw/source/core/edit/eddel.cxx, sw/source/core/doc/docredln.cxx, sw/source/core/undo/{untbl.cxx,undel.cxx}, sw/source/filter/rtf/swparrtf.cxx: + clean up SwPaM: prefix members + new constructor SwPosition(SwCntntNode&, xub_StrLen) + fix several broken SwPosition and SwPaM constructors + SwPam::DeleteMark now actually resets the unused position to default 2009-03-02 12:07:09 +0100 mst r268646 : - sw/inc/fmtcol.hxx: + fix annoying warning (gcc 4) 2009-03-02 12:06:27 +0100 mst r268645 : - odk/util/check.pl, odk/examples/DevelopersGuide/Text/TextDocuments.java: + rename module from FieldMaster to fieldmaster 2009-02-27 19:49:56 +0100 mst r268614 : - sfx2/inc/sfx2/Metadatable.hxx, sfx2/prj/d.lst, sfx2/source/doc/{Metadatable.cxx,makefile.mk}, sw/inc/{SwMetadatable.hxx,unoobj.hxx,undobj.hxx,ndtxt.hxx}, sw/source/core/doc/{SwMetadatable.cxx,makefile.mk,docnew.cxx}, sw/source/core/undo/{untbl.cxx,unins.cxx}, sw/source/core/unocore/unoparagraph.cxx, sw/source/ui/app/docsh.cxx: + move Metadatable implementation from sw to sfx2 2009-02-27 17:58:55 +0100 mst r268608 : - sw/inc/{SwMetadatable.hxx,undobj.hxx}, sw/source/core/doc/SwMetadatable.cxx, sw/source/core/undo/{untbl.cxx,unins.cxx,undel.cxx}: + CreateUndo now returns an opaque MetadatableUndo object 2009-02-27 13:15:44 +0100 mst r268587 : - sw/inc/ndtxt.hxx, sw/source/core/doc/docfmt.cxx, sw/source/core/text/{itratr.cxx,porlay.cxx}, sw/source/core/txtnode/{txtedt.cxx,ndtxt.cxx,thints.cxx}: + clean up SwTxtNode: fix casts, prefix members + factor out inline function SwTxtNode::TryDeleteSwpHints() 2009-02-27 13:14:30 +0100 mst r268586 : - svx/inc/svx/emphitem.hxx: + fix borken header guard 2009-02-27 13:13:56 +0100 mst r268585 : - sfx2/source/bastyp/progress.cxx: + fix use of compiler specific macro 2009-02-27 11:00:32 +0100 mst r268564 : - sw/inc/{txatbase.hxx,txtatr.hxx,txtinet.hxx,txtfld.hxx,txtftn.hxx, txtflcnt.hxx,txttxmrk.hxx,txtrfmrk.hxx}, sw/source/core/txtnode/{atrtox.cxx,atrref.cxx,atrflyin.cxx,atrftn.cxx, txtatr2.cxx,txatbase.cxx,atrfld.cxx,txtedt.cxx}, sw/source/core/text/atrstck.cxx, sw/source/core/access/acchyperlink.cxx, sw/source/core/doc/visiturl.cxx, sw/source/ui/wrtsh/wrtsh2.cxx: + clean up SwTxtAttr and its subclasses: remove/fix casts, prefix members + SwTxtINetFmt: remove unused member bColor - sw/source/core/text/txtfld.cxx: + move SwTxtFld methods to atrfld.cxx 2009-02-27 10:58:44 +0100 mst r268563 : - sfx2/inc/sfx2/sfxbasemodel.hxx: + don't privately inherit BaseMutex, ScModelObj wants to access it 2009-02-27 10:58:02 +0100 mst r268562 : - xmloff/source/core/{RDFaExportHelper.cxx,RDFaImportHelper.cxx}: + arrrgh!!! someone thought it would be a good idea to have 2 different versions of boost in external! and they're NOT compatible!!! insert an ugly fragile hack that maybe works with both... 2009-02-26 17:42:26 +0100 mst r268544 : - comphelper/inc/comphelper/storagehelper.hxx. sfx2/source/doc/DocumentMetadataAccess.cxx: + someone made IsValidZipEntryFileName a static method and didn't tell me 2009-02-26 15:52:56 +0100 mst r268529 : redland: split up patches 2009-02-26 13:17:56 +0100 mst r268509 : migration of cws odfmetadata2 from CVS (resync to m42): module sw #i95863# - sw/inc/segdefs{,_}.hxx: + remove obsolete files - sw/source/ui/inc/itemdef.hxx: + remove itemdef.hxx - sw/source/ui/app/[apphdl.cxx,docsh.cxx}, sw/source/ui/misc/glshell.cxx, sw/source/ui/shells/*.cxx, sw/source/ui/uiview/*.cxx, sw/source/ui/web/*.cxx: + use sfx2/msg.hxx instead of itemdef.hxx - sw/source/core/edit/eddel.cxx: + @ JP: SwEditShell::Replace: you're right, deleting the text to be replaced first, and then inserting a space, and then replacing that space is unnecessary. whew, i'm so happy that we finally answered that question after 11 years. - sw/inc/edimp.hxx: + remove FOREACHCURSOR_START, FOREACHCURSOR_END - sw/inc/{swcrsr.hxx,unocrsr.hxx,viscrs.hxx}, sw/source/core/crsr/{crsrsh.cxx,swcrsr.cxx,trvlreg.cxx,trvltbl.cxx, unocrsr.cxx,viscrs.cxx}, sw/source/core/doc/{docbm.cxx,doccorr.cxx}, sw/source/core/docnode/{ndtbl.cxx,ndtbl1.cxx}, sw/source/core/edit/editsh.cxx, sw/source/core/frmedt/{fefly1.cxx,fetab.cxx,tblsel.cxx}, sw/source/core/layout/trvlfrm.cxx, sw/source/core/unocore/{unochart.cxx,unoobj2.cxx,unoparagraph.cxx, unoportenum.cxx,unotbl.cxx}, sw/source/core/view/vprint.cxx: + remove the hideous virtual operator SwFooCursor* + make SwCursor::IsReadOnlyAvailable() virtual + make SwUnoCrsr::Clone() virtual + refactor SwCursor methods IsSelOver(), LeftRight(), UpDown(), GotoTable(): replace dynamic_cast<...>(this) with new virtual methods 2009-02-26 13:14:58 +0100 mst r268508 : migration of cws odfmetadata2 from CVS (resync to m42): module sw - sw/source/filter/xml/swxml.cxx: + XMLReader::Read: load RDF metadata of the ODF document - sw/source/filter/xml/wrtxml.cxx: + SwXMLWriter::_Write: write RDF metadata of the ODF document if ODF >= 1.2 #i90620#: import xml:id in text tables (does not actually work yet) - sw/source/filter/xml/xmltbli{.hxx,.cxx}: + SwXMLTableCellAttrTokens,aTableCellAttrTokenMap: add XML_TOK_TABLE_XMLID + SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl: attribute xml:id + SwXMLTableCellContext_Impl::CreateChildContext: attribute xml:id + SwXMLTableColContext_Impl::SwXMLTableColContext_Impl: attribute xml:id + SwXMLTableContext::SwXMLTableContext: attribute xml:id fix #i98530# - sw/inc/unoport.hxx, sw/source/core/unocore/unoport.cxx: + SwXTextPortion: make constructor params const& - sw/source/core/unocore/unoportenum.cxx: + refactor to remove some code duplication + fix bug: paragraph w/out hints: bookmark before frame gets lost #i97274# handle invalid tables - sw/source/core/layout/tabfrm.cxx, sw/source/filter/xml/xmltbli.cxx: + SwXMLTableContext::MakeTable(): check that the table actually contains cells, and abort (removing the inserted table nodes) if not 2009-02-26 13:11:48 +0100 mst r268507 : migration of cws odfmetadata2 from CVS (resync to m42): module sw refactor SwXTextRange and SwXParagraph - sw/inc/unoobj.hxx, sw/source/core/unocore/unoobj2.cxx: + remove 3 constructors of SwXTextRange + new method SwXTextRange::CreateParentXText + refactor SwXTextRange::CreateTextRangeFromPosition and SwXTextRange::getText - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph no longer uses a cursor; it registers directly at SwTxtNode + replace SwXParagraph::GetCrsr with SwXParagraph::GetTxtNode - sw/source/core/unocore/unotext.cxx, sw/source/ui/uno/unotxvw.cxx: + adapt to new SwXParagraph #i90620# - sw/inc/SwMetadatable.hxx, sw/source/core/doc/SwMetadatable.cxx: + new files: base classes sw::Metadatable and sw::MetadatableMixin; also, 2 implementations of IXmlIdRegistry: sw::XmlIdRegistryDocument and sw::XmlIdRegistryClipboard + setMetadataReference: handle empty stream name as auto-detect - sw/source/core/doc/makefile.mk: + add SwMetadatable add a XmlIdRegistry to SwDoc - sw/inc/doc.hxx: + SwDoc: add member m_pXmlIdRegistry, method GetXmlIdRegistry() - sw/source/core/doc/docnew.cxx: + initialize XmlIdRegistry in SwDoc::GetXmlIdRegistry, not in constructor, because the constructor is not told whether the SwDoc is a clipboard - sw/inc/docsh.hxx, sw/source/ui/app/docsh.cxx: + SwDocShell: override GetXmlIdRegistry() #i91563#: make the SwTxtNode metadatable - sw/inc/ndtxt.hxx + SwTxtNode inherits sw::Metadatable - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph inherits sw::MetadatableMixin #i91563#: handle SwTxtNode's metadata for delete - sw/source/core/txtnode/ndtxt.cxx: + SwTxtNode::SplitCntntNode: handle XmlId + SwTxtNode::JoinNext: merge XmlIds - sw/source/core/doc/docedt.cxx: + lcl_GetJoinFlags: document postcondition + SwDoc::Delete: remove XmlId only if SwTxtNode _becomes_ empty #i91563#: handle SwTxtNode's metadata for delete with undo - sw/inc/undobj.hxx + SwUndoDelete: new members m_pMetadataUndoStart, m_pMetadataUndoEnd - sw/source/core/undo/undel.cxx: + SwUndoDelete::SaveCntnt: save XmlIds for start and end SwTxtNode + SwUndoDelete::SaveCntnt: remove XmlId only if SwTxtNode _becomes_ empty + SwUndoDelete::Undo: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndcopy.cxx: + SwTxtNode::MakeCopy: register copy at XmlIdRegistry #i91563#: handle SwTxtNode's metadata for find/replace with undo - sw/source/core/undo/unins.cxx: + _UnReplaceData: rename members: add prefix m_ + _UnReplaceData: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + _UnReplaceData::_UnReplaceData: save XmlIds for start and end SwTxtNode + _UnReplaceData::Undo: restore saved XmlIds for start and end SwTxtNode #i91563#: handle SwTxtNode's metadata for table-to-text with undo - sw/source/core/undo/untbl.cxx: + SwTblToTxtSave: rename members: add prefix m_ + SwTblToTxtSave: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + SwTblToTxtSave::SwTblToTxtSave: save XmlIds for start and end SwTxtNode + SwTblToTxtSave::SwTblToTxtSave, SwNodes::UndoTableToText: always store the index of the first SwTxtNode in the cell, instead of the index of the first SwTxtNode in case of the first cell in a row, and the cell start node in other cases + SwNodes::UndoTableToText: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndtbl.cxx: + lcl_DelBox: simplify for refactored start index handling in SwTblToTxtSave 2009-02-26 13:02:28 +0100 mst r268505 : migration of cws odfmetadata2 from CVS (resync to m42): module sd - sd/source/ui/table/tableobjectbar.cxx,sd/source/ui/view/*.cxx: + remove invocations of SFX_DECL_TYPE - sd/source/ui/slideshow/SlideShowRestarter.cxx, sd/source/ui/toolpanel/LayoutMenu.cxx, sd/source/ui/unoidl/DrawController.cxx, sd/source/ui/view/{ViewShellBase.cxx,ViewTabBar.cxx,frmview.cxx}: + fix abuses of comphelper_getProcessComponentContext (missing release) 2009-02-26 13:01:24 +0100 mst r268504 : migration of cws odfmetadata2 from CVS (resync to m42): module starmath - starmath/source/document.cxx: + don't touch SfxObjectShell's privates 2009-02-26 13:00:37 +0100 mst r268503 : migration of cws odfmetadata2 from CVS (resync to m42): module sfx2 #i90620# - sfx2/inc/sfx2/XmlIdRegistry.hxx: + new file: interfaces sfx2::IXmlIdRegistry and sfx2::IXmlIdRegistrySupplier and a couple of utility functions - sfx2/inc/sfx2/DocumentMetadataAccess.hxx, sfx2/source/doc/DocumentMetadataAccess.cxx: + new class sfx2::DocumentMetadataAccess, implements XDocumentMetadataAccess + the URI of the DocumentMetadataAccess is now the URI from which the document was loaded; for a new document, use a vnd.sun.star.tdoc URI + add new function sfx2::createBaseURI() + prevent using reserved file names + try not to recurse into embedded subdocuments - sfx2/source/doc/makefile.mk: + add DocumentMetadataAccess - sfx2/util/makefile.mk: + link libsfx2 against libxml2 (needed for xmlValidateNCName) - sfx2/source/doc/makefile.mk: + add LIBXML_CFLAGS to CFLAGS - sfx2/prj/build.lst: + add dependence on libxml2 - sfx2/prj/d.lst: + add XmlIdRegistry.hxx, DocumentMetadataAccess.hxx - sfx2/inc/sfx2/objsh.hxx, sfx2/source/doc/objxtor.cxx: + make SfxObjectShell's members private + new method SfxObjectShell::GetAutoStyleFilterIndex + SfxObjectShell inherits sfx2::IXmlIdRegistrySupplier - sfx2/source/dialog/templdlg.cxx, sfx2/source/doc/sfxbasemodel.cxx: + don't touch SfxObjectShell's privates - sfx2/inc/sfx2/sfxbasemodel.hxx, sfx2/source/doc/sfxbasemodel.cxx: + SfxBaseModel inherits BaseMutex instead of IMPL_SfxBaseModel_MutexContainer + SfxBaseModel implements additional interface XDocumentMetadataAccess + IMPL_SfxBaseModel_DataContainer has new member: a sfx2::DocumentMetadataAccess + implementation of XDocumentMetadataAccess forwards to the sfx2::DocumentMetadataAccess member - sfx2/qa/complex/DocumentMetadataAccessTest.java, sfx2/qa/complex/{tests.sce,makefile.mk}, sfx2/qa/complex/testdocuments/TESTRDFA.odt: + add complex test: DocumentMetadataAccessTest + add RDFa test document #i95863# - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx: + refactor SfxDocumentItem so it no longer requires a XDocumentInfo + move struct CustomProperty to implementation file + remove class SfxDocumentUserPage + QueryValue,PutValue: remove MID_DOCINFO_FIELD* - sfx2/source/doc/objserv.cxx: + adapt to SfxDocumentItem change - sfx2/inc/sfx2/sfx.hrc, sfx2/sdi/sfxslots.sdi, sfx2/inc/sfx2/msg.hxx: + remove MID_DOCINFO_FIELD* + put all invocations of SFX_DECL_TYPE in msg.hxx, and undef SFX_DECL_TYPE - sfx2/source/doc/objxtor.cxx: + fix abuses of comphelper_getProcessComponentContext (missing release) - sfx2/source/doc/docfile.cxx: + SfxMedium::SfxMedium: don't dereference NULL, throw exception instead - sfx2/source/doc/objstor.cxx: + SfxObjectShell::DoLoad: fix bug: DocumentBaseURI is not initialized 2009-02-26 12:58:07 +0100 mst r268502 : migration of cws odfmetadata2 from CVS (resync to m42): module xmloff #i90620#: implement RDFa import (interface change) - xmloff/inc/xmloff/xmlimp.hxx. xmloff/source/core/xmlimp.cxx: + make SvXMLImport::GetAbsoluteReference() const + add SvXMLImport::GetComponentContext() + SvXMLImport::_InitCtor(): add RDFa namespace + add SvXMLImport::AddRDFa() + SvXMLImport::endDocument() inserts RDFa into document repository - xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/xmltoken.cxx: + new tokens for RDFa: XML_ABOUT, XML_DATATYPE - xmloff/inc/RDFaImportHelper.hxx, xmloff/source/core/RDFaImportHelper.cxx: + new class RDFaImportHelper + adapt the code to the bleak reality of broken C++ implementations + handle empty xhtml:about attributes properly, which are actually valid relative URIs + work around broken SvXMLImport::GetAbsoluteReference - xmloff/source/core/makefile.mk: + add RDFaImportHelper.cxx #i90620#: implement RDFa export - xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + add SvXMLExport::EnsureNamespace(), and a stack of namespace maps + add SvXMLExport::GetComponentContext() + add SvXMLExport::AddAttributesRDFa() - xmloff/inc/RDFaExportHelper.hxx, xmloff/source/core/RDFaExportHelper.cxx: + new class RDFaExportHelper + don't use std::map::data_type, which is actually called std::map::mapped_type by libstdc++ - xmloff/source/core/makefile.mk: + add RDFaExportHelper.cxx #i91563# - xmloff/inc/xmloff/txtimp.hxx, xmloff/source/text/txtimp.cxx: + XMLTextPAttrTokens: add RDFa tokens - xmloff/source/text/txtparai{.hxx,.cxx}: + import RDFa for text:p - xmloff/source/text/txtparae.cxx: + export RDFa for text:p interface change: use XHTML namespace instead of RDFA - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlimp.cxx,xmlexp.cxx,RDFaExportHelper.cxx}, xmloff/source/text/txtimp.cxx: + use XHTML namespace instead of RDFA #i91565#, #i91566#: (preliminary) import for text:meta, text:meta-field - xmloff/source/text/txtparai.cxx: + new class XMLMetaImportContextBase with subclasses to import text:meta and text:meta-field - xmloff/source/text/XMLTextMarkImportContext.cxx: + change XMLTextMarkImportContext::CreateAndInsertMark to handle marks with no name (text:meta) #i91565#, #i91566#: (preliminary) export for text:meta, text:meta-field - xmloff/inc/txtflde.hxx, xmloff/source/text/txtflde.cxx: + add FIELD_ID_META to FieldIdEnum + new method XMLTextFieldExport::ExportMetaField() + change XMLTextFieldExport::ExportField{,AutoStyle,Helper} to take additional parameter for progress bar - xmloff/inc/xmloff/txtparae.hxx, xmloff/source/text/txtparae.cxx: + make XMLTextParagraphExport::exportTextRangeEnumeration() public + new method XMLTextParagraphExport::exportMeta() #i90620# - xmloff/inc/xmloff/xmlimp.hxx, xmloff/source/core/xmlimp.cxx, xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + rename SvXML{Im,Ex}port::GetStreamPath() to GetStreamName() + fix xml:id {im,ex}port for embedded documents and non-packages + adapt to API change: XMetadatable #i90620# GRDDL - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlexp.cxx}: + add GRDDL namespace + add token XML_TRANSFORMATION + add grddl:transformation attribute to root elements for meta.xml, content.xml and styles.xml 2009-02-26 12:54:40 +0100 mst r268501 : migration of cws odfmetadata2 from CVS (resync to m42): module unoxml #i90620# - unoxml/source/rdf/librdf_repository.cxx: + librdf_Repository::importGraph: allocate buffer sized length of stream + switch from one librdf_world per repository to a single static world because redland has global variables with a brain-damaged life-cycle... + exportGraph: use new raptor 1.4.18 feature to disable writing an xml:base attribute in RDF/XML files - unoxml/source/rdf/librdf_repository.cxx: unoxml/qa/complex/RDFRepositoryTest.java: + adapt to predicate is URI change + adapt to RDFa API change + adapt to API change: RDFa has multiple predicates... + adapt to API change: XMetadatable derives from XURI + allow xhtml:datatype without xhtml:content + adapt to API change: attribute MetadataReference is StringPair - unoxml/source/rdf/CURI.cxx: + add some more URI constants 2009-02-26 12:53:32 +0100 mst r268500 : migration of cws odfmetadata2 from CVS (resync to m42): module package - package/inc/ImplValidCharacters.hxx: + remove (moved to comphelper) 2009-02-26 12:52:49 +0100 mst r268499 : migration of cws odfmetadata2 from CVS (resync to m42): module comphelper - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + add getProcessComponentContext() + change return type of comphelper_getProcessComponentContext to Reference - comphelper/inc/comphelper/stl_types.hxx: + add OUStringBufferAppender + add algorithm intersperse - comphelper/source/misc/string.cxx: + rewrite convertCommaSeparated with intersperse and OUStringBufferAppender - comphelper/inc/comphelper/stlunosequence.hxx: + fix bug: begin() on empty sequence != end() 2009-02-26 12:50:47 +0100 mst r268498 : migration of cws odfmetadata2 from CVS (resync to m42): module offapi #i96209# - offapi/com/sun/star/text/fieldmaster/*.idl: + rename module from FieldMaster to fieldmaster - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb #i90620# - offapi/com/sun/star/rdf/{XMetadatable.idl,XDocumentMetadataAccess.idl}: + API change: XMetadatable derives from XURI + API change: replace XmlId (string) with MetadataReference (StringPair) - offapi/com/sun/star/rdf/{Statement.idl,XDocumentRepository.idl, XNamedGraph.idl,XRepository.idl}: + the predicate of a statement is a URI, not a Resource - offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl: + rename: s/Package/Document/ + remove uuid + remove everything related to mapping + graph names are now generated from base URI and file names + load methods: improve error handling with XInteractionHandler - offapi/com/sun/star/rdf/XDocumentRepository.idl: + change: RDFa permits using multiple predicates in one attribute + setStatementRDFa: subject is now XResource, object is now XMetadatable - offapi/com/sun/star/rdf/URIs.idl: + add some more URI constants - offapi/com/sun/star/rdf: + fix @since tags and replace <method> with <member> 2009-02-26 12:47:24 +0100 mst r268497 : migration of cws odfmetadata2 from CVS (resync to m42): module redland fix #i93768# - redland/raptor-1.4.17.patch, redland/raptor/makefile.mk: + disable GRDDL parser to prevent call to libxslt xsltSetDefaultSecurityPrefs, which breaks xmlhelp - redland/raptor/makefile.mk, redland/raptor-1.4.17.patch, redland/raptor-1.4.18.patch: + upgrade raptor to 1.4.18 + deactivate serializer for RSS/Atom (does not build) - redland/rasqal/makefile.mk, redland/rasqal-0.9.15.patch, redland/rasqal-0.9.16.patch, + upgrade rasqal to 0.9.16 - redland/redland/makefile.mk, redland/redland-1.0.7.patch, redland/redland-1.0.8.patch: + upgrade redland to 1.0.8 - redland/redlandversion.mk: + the librasqal SONAME has changed
2009-07-02 09:05:03 +00:00
xContext, rsViewURL, rsPaneURL));
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
// Determine the new visibility state.
const SfxItemSet* pArguments = rRequest.GetArgs();
BOOL bShowChildWindow;
USHORT nSlotId = rRequest.GetSlot();
if (pArguments != NULL)
bShowChildWindow = static_cast<const SfxBoolItem&>(
pArguments->Get(nSlotId)).GetValue();
else
{
Reference<XConfigurationController> xConfigurationController (
xControllerManager->getConfigurationController());
if ( ! xConfigurationController.is())
throw RuntimeException();
Reference<XConfiguration> xConfiguration (
xConfigurationController->getRequestedConfiguration());
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
if ( ! xConfiguration.is())
throw RuntimeException();
bShowChildWindow = ! xConfiguration->hasResource(xPaneId);
}
// Set the desired visibility state at the current configuration
// and update it accordingly.
Reference<XConfigurationController> xConfigurationController (
xControllerManager->getConfigurationController());
if ( ! xConfigurationController.is())
throw RuntimeException();
if (bShowChildWindow)
{
xConfigurationController->requestResourceActivation(
xPaneId,
ResourceActivationMode_ADD);
xConfigurationController->requestResourceActivation(
xViewId,
ResourceActivationMode_REPLACE);
}
else
xConfigurationController->requestResourceDeactivation(
xPaneId);
}
catch (RuntimeException&)
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
DBG_ASSERT(false, "ViewShellBase::Implementation::SetPaneVisibility(): caught exception");
}
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
void ViewShellBase::Implementation::GetSlotState (SfxItemSet& rSet)
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
try
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
// Get some frequently used values.
Reference<XControllerManager> xControllerManager (mrBase.GetController(), UNO_QUERY_THROW);
Reference<XConfigurationController> xConfigurationController (
xControllerManager->getConfigurationController());
if ( ! xConfigurationController.is())
throw RuntimeException();
Reference<XConfiguration> xConfiguration (
xConfigurationController->getRequestedConfiguration());
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
if ( ! xConfiguration.is())
throw RuntimeException();
CWS-TOOLING: integrate CWS odfmetadata2 2009-06-22 11:48:36 +0200 mst r273206 : - connectivity/source/drivers/mozab/mozillasrc/MNSInclude.hxx: + add "include ustrbuf.hxx" to work around warning caused by solaris <sys/kstat.h> declaring a global "long l ;" 2009-06-19 14:25:25 +0200 mst r273159 : - scp2/source/ooo/file_library_ooo.scp: + fix MinGW build 2009-06-08 12:52:33 +0200 mst r272727 : - redland/raptor-1.4.18.patch.mingw, redland/raptor/makefile.mk: + disable parsers that do not build on MinGW (thanks for patch by tono) 2009-05-15 17:31:07 +0200 mst r271957 : fix typos 2009-05-15 17:28:57 +0200 mst r271956 : #i101965# - offapi/com/sun/star/text/TextPortion: + add missing properties: SoftPageBreak, DocumentIndexMark, ReferenceMark, Footnote, TextField + fix read-only status of properties: Bookmark, IsStart, IsCollapsed - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb 2009-05-07 14:41:38 +0200 mst r271669 : - sw/inc/{fmtftn.hxx,unocoll.hxx,doc.hxx,editsh.hxx,ftninfo.hxx}, sw/source/core/layout/{flowfrm.cxx,ftnfrm.cxx}, sw/source/core/doc/docftn.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/txtnode/atrftn.cxx, sw/source/core/unocore/unocoll.cxx, sw/source/ui/fldui/fldref.cxx: + fix warning ... the hard way + also fix signature of SwDoc::SetCurFtn 2009-05-05 19:52:55 +0200 mst r271556 : - sw/inc/undobj.hxx: + make some members const 2009-05-05 19:34:40 +0200 mst r271555 : - sw/inc/rolbck.hxx, sw/source/core/undo/rolbck.cxx: + make some members const 2009-05-05 19:13:14 +0200 mst r271553 : - sw/inc/{undobj.hxx,rolbck.hxx}, sw/source/core/undo/{unbkmk.cxx,rolbck.cxx}: + fix rebase merge error + rename SwHstryBookmark to SwHistoryBookmark + clean up SwUndoBookmark 2009-05-05 19:05:53 +0200 mst r271552 : - sw/source/core/unocore/unoportenum.cxx: + fix annoying assertion 2009-05-05 15:34:48 +0200 mst r271522 : CWS-TOOLING: rebase CWS odfmetadata2 to trunk@271427 (milestone: DEV300:m47) 2009-05-04 12:37:01 +0200 mst r271444 : trivial 2009-04-22 13:30:37 +0200 mst r271102 : - sfx2/inc/sfx2/dinfdlg.hxx: + trivial change 2009-04-21 16:46:58 +0200 mst r271043 : - sw/inc/hintids.hxx: + introduce some predicates for the various hints, and use them 2009-04-21 16:19:03 +0200 mst r271041 : - sw/inc/undobj.hxx, sw/source/core/doc/{docfly.cxx,docfmt.cxx,docftn.cxx,doctxm.cxx}, sw/source/core/undo/{unattr.cxx,unins.cxx}: + clean up unattr.cxx: remove/fix casts, prefix members, use auto_ptr, etc. 2009-04-21 15:34:23 +0200 mst r271039 : - sw/inc/{rolbck.hxx,undobj.hxx}, sw/source/core/doc/docfmt.cxx, sw/source/core/txtnode/{thints.cxx,txtedt.cxx}, sw/source/core/undo/{rolbck.cxx,undel.cxx,undobj.cxx,unins.cxx,unmove.cxx, unovwr.cxx,unsect.cxx,unspnd.cxx,untbl.cxx,untblk.cxx,unattr.cxx}: + clean up SwHistory, SwRegHistory and SwHistoryHint etc.: remove/fix casts, prefix members, remove wrong const annotations, use auto_ptr, remove unused members, etc. 2009-04-20 19:17:36 +0200 mst r271013 : - sw/inc/ndhints.hxx, sw/source/core/text/{itrtxt.cxx,txtftn.cxx,itratr.cxx,porfly.cxx, txtfrm.cxx,txtdrop.cxx,frmform.cxx}, sw/source/core/txtnode/{ndtxt.cxx,ndhints.cxx,thints.cxx,txtedt.cxx}, sw/source/core/edit/acorrect.cxx, sw/source/core/doc/{docedt.cxx,docfmt.cxx}, sw/source/filter/html/swhtml.cxx: + clean up SwHintsArray and its subclasses: remove/fix casts, prefix members 2009-04-20 18:42:07 +0200 mst r271007 : - sw/source/core/text/txtio.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/undo/rolbck.cxx: + remove JP_NEWCORE dead code 2009-04-20 18:38:09 +0200 mst r271006 : - sw/source/core/unocore/unochart.cxx: + silence unxlngi warning (debug=t) 2009-04-20 16:36:13 +0200 mst r270991 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx, sw/source/ui/fldui/flddinf.hxx: + trivial cleanups 2009-04-20 15:28:52 +0200 mst r270990 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx: + fix bug: replaying a macro with a DocumentInfoItem removes all user-defined properties 2009-03-10 15:08:20 +0100 mst r269273 : - sfx2/source/doc/Metadatable.cxx: + add missing SolarMutex guards 2009-03-10 14:46:29 +0100 mst r269272 : - unoxml/source/rdf/librdf_repository.cxx: + never free rdf_world because that would call libxm2 xmlCleanupParser (and, to add insult to injury, other libxml2 functions later...) 2009-03-06 19:02:44 +0100 mst r269041 : argh! undo... 2009-03-06 19:00:58 +0100 mst r269040 : fix #i99931# - sw/source/ui/uno/unomod.cxx: + SwXViewSettings::_getSingleValue returns uninitialized memory for the ZoomType property if the value is PAGE_WIDTH_EXACT 2009-03-06 18:59:28 +0100 mst r269039 : - sw/inc/ndtxt.hxx, sw/source/core/txtnode/ndtxt.cxx, sw/source/core/unocore/unoportenum.cxx: + fix some more wntmsci12 warnings... 2009-03-06 18:56:46 +0100 mst r269038 : - sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx: + work around spurious warning on unxsoli4 debug=t 2009-03-05 14:02:01 +0100 mst r268902 : - sw/inc/txatbase.hxx: + back to c-style casts, they also compile on wntmsci12... 2009-03-05 10:23:25 +0100 mst r268882 : - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + revert change of return type of comphelper_getProcessComponentContext to Reference: does not build on wntmsci12 2009-03-04 19:08:09 +0100 mst r268861 : - sw/source/core/txtnode/{atrtox.cxx,ndtxt.cxx}: + fix initialization 2009-03-04 14:37:30 +0100 mst r268831 : - solenv/inc/target.mk: + fix CLASSPATH so complex tests run (fix by sb) 2009-03-04 14:36:30 +0100 mst r268830 : - sw/inc/unoobj.hxx, sw/source/core/unocore/{unoparagraph.cxx,unoobj.cxx,unoobj2.cxx}: + SwXParaFrameEnumeration constructor now takes SwPaM, not SwUnoCrsr + move SwParaSelection into unoparagraph.cxx, as it is only used there + bugfix: replace SwUnoCrsrs on stack with SwCursors 2009-03-04 14:34:46 +0100 mst r268829 : - sw/inc/pam.hxx, sw/source/core/crsr/pam.cxx, sw/source/core/edit/eddel.cxx, sw/source/core/doc/docredln.cxx, sw/source/core/undo/{untbl.cxx,undel.cxx}, sw/source/filter/rtf/swparrtf.cxx: + clean up SwPaM: prefix members + new constructor SwPosition(SwCntntNode&, xub_StrLen) + fix several broken SwPosition and SwPaM constructors + SwPam::DeleteMark now actually resets the unused position to default 2009-03-02 12:07:09 +0100 mst r268646 : - sw/inc/fmtcol.hxx: + fix annoying warning (gcc 4) 2009-03-02 12:06:27 +0100 mst r268645 : - odk/util/check.pl, odk/examples/DevelopersGuide/Text/TextDocuments.java: + rename module from FieldMaster to fieldmaster 2009-02-27 19:49:56 +0100 mst r268614 : - sfx2/inc/sfx2/Metadatable.hxx, sfx2/prj/d.lst, sfx2/source/doc/{Metadatable.cxx,makefile.mk}, sw/inc/{SwMetadatable.hxx,unoobj.hxx,undobj.hxx,ndtxt.hxx}, sw/source/core/doc/{SwMetadatable.cxx,makefile.mk,docnew.cxx}, sw/source/core/undo/{untbl.cxx,unins.cxx}, sw/source/core/unocore/unoparagraph.cxx, sw/source/ui/app/docsh.cxx: + move Metadatable implementation from sw to sfx2 2009-02-27 17:58:55 +0100 mst r268608 : - sw/inc/{SwMetadatable.hxx,undobj.hxx}, sw/source/core/doc/SwMetadatable.cxx, sw/source/core/undo/{untbl.cxx,unins.cxx,undel.cxx}: + CreateUndo now returns an opaque MetadatableUndo object 2009-02-27 13:15:44 +0100 mst r268587 : - sw/inc/ndtxt.hxx, sw/source/core/doc/docfmt.cxx, sw/source/core/text/{itratr.cxx,porlay.cxx}, sw/source/core/txtnode/{txtedt.cxx,ndtxt.cxx,thints.cxx}: + clean up SwTxtNode: fix casts, prefix members + factor out inline function SwTxtNode::TryDeleteSwpHints() 2009-02-27 13:14:30 +0100 mst r268586 : - svx/inc/svx/emphitem.hxx: + fix borken header guard 2009-02-27 13:13:56 +0100 mst r268585 : - sfx2/source/bastyp/progress.cxx: + fix use of compiler specific macro 2009-02-27 11:00:32 +0100 mst r268564 : - sw/inc/{txatbase.hxx,txtatr.hxx,txtinet.hxx,txtfld.hxx,txtftn.hxx, txtflcnt.hxx,txttxmrk.hxx,txtrfmrk.hxx}, sw/source/core/txtnode/{atrtox.cxx,atrref.cxx,atrflyin.cxx,atrftn.cxx, txtatr2.cxx,txatbase.cxx,atrfld.cxx,txtedt.cxx}, sw/source/core/text/atrstck.cxx, sw/source/core/access/acchyperlink.cxx, sw/source/core/doc/visiturl.cxx, sw/source/ui/wrtsh/wrtsh2.cxx: + clean up SwTxtAttr and its subclasses: remove/fix casts, prefix members + SwTxtINetFmt: remove unused member bColor - sw/source/core/text/txtfld.cxx: + move SwTxtFld methods to atrfld.cxx 2009-02-27 10:58:44 +0100 mst r268563 : - sfx2/inc/sfx2/sfxbasemodel.hxx: + don't privately inherit BaseMutex, ScModelObj wants to access it 2009-02-27 10:58:02 +0100 mst r268562 : - xmloff/source/core/{RDFaExportHelper.cxx,RDFaImportHelper.cxx}: + arrrgh!!! someone thought it would be a good idea to have 2 different versions of boost in external! and they're NOT compatible!!! insert an ugly fragile hack that maybe works with both... 2009-02-26 17:42:26 +0100 mst r268544 : - comphelper/inc/comphelper/storagehelper.hxx. sfx2/source/doc/DocumentMetadataAccess.cxx: + someone made IsValidZipEntryFileName a static method and didn't tell me 2009-02-26 15:52:56 +0100 mst r268529 : redland: split up patches 2009-02-26 13:17:56 +0100 mst r268509 : migration of cws odfmetadata2 from CVS (resync to m42): module sw #i95863# - sw/inc/segdefs{,_}.hxx: + remove obsolete files - sw/source/ui/inc/itemdef.hxx: + remove itemdef.hxx - sw/source/ui/app/[apphdl.cxx,docsh.cxx}, sw/source/ui/misc/glshell.cxx, sw/source/ui/shells/*.cxx, sw/source/ui/uiview/*.cxx, sw/source/ui/web/*.cxx: + use sfx2/msg.hxx instead of itemdef.hxx - sw/source/core/edit/eddel.cxx: + @ JP: SwEditShell::Replace: you're right, deleting the text to be replaced first, and then inserting a space, and then replacing that space is unnecessary. whew, i'm so happy that we finally answered that question after 11 years. - sw/inc/edimp.hxx: + remove FOREACHCURSOR_START, FOREACHCURSOR_END - sw/inc/{swcrsr.hxx,unocrsr.hxx,viscrs.hxx}, sw/source/core/crsr/{crsrsh.cxx,swcrsr.cxx,trvlreg.cxx,trvltbl.cxx, unocrsr.cxx,viscrs.cxx}, sw/source/core/doc/{docbm.cxx,doccorr.cxx}, sw/source/core/docnode/{ndtbl.cxx,ndtbl1.cxx}, sw/source/core/edit/editsh.cxx, sw/source/core/frmedt/{fefly1.cxx,fetab.cxx,tblsel.cxx}, sw/source/core/layout/trvlfrm.cxx, sw/source/core/unocore/{unochart.cxx,unoobj2.cxx,unoparagraph.cxx, unoportenum.cxx,unotbl.cxx}, sw/source/core/view/vprint.cxx: + remove the hideous virtual operator SwFooCursor* + make SwCursor::IsReadOnlyAvailable() virtual + make SwUnoCrsr::Clone() virtual + refactor SwCursor methods IsSelOver(), LeftRight(), UpDown(), GotoTable(): replace dynamic_cast<...>(this) with new virtual methods 2009-02-26 13:14:58 +0100 mst r268508 : migration of cws odfmetadata2 from CVS (resync to m42): module sw - sw/source/filter/xml/swxml.cxx: + XMLReader::Read: load RDF metadata of the ODF document - sw/source/filter/xml/wrtxml.cxx: + SwXMLWriter::_Write: write RDF metadata of the ODF document if ODF >= 1.2 #i90620#: import xml:id in text tables (does not actually work yet) - sw/source/filter/xml/xmltbli{.hxx,.cxx}: + SwXMLTableCellAttrTokens,aTableCellAttrTokenMap: add XML_TOK_TABLE_XMLID + SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl: attribute xml:id + SwXMLTableCellContext_Impl::CreateChildContext: attribute xml:id + SwXMLTableColContext_Impl::SwXMLTableColContext_Impl: attribute xml:id + SwXMLTableContext::SwXMLTableContext: attribute xml:id fix #i98530# - sw/inc/unoport.hxx, sw/source/core/unocore/unoport.cxx: + SwXTextPortion: make constructor params const& - sw/source/core/unocore/unoportenum.cxx: + refactor to remove some code duplication + fix bug: paragraph w/out hints: bookmark before frame gets lost #i97274# handle invalid tables - sw/source/core/layout/tabfrm.cxx, sw/source/filter/xml/xmltbli.cxx: + SwXMLTableContext::MakeTable(): check that the table actually contains cells, and abort (removing the inserted table nodes) if not 2009-02-26 13:11:48 +0100 mst r268507 : migration of cws odfmetadata2 from CVS (resync to m42): module sw refactor SwXTextRange and SwXParagraph - sw/inc/unoobj.hxx, sw/source/core/unocore/unoobj2.cxx: + remove 3 constructors of SwXTextRange + new method SwXTextRange::CreateParentXText + refactor SwXTextRange::CreateTextRangeFromPosition and SwXTextRange::getText - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph no longer uses a cursor; it registers directly at SwTxtNode + replace SwXParagraph::GetCrsr with SwXParagraph::GetTxtNode - sw/source/core/unocore/unotext.cxx, sw/source/ui/uno/unotxvw.cxx: + adapt to new SwXParagraph #i90620# - sw/inc/SwMetadatable.hxx, sw/source/core/doc/SwMetadatable.cxx: + new files: base classes sw::Metadatable and sw::MetadatableMixin; also, 2 implementations of IXmlIdRegistry: sw::XmlIdRegistryDocument and sw::XmlIdRegistryClipboard + setMetadataReference: handle empty stream name as auto-detect - sw/source/core/doc/makefile.mk: + add SwMetadatable add a XmlIdRegistry to SwDoc - sw/inc/doc.hxx: + SwDoc: add member m_pXmlIdRegistry, method GetXmlIdRegistry() - sw/source/core/doc/docnew.cxx: + initialize XmlIdRegistry in SwDoc::GetXmlIdRegistry, not in constructor, because the constructor is not told whether the SwDoc is a clipboard - sw/inc/docsh.hxx, sw/source/ui/app/docsh.cxx: + SwDocShell: override GetXmlIdRegistry() #i91563#: make the SwTxtNode metadatable - sw/inc/ndtxt.hxx + SwTxtNode inherits sw::Metadatable - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph inherits sw::MetadatableMixin #i91563#: handle SwTxtNode's metadata for delete - sw/source/core/txtnode/ndtxt.cxx: + SwTxtNode::SplitCntntNode: handle XmlId + SwTxtNode::JoinNext: merge XmlIds - sw/source/core/doc/docedt.cxx: + lcl_GetJoinFlags: document postcondition + SwDoc::Delete: remove XmlId only if SwTxtNode _becomes_ empty #i91563#: handle SwTxtNode's metadata for delete with undo - sw/inc/undobj.hxx + SwUndoDelete: new members m_pMetadataUndoStart, m_pMetadataUndoEnd - sw/source/core/undo/undel.cxx: + SwUndoDelete::SaveCntnt: save XmlIds for start and end SwTxtNode + SwUndoDelete::SaveCntnt: remove XmlId only if SwTxtNode _becomes_ empty + SwUndoDelete::Undo: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndcopy.cxx: + SwTxtNode::MakeCopy: register copy at XmlIdRegistry #i91563#: handle SwTxtNode's metadata for find/replace with undo - sw/source/core/undo/unins.cxx: + _UnReplaceData: rename members: add prefix m_ + _UnReplaceData: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + _UnReplaceData::_UnReplaceData: save XmlIds for start and end SwTxtNode + _UnReplaceData::Undo: restore saved XmlIds for start and end SwTxtNode #i91563#: handle SwTxtNode's metadata for table-to-text with undo - sw/source/core/undo/untbl.cxx: + SwTblToTxtSave: rename members: add prefix m_ + SwTblToTxtSave: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + SwTblToTxtSave::SwTblToTxtSave: save XmlIds for start and end SwTxtNode + SwTblToTxtSave::SwTblToTxtSave, SwNodes::UndoTableToText: always store the index of the first SwTxtNode in the cell, instead of the index of the first SwTxtNode in case of the first cell in a row, and the cell start node in other cases + SwNodes::UndoTableToText: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndtbl.cxx: + lcl_DelBox: simplify for refactored start index handling in SwTblToTxtSave 2009-02-26 13:02:28 +0100 mst r268505 : migration of cws odfmetadata2 from CVS (resync to m42): module sd - sd/source/ui/table/tableobjectbar.cxx,sd/source/ui/view/*.cxx: + remove invocations of SFX_DECL_TYPE - sd/source/ui/slideshow/SlideShowRestarter.cxx, sd/source/ui/toolpanel/LayoutMenu.cxx, sd/source/ui/unoidl/DrawController.cxx, sd/source/ui/view/{ViewShellBase.cxx,ViewTabBar.cxx,frmview.cxx}: + fix abuses of comphelper_getProcessComponentContext (missing release) 2009-02-26 13:01:24 +0100 mst r268504 : migration of cws odfmetadata2 from CVS (resync to m42): module starmath - starmath/source/document.cxx: + don't touch SfxObjectShell's privates 2009-02-26 13:00:37 +0100 mst r268503 : migration of cws odfmetadata2 from CVS (resync to m42): module sfx2 #i90620# - sfx2/inc/sfx2/XmlIdRegistry.hxx: + new file: interfaces sfx2::IXmlIdRegistry and sfx2::IXmlIdRegistrySupplier and a couple of utility functions - sfx2/inc/sfx2/DocumentMetadataAccess.hxx, sfx2/source/doc/DocumentMetadataAccess.cxx: + new class sfx2::DocumentMetadataAccess, implements XDocumentMetadataAccess + the URI of the DocumentMetadataAccess is now the URI from which the document was loaded; for a new document, use a vnd.sun.star.tdoc URI + add new function sfx2::createBaseURI() + prevent using reserved file names + try not to recurse into embedded subdocuments - sfx2/source/doc/makefile.mk: + add DocumentMetadataAccess - sfx2/util/makefile.mk: + link libsfx2 against libxml2 (needed for xmlValidateNCName) - sfx2/source/doc/makefile.mk: + add LIBXML_CFLAGS to CFLAGS - sfx2/prj/build.lst: + add dependence on libxml2 - sfx2/prj/d.lst: + add XmlIdRegistry.hxx, DocumentMetadataAccess.hxx - sfx2/inc/sfx2/objsh.hxx, sfx2/source/doc/objxtor.cxx: + make SfxObjectShell's members private + new method SfxObjectShell::GetAutoStyleFilterIndex + SfxObjectShell inherits sfx2::IXmlIdRegistrySupplier - sfx2/source/dialog/templdlg.cxx, sfx2/source/doc/sfxbasemodel.cxx: + don't touch SfxObjectShell's privates - sfx2/inc/sfx2/sfxbasemodel.hxx, sfx2/source/doc/sfxbasemodel.cxx: + SfxBaseModel inherits BaseMutex instead of IMPL_SfxBaseModel_MutexContainer + SfxBaseModel implements additional interface XDocumentMetadataAccess + IMPL_SfxBaseModel_DataContainer has new member: a sfx2::DocumentMetadataAccess + implementation of XDocumentMetadataAccess forwards to the sfx2::DocumentMetadataAccess member - sfx2/qa/complex/DocumentMetadataAccessTest.java, sfx2/qa/complex/{tests.sce,makefile.mk}, sfx2/qa/complex/testdocuments/TESTRDFA.odt: + add complex test: DocumentMetadataAccessTest + add RDFa test document #i95863# - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx: + refactor SfxDocumentItem so it no longer requires a XDocumentInfo + move struct CustomProperty to implementation file + remove class SfxDocumentUserPage + QueryValue,PutValue: remove MID_DOCINFO_FIELD* - sfx2/source/doc/objserv.cxx: + adapt to SfxDocumentItem change - sfx2/inc/sfx2/sfx.hrc, sfx2/sdi/sfxslots.sdi, sfx2/inc/sfx2/msg.hxx: + remove MID_DOCINFO_FIELD* + put all invocations of SFX_DECL_TYPE in msg.hxx, and undef SFX_DECL_TYPE - sfx2/source/doc/objxtor.cxx: + fix abuses of comphelper_getProcessComponentContext (missing release) - sfx2/source/doc/docfile.cxx: + SfxMedium::SfxMedium: don't dereference NULL, throw exception instead - sfx2/source/doc/objstor.cxx: + SfxObjectShell::DoLoad: fix bug: DocumentBaseURI is not initialized 2009-02-26 12:58:07 +0100 mst r268502 : migration of cws odfmetadata2 from CVS (resync to m42): module xmloff #i90620#: implement RDFa import (interface change) - xmloff/inc/xmloff/xmlimp.hxx. xmloff/source/core/xmlimp.cxx: + make SvXMLImport::GetAbsoluteReference() const + add SvXMLImport::GetComponentContext() + SvXMLImport::_InitCtor(): add RDFa namespace + add SvXMLImport::AddRDFa() + SvXMLImport::endDocument() inserts RDFa into document repository - xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/xmltoken.cxx: + new tokens for RDFa: XML_ABOUT, XML_DATATYPE - xmloff/inc/RDFaImportHelper.hxx, xmloff/source/core/RDFaImportHelper.cxx: + new class RDFaImportHelper + adapt the code to the bleak reality of broken C++ implementations + handle empty xhtml:about attributes properly, which are actually valid relative URIs + work around broken SvXMLImport::GetAbsoluteReference - xmloff/source/core/makefile.mk: + add RDFaImportHelper.cxx #i90620#: implement RDFa export - xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + add SvXMLExport::EnsureNamespace(), and a stack of namespace maps + add SvXMLExport::GetComponentContext() + add SvXMLExport::AddAttributesRDFa() - xmloff/inc/RDFaExportHelper.hxx, xmloff/source/core/RDFaExportHelper.cxx: + new class RDFaExportHelper + don't use std::map::data_type, which is actually called std::map::mapped_type by libstdc++ - xmloff/source/core/makefile.mk: + add RDFaExportHelper.cxx #i91563# - xmloff/inc/xmloff/txtimp.hxx, xmloff/source/text/txtimp.cxx: + XMLTextPAttrTokens: add RDFa tokens - xmloff/source/text/txtparai{.hxx,.cxx}: + import RDFa for text:p - xmloff/source/text/txtparae.cxx: + export RDFa for text:p interface change: use XHTML namespace instead of RDFA - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlimp.cxx,xmlexp.cxx,RDFaExportHelper.cxx}, xmloff/source/text/txtimp.cxx: + use XHTML namespace instead of RDFA #i91565#, #i91566#: (preliminary) import for text:meta, text:meta-field - xmloff/source/text/txtparai.cxx: + new class XMLMetaImportContextBase with subclasses to import text:meta and text:meta-field - xmloff/source/text/XMLTextMarkImportContext.cxx: + change XMLTextMarkImportContext::CreateAndInsertMark to handle marks with no name (text:meta) #i91565#, #i91566#: (preliminary) export for text:meta, text:meta-field - xmloff/inc/txtflde.hxx, xmloff/source/text/txtflde.cxx: + add FIELD_ID_META to FieldIdEnum + new method XMLTextFieldExport::ExportMetaField() + change XMLTextFieldExport::ExportField{,AutoStyle,Helper} to take additional parameter for progress bar - xmloff/inc/xmloff/txtparae.hxx, xmloff/source/text/txtparae.cxx: + make XMLTextParagraphExport::exportTextRangeEnumeration() public + new method XMLTextParagraphExport::exportMeta() #i90620# - xmloff/inc/xmloff/xmlimp.hxx, xmloff/source/core/xmlimp.cxx, xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + rename SvXML{Im,Ex}port::GetStreamPath() to GetStreamName() + fix xml:id {im,ex}port for embedded documents and non-packages + adapt to API change: XMetadatable #i90620# GRDDL - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlexp.cxx}: + add GRDDL namespace + add token XML_TRANSFORMATION + add grddl:transformation attribute to root elements for meta.xml, content.xml and styles.xml 2009-02-26 12:54:40 +0100 mst r268501 : migration of cws odfmetadata2 from CVS (resync to m42): module unoxml #i90620# - unoxml/source/rdf/librdf_repository.cxx: + librdf_Repository::importGraph: allocate buffer sized length of stream + switch from one librdf_world per repository to a single static world because redland has global variables with a brain-damaged life-cycle... + exportGraph: use new raptor 1.4.18 feature to disable writing an xml:base attribute in RDF/XML files - unoxml/source/rdf/librdf_repository.cxx: unoxml/qa/complex/RDFRepositoryTest.java: + adapt to predicate is URI change + adapt to RDFa API change + adapt to API change: RDFa has multiple predicates... + adapt to API change: XMetadatable derives from XURI + allow xhtml:datatype without xhtml:content + adapt to API change: attribute MetadataReference is StringPair - unoxml/source/rdf/CURI.cxx: + add some more URI constants 2009-02-26 12:53:32 +0100 mst r268500 : migration of cws odfmetadata2 from CVS (resync to m42): module package - package/inc/ImplValidCharacters.hxx: + remove (moved to comphelper) 2009-02-26 12:52:49 +0100 mst r268499 : migration of cws odfmetadata2 from CVS (resync to m42): module comphelper - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + add getProcessComponentContext() + change return type of comphelper_getProcessComponentContext to Reference - comphelper/inc/comphelper/stl_types.hxx: + add OUStringBufferAppender + add algorithm intersperse - comphelper/source/misc/string.cxx: + rewrite convertCommaSeparated with intersperse and OUStringBufferAppender - comphelper/inc/comphelper/stlunosequence.hxx: + fix bug: begin() on empty sequence != end() 2009-02-26 12:50:47 +0100 mst r268498 : migration of cws odfmetadata2 from CVS (resync to m42): module offapi #i96209# - offapi/com/sun/star/text/fieldmaster/*.idl: + rename module from FieldMaster to fieldmaster - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb #i90620# - offapi/com/sun/star/rdf/{XMetadatable.idl,XDocumentMetadataAccess.idl}: + API change: XMetadatable derives from XURI + API change: replace XmlId (string) with MetadataReference (StringPair) - offapi/com/sun/star/rdf/{Statement.idl,XDocumentRepository.idl, XNamedGraph.idl,XRepository.idl}: + the predicate of a statement is a URI, not a Resource - offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl: + rename: s/Package/Document/ + remove uuid + remove everything related to mapping + graph names are now generated from base URI and file names + load methods: improve error handling with XInteractionHandler - offapi/com/sun/star/rdf/XDocumentRepository.idl: + change: RDFa permits using multiple predicates in one attribute + setStatementRDFa: subject is now XResource, object is now XMetadatable - offapi/com/sun/star/rdf/URIs.idl: + add some more URI constants - offapi/com/sun/star/rdf: + fix @since tags and replace <method> with <member> 2009-02-26 12:47:24 +0100 mst r268497 : migration of cws odfmetadata2 from CVS (resync to m42): module redland fix #i93768# - redland/raptor-1.4.17.patch, redland/raptor/makefile.mk: + disable GRDDL parser to prevent call to libxslt xsltSetDefaultSecurityPrefs, which breaks xmlhelp - redland/raptor/makefile.mk, redland/raptor-1.4.17.patch, redland/raptor-1.4.18.patch: + upgrade raptor to 1.4.18 + deactivate serializer for RSS/Atom (does not build) - redland/rasqal/makefile.mk, redland/rasqal-0.9.15.patch, redland/rasqal-0.9.16.patch, + upgrade rasqal to 0.9.16 - redland/redland/makefile.mk, redland/redland-1.0.7.patch, redland/redland-1.0.8.patch: + upgrade redland to 1.0.8 - redland/redlandversion.mk: + the librasqal SONAME has changed
2009-07-02 09:05:03 +00:00
const Reference< XComponentContext > xContext(
::comphelper::getProcessComponentContext() );
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
SfxWhichIter aSetIterator (rSet);
sal_uInt16 nItemId (aSetIterator.FirstWhich());
while (nItemId > 0)
{
bool bState (false);
Reference<XResourceId> xResourceId;
try
{
switch (nItemId)
{
case SID_LEFT_PANE_IMPRESS:
xResourceId = ResourceId::create(
CWS-TOOLING: integrate CWS odfmetadata2 2009-06-22 11:48:36 +0200 mst r273206 : - connectivity/source/drivers/mozab/mozillasrc/MNSInclude.hxx: + add "include ustrbuf.hxx" to work around warning caused by solaris <sys/kstat.h> declaring a global "long l ;" 2009-06-19 14:25:25 +0200 mst r273159 : - scp2/source/ooo/file_library_ooo.scp: + fix MinGW build 2009-06-08 12:52:33 +0200 mst r272727 : - redland/raptor-1.4.18.patch.mingw, redland/raptor/makefile.mk: + disable parsers that do not build on MinGW (thanks for patch by tono) 2009-05-15 17:31:07 +0200 mst r271957 : fix typos 2009-05-15 17:28:57 +0200 mst r271956 : #i101965# - offapi/com/sun/star/text/TextPortion: + add missing properties: SoftPageBreak, DocumentIndexMark, ReferenceMark, Footnote, TextField + fix read-only status of properties: Bookmark, IsStart, IsCollapsed - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb 2009-05-07 14:41:38 +0200 mst r271669 : - sw/inc/{fmtftn.hxx,unocoll.hxx,doc.hxx,editsh.hxx,ftninfo.hxx}, sw/source/core/layout/{flowfrm.cxx,ftnfrm.cxx}, sw/source/core/doc/docftn.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/txtnode/atrftn.cxx, sw/source/core/unocore/unocoll.cxx, sw/source/ui/fldui/fldref.cxx: + fix warning ... the hard way + also fix signature of SwDoc::SetCurFtn 2009-05-05 19:52:55 +0200 mst r271556 : - sw/inc/undobj.hxx: + make some members const 2009-05-05 19:34:40 +0200 mst r271555 : - sw/inc/rolbck.hxx, sw/source/core/undo/rolbck.cxx: + make some members const 2009-05-05 19:13:14 +0200 mst r271553 : - sw/inc/{undobj.hxx,rolbck.hxx}, sw/source/core/undo/{unbkmk.cxx,rolbck.cxx}: + fix rebase merge error + rename SwHstryBookmark to SwHistoryBookmark + clean up SwUndoBookmark 2009-05-05 19:05:53 +0200 mst r271552 : - sw/source/core/unocore/unoportenum.cxx: + fix annoying assertion 2009-05-05 15:34:48 +0200 mst r271522 : CWS-TOOLING: rebase CWS odfmetadata2 to trunk@271427 (milestone: DEV300:m47) 2009-05-04 12:37:01 +0200 mst r271444 : trivial 2009-04-22 13:30:37 +0200 mst r271102 : - sfx2/inc/sfx2/dinfdlg.hxx: + trivial change 2009-04-21 16:46:58 +0200 mst r271043 : - sw/inc/hintids.hxx: + introduce some predicates for the various hints, and use them 2009-04-21 16:19:03 +0200 mst r271041 : - sw/inc/undobj.hxx, sw/source/core/doc/{docfly.cxx,docfmt.cxx,docftn.cxx,doctxm.cxx}, sw/source/core/undo/{unattr.cxx,unins.cxx}: + clean up unattr.cxx: remove/fix casts, prefix members, use auto_ptr, etc. 2009-04-21 15:34:23 +0200 mst r271039 : - sw/inc/{rolbck.hxx,undobj.hxx}, sw/source/core/doc/docfmt.cxx, sw/source/core/txtnode/{thints.cxx,txtedt.cxx}, sw/source/core/undo/{rolbck.cxx,undel.cxx,undobj.cxx,unins.cxx,unmove.cxx, unovwr.cxx,unsect.cxx,unspnd.cxx,untbl.cxx,untblk.cxx,unattr.cxx}: + clean up SwHistory, SwRegHistory and SwHistoryHint etc.: remove/fix casts, prefix members, remove wrong const annotations, use auto_ptr, remove unused members, etc. 2009-04-20 19:17:36 +0200 mst r271013 : - sw/inc/ndhints.hxx, sw/source/core/text/{itrtxt.cxx,txtftn.cxx,itratr.cxx,porfly.cxx, txtfrm.cxx,txtdrop.cxx,frmform.cxx}, sw/source/core/txtnode/{ndtxt.cxx,ndhints.cxx,thints.cxx,txtedt.cxx}, sw/source/core/edit/acorrect.cxx, sw/source/core/doc/{docedt.cxx,docfmt.cxx}, sw/source/filter/html/swhtml.cxx: + clean up SwHintsArray and its subclasses: remove/fix casts, prefix members 2009-04-20 18:42:07 +0200 mst r271007 : - sw/source/core/text/txtio.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/undo/rolbck.cxx: + remove JP_NEWCORE dead code 2009-04-20 18:38:09 +0200 mst r271006 : - sw/source/core/unocore/unochart.cxx: + silence unxlngi warning (debug=t) 2009-04-20 16:36:13 +0200 mst r270991 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx, sw/source/ui/fldui/flddinf.hxx: + trivial cleanups 2009-04-20 15:28:52 +0200 mst r270990 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx: + fix bug: replaying a macro with a DocumentInfoItem removes all user-defined properties 2009-03-10 15:08:20 +0100 mst r269273 : - sfx2/source/doc/Metadatable.cxx: + add missing SolarMutex guards 2009-03-10 14:46:29 +0100 mst r269272 : - unoxml/source/rdf/librdf_repository.cxx: + never free rdf_world because that would call libxm2 xmlCleanupParser (and, to add insult to injury, other libxml2 functions later...) 2009-03-06 19:02:44 +0100 mst r269041 : argh! undo... 2009-03-06 19:00:58 +0100 mst r269040 : fix #i99931# - sw/source/ui/uno/unomod.cxx: + SwXViewSettings::_getSingleValue returns uninitialized memory for the ZoomType property if the value is PAGE_WIDTH_EXACT 2009-03-06 18:59:28 +0100 mst r269039 : - sw/inc/ndtxt.hxx, sw/source/core/txtnode/ndtxt.cxx, sw/source/core/unocore/unoportenum.cxx: + fix some more wntmsci12 warnings... 2009-03-06 18:56:46 +0100 mst r269038 : - sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx: + work around spurious warning on unxsoli4 debug=t 2009-03-05 14:02:01 +0100 mst r268902 : - sw/inc/txatbase.hxx: + back to c-style casts, they also compile on wntmsci12... 2009-03-05 10:23:25 +0100 mst r268882 : - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + revert change of return type of comphelper_getProcessComponentContext to Reference: does not build on wntmsci12 2009-03-04 19:08:09 +0100 mst r268861 : - sw/source/core/txtnode/{atrtox.cxx,ndtxt.cxx}: + fix initialization 2009-03-04 14:37:30 +0100 mst r268831 : - solenv/inc/target.mk: + fix CLASSPATH so complex tests run (fix by sb) 2009-03-04 14:36:30 +0100 mst r268830 : - sw/inc/unoobj.hxx, sw/source/core/unocore/{unoparagraph.cxx,unoobj.cxx,unoobj2.cxx}: + SwXParaFrameEnumeration constructor now takes SwPaM, not SwUnoCrsr + move SwParaSelection into unoparagraph.cxx, as it is only used there + bugfix: replace SwUnoCrsrs on stack with SwCursors 2009-03-04 14:34:46 +0100 mst r268829 : - sw/inc/pam.hxx, sw/source/core/crsr/pam.cxx, sw/source/core/edit/eddel.cxx, sw/source/core/doc/docredln.cxx, sw/source/core/undo/{untbl.cxx,undel.cxx}, sw/source/filter/rtf/swparrtf.cxx: + clean up SwPaM: prefix members + new constructor SwPosition(SwCntntNode&, xub_StrLen) + fix several broken SwPosition and SwPaM constructors + SwPam::DeleteMark now actually resets the unused position to default 2009-03-02 12:07:09 +0100 mst r268646 : - sw/inc/fmtcol.hxx: + fix annoying warning (gcc 4) 2009-03-02 12:06:27 +0100 mst r268645 : - odk/util/check.pl, odk/examples/DevelopersGuide/Text/TextDocuments.java: + rename module from FieldMaster to fieldmaster 2009-02-27 19:49:56 +0100 mst r268614 : - sfx2/inc/sfx2/Metadatable.hxx, sfx2/prj/d.lst, sfx2/source/doc/{Metadatable.cxx,makefile.mk}, sw/inc/{SwMetadatable.hxx,unoobj.hxx,undobj.hxx,ndtxt.hxx}, sw/source/core/doc/{SwMetadatable.cxx,makefile.mk,docnew.cxx}, sw/source/core/undo/{untbl.cxx,unins.cxx}, sw/source/core/unocore/unoparagraph.cxx, sw/source/ui/app/docsh.cxx: + move Metadatable implementation from sw to sfx2 2009-02-27 17:58:55 +0100 mst r268608 : - sw/inc/{SwMetadatable.hxx,undobj.hxx}, sw/source/core/doc/SwMetadatable.cxx, sw/source/core/undo/{untbl.cxx,unins.cxx,undel.cxx}: + CreateUndo now returns an opaque MetadatableUndo object 2009-02-27 13:15:44 +0100 mst r268587 : - sw/inc/ndtxt.hxx, sw/source/core/doc/docfmt.cxx, sw/source/core/text/{itratr.cxx,porlay.cxx}, sw/source/core/txtnode/{txtedt.cxx,ndtxt.cxx,thints.cxx}: + clean up SwTxtNode: fix casts, prefix members + factor out inline function SwTxtNode::TryDeleteSwpHints() 2009-02-27 13:14:30 +0100 mst r268586 : - svx/inc/svx/emphitem.hxx: + fix borken header guard 2009-02-27 13:13:56 +0100 mst r268585 : - sfx2/source/bastyp/progress.cxx: + fix use of compiler specific macro 2009-02-27 11:00:32 +0100 mst r268564 : - sw/inc/{txatbase.hxx,txtatr.hxx,txtinet.hxx,txtfld.hxx,txtftn.hxx, txtflcnt.hxx,txttxmrk.hxx,txtrfmrk.hxx}, sw/source/core/txtnode/{atrtox.cxx,atrref.cxx,atrflyin.cxx,atrftn.cxx, txtatr2.cxx,txatbase.cxx,atrfld.cxx,txtedt.cxx}, sw/source/core/text/atrstck.cxx, sw/source/core/access/acchyperlink.cxx, sw/source/core/doc/visiturl.cxx, sw/source/ui/wrtsh/wrtsh2.cxx: + clean up SwTxtAttr and its subclasses: remove/fix casts, prefix members + SwTxtINetFmt: remove unused member bColor - sw/source/core/text/txtfld.cxx: + move SwTxtFld methods to atrfld.cxx 2009-02-27 10:58:44 +0100 mst r268563 : - sfx2/inc/sfx2/sfxbasemodel.hxx: + don't privately inherit BaseMutex, ScModelObj wants to access it 2009-02-27 10:58:02 +0100 mst r268562 : - xmloff/source/core/{RDFaExportHelper.cxx,RDFaImportHelper.cxx}: + arrrgh!!! someone thought it would be a good idea to have 2 different versions of boost in external! and they're NOT compatible!!! insert an ugly fragile hack that maybe works with both... 2009-02-26 17:42:26 +0100 mst r268544 : - comphelper/inc/comphelper/storagehelper.hxx. sfx2/source/doc/DocumentMetadataAccess.cxx: + someone made IsValidZipEntryFileName a static method and didn't tell me 2009-02-26 15:52:56 +0100 mst r268529 : redland: split up patches 2009-02-26 13:17:56 +0100 mst r268509 : migration of cws odfmetadata2 from CVS (resync to m42): module sw #i95863# - sw/inc/segdefs{,_}.hxx: + remove obsolete files - sw/source/ui/inc/itemdef.hxx: + remove itemdef.hxx - sw/source/ui/app/[apphdl.cxx,docsh.cxx}, sw/source/ui/misc/glshell.cxx, sw/source/ui/shells/*.cxx, sw/source/ui/uiview/*.cxx, sw/source/ui/web/*.cxx: + use sfx2/msg.hxx instead of itemdef.hxx - sw/source/core/edit/eddel.cxx: + @ JP: SwEditShell::Replace: you're right, deleting the text to be replaced first, and then inserting a space, and then replacing that space is unnecessary. whew, i'm so happy that we finally answered that question after 11 years. - sw/inc/edimp.hxx: + remove FOREACHCURSOR_START, FOREACHCURSOR_END - sw/inc/{swcrsr.hxx,unocrsr.hxx,viscrs.hxx}, sw/source/core/crsr/{crsrsh.cxx,swcrsr.cxx,trvlreg.cxx,trvltbl.cxx, unocrsr.cxx,viscrs.cxx}, sw/source/core/doc/{docbm.cxx,doccorr.cxx}, sw/source/core/docnode/{ndtbl.cxx,ndtbl1.cxx}, sw/source/core/edit/editsh.cxx, sw/source/core/frmedt/{fefly1.cxx,fetab.cxx,tblsel.cxx}, sw/source/core/layout/trvlfrm.cxx, sw/source/core/unocore/{unochart.cxx,unoobj2.cxx,unoparagraph.cxx, unoportenum.cxx,unotbl.cxx}, sw/source/core/view/vprint.cxx: + remove the hideous virtual operator SwFooCursor* + make SwCursor::IsReadOnlyAvailable() virtual + make SwUnoCrsr::Clone() virtual + refactor SwCursor methods IsSelOver(), LeftRight(), UpDown(), GotoTable(): replace dynamic_cast<...>(this) with new virtual methods 2009-02-26 13:14:58 +0100 mst r268508 : migration of cws odfmetadata2 from CVS (resync to m42): module sw - sw/source/filter/xml/swxml.cxx: + XMLReader::Read: load RDF metadata of the ODF document - sw/source/filter/xml/wrtxml.cxx: + SwXMLWriter::_Write: write RDF metadata of the ODF document if ODF >= 1.2 #i90620#: import xml:id in text tables (does not actually work yet) - sw/source/filter/xml/xmltbli{.hxx,.cxx}: + SwXMLTableCellAttrTokens,aTableCellAttrTokenMap: add XML_TOK_TABLE_XMLID + SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl: attribute xml:id + SwXMLTableCellContext_Impl::CreateChildContext: attribute xml:id + SwXMLTableColContext_Impl::SwXMLTableColContext_Impl: attribute xml:id + SwXMLTableContext::SwXMLTableContext: attribute xml:id fix #i98530# - sw/inc/unoport.hxx, sw/source/core/unocore/unoport.cxx: + SwXTextPortion: make constructor params const& - sw/source/core/unocore/unoportenum.cxx: + refactor to remove some code duplication + fix bug: paragraph w/out hints: bookmark before frame gets lost #i97274# handle invalid tables - sw/source/core/layout/tabfrm.cxx, sw/source/filter/xml/xmltbli.cxx: + SwXMLTableContext::MakeTable(): check that the table actually contains cells, and abort (removing the inserted table nodes) if not 2009-02-26 13:11:48 +0100 mst r268507 : migration of cws odfmetadata2 from CVS (resync to m42): module sw refactor SwXTextRange and SwXParagraph - sw/inc/unoobj.hxx, sw/source/core/unocore/unoobj2.cxx: + remove 3 constructors of SwXTextRange + new method SwXTextRange::CreateParentXText + refactor SwXTextRange::CreateTextRangeFromPosition and SwXTextRange::getText - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph no longer uses a cursor; it registers directly at SwTxtNode + replace SwXParagraph::GetCrsr with SwXParagraph::GetTxtNode - sw/source/core/unocore/unotext.cxx, sw/source/ui/uno/unotxvw.cxx: + adapt to new SwXParagraph #i90620# - sw/inc/SwMetadatable.hxx, sw/source/core/doc/SwMetadatable.cxx: + new files: base classes sw::Metadatable and sw::MetadatableMixin; also, 2 implementations of IXmlIdRegistry: sw::XmlIdRegistryDocument and sw::XmlIdRegistryClipboard + setMetadataReference: handle empty stream name as auto-detect - sw/source/core/doc/makefile.mk: + add SwMetadatable add a XmlIdRegistry to SwDoc - sw/inc/doc.hxx: + SwDoc: add member m_pXmlIdRegistry, method GetXmlIdRegistry() - sw/source/core/doc/docnew.cxx: + initialize XmlIdRegistry in SwDoc::GetXmlIdRegistry, not in constructor, because the constructor is not told whether the SwDoc is a clipboard - sw/inc/docsh.hxx, sw/source/ui/app/docsh.cxx: + SwDocShell: override GetXmlIdRegistry() #i91563#: make the SwTxtNode metadatable - sw/inc/ndtxt.hxx + SwTxtNode inherits sw::Metadatable - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph inherits sw::MetadatableMixin #i91563#: handle SwTxtNode's metadata for delete - sw/source/core/txtnode/ndtxt.cxx: + SwTxtNode::SplitCntntNode: handle XmlId + SwTxtNode::JoinNext: merge XmlIds - sw/source/core/doc/docedt.cxx: + lcl_GetJoinFlags: document postcondition + SwDoc::Delete: remove XmlId only if SwTxtNode _becomes_ empty #i91563#: handle SwTxtNode's metadata for delete with undo - sw/inc/undobj.hxx + SwUndoDelete: new members m_pMetadataUndoStart, m_pMetadataUndoEnd - sw/source/core/undo/undel.cxx: + SwUndoDelete::SaveCntnt: save XmlIds for start and end SwTxtNode + SwUndoDelete::SaveCntnt: remove XmlId only if SwTxtNode _becomes_ empty + SwUndoDelete::Undo: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndcopy.cxx: + SwTxtNode::MakeCopy: register copy at XmlIdRegistry #i91563#: handle SwTxtNode's metadata for find/replace with undo - sw/source/core/undo/unins.cxx: + _UnReplaceData: rename members: add prefix m_ + _UnReplaceData: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + _UnReplaceData::_UnReplaceData: save XmlIds for start and end SwTxtNode + _UnReplaceData::Undo: restore saved XmlIds for start and end SwTxtNode #i91563#: handle SwTxtNode's metadata for table-to-text with undo - sw/source/core/undo/untbl.cxx: + SwTblToTxtSave: rename members: add prefix m_ + SwTblToTxtSave: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + SwTblToTxtSave::SwTblToTxtSave: save XmlIds for start and end SwTxtNode + SwTblToTxtSave::SwTblToTxtSave, SwNodes::UndoTableToText: always store the index of the first SwTxtNode in the cell, instead of the index of the first SwTxtNode in case of the first cell in a row, and the cell start node in other cases + SwNodes::UndoTableToText: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndtbl.cxx: + lcl_DelBox: simplify for refactored start index handling in SwTblToTxtSave 2009-02-26 13:02:28 +0100 mst r268505 : migration of cws odfmetadata2 from CVS (resync to m42): module sd - sd/source/ui/table/tableobjectbar.cxx,sd/source/ui/view/*.cxx: + remove invocations of SFX_DECL_TYPE - sd/source/ui/slideshow/SlideShowRestarter.cxx, sd/source/ui/toolpanel/LayoutMenu.cxx, sd/source/ui/unoidl/DrawController.cxx, sd/source/ui/view/{ViewShellBase.cxx,ViewTabBar.cxx,frmview.cxx}: + fix abuses of comphelper_getProcessComponentContext (missing release) 2009-02-26 13:01:24 +0100 mst r268504 : migration of cws odfmetadata2 from CVS (resync to m42): module starmath - starmath/source/document.cxx: + don't touch SfxObjectShell's privates 2009-02-26 13:00:37 +0100 mst r268503 : migration of cws odfmetadata2 from CVS (resync to m42): module sfx2 #i90620# - sfx2/inc/sfx2/XmlIdRegistry.hxx: + new file: interfaces sfx2::IXmlIdRegistry and sfx2::IXmlIdRegistrySupplier and a couple of utility functions - sfx2/inc/sfx2/DocumentMetadataAccess.hxx, sfx2/source/doc/DocumentMetadataAccess.cxx: + new class sfx2::DocumentMetadataAccess, implements XDocumentMetadataAccess + the URI of the DocumentMetadataAccess is now the URI from which the document was loaded; for a new document, use a vnd.sun.star.tdoc URI + add new function sfx2::createBaseURI() + prevent using reserved file names + try not to recurse into embedded subdocuments - sfx2/source/doc/makefile.mk: + add DocumentMetadataAccess - sfx2/util/makefile.mk: + link libsfx2 against libxml2 (needed for xmlValidateNCName) - sfx2/source/doc/makefile.mk: + add LIBXML_CFLAGS to CFLAGS - sfx2/prj/build.lst: + add dependence on libxml2 - sfx2/prj/d.lst: + add XmlIdRegistry.hxx, DocumentMetadataAccess.hxx - sfx2/inc/sfx2/objsh.hxx, sfx2/source/doc/objxtor.cxx: + make SfxObjectShell's members private + new method SfxObjectShell::GetAutoStyleFilterIndex + SfxObjectShell inherits sfx2::IXmlIdRegistrySupplier - sfx2/source/dialog/templdlg.cxx, sfx2/source/doc/sfxbasemodel.cxx: + don't touch SfxObjectShell's privates - sfx2/inc/sfx2/sfxbasemodel.hxx, sfx2/source/doc/sfxbasemodel.cxx: + SfxBaseModel inherits BaseMutex instead of IMPL_SfxBaseModel_MutexContainer + SfxBaseModel implements additional interface XDocumentMetadataAccess + IMPL_SfxBaseModel_DataContainer has new member: a sfx2::DocumentMetadataAccess + implementation of XDocumentMetadataAccess forwards to the sfx2::DocumentMetadataAccess member - sfx2/qa/complex/DocumentMetadataAccessTest.java, sfx2/qa/complex/{tests.sce,makefile.mk}, sfx2/qa/complex/testdocuments/TESTRDFA.odt: + add complex test: DocumentMetadataAccessTest + add RDFa test document #i95863# - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx: + refactor SfxDocumentItem so it no longer requires a XDocumentInfo + move struct CustomProperty to implementation file + remove class SfxDocumentUserPage + QueryValue,PutValue: remove MID_DOCINFO_FIELD* - sfx2/source/doc/objserv.cxx: + adapt to SfxDocumentItem change - sfx2/inc/sfx2/sfx.hrc, sfx2/sdi/sfxslots.sdi, sfx2/inc/sfx2/msg.hxx: + remove MID_DOCINFO_FIELD* + put all invocations of SFX_DECL_TYPE in msg.hxx, and undef SFX_DECL_TYPE - sfx2/source/doc/objxtor.cxx: + fix abuses of comphelper_getProcessComponentContext (missing release) - sfx2/source/doc/docfile.cxx: + SfxMedium::SfxMedium: don't dereference NULL, throw exception instead - sfx2/source/doc/objstor.cxx: + SfxObjectShell::DoLoad: fix bug: DocumentBaseURI is not initialized 2009-02-26 12:58:07 +0100 mst r268502 : migration of cws odfmetadata2 from CVS (resync to m42): module xmloff #i90620#: implement RDFa import (interface change) - xmloff/inc/xmloff/xmlimp.hxx. xmloff/source/core/xmlimp.cxx: + make SvXMLImport::GetAbsoluteReference() const + add SvXMLImport::GetComponentContext() + SvXMLImport::_InitCtor(): add RDFa namespace + add SvXMLImport::AddRDFa() + SvXMLImport::endDocument() inserts RDFa into document repository - xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/xmltoken.cxx: + new tokens for RDFa: XML_ABOUT, XML_DATATYPE - xmloff/inc/RDFaImportHelper.hxx, xmloff/source/core/RDFaImportHelper.cxx: + new class RDFaImportHelper + adapt the code to the bleak reality of broken C++ implementations + handle empty xhtml:about attributes properly, which are actually valid relative URIs + work around broken SvXMLImport::GetAbsoluteReference - xmloff/source/core/makefile.mk: + add RDFaImportHelper.cxx #i90620#: implement RDFa export - xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + add SvXMLExport::EnsureNamespace(), and a stack of namespace maps + add SvXMLExport::GetComponentContext() + add SvXMLExport::AddAttributesRDFa() - xmloff/inc/RDFaExportHelper.hxx, xmloff/source/core/RDFaExportHelper.cxx: + new class RDFaExportHelper + don't use std::map::data_type, which is actually called std::map::mapped_type by libstdc++ - xmloff/source/core/makefile.mk: + add RDFaExportHelper.cxx #i91563# - xmloff/inc/xmloff/txtimp.hxx, xmloff/source/text/txtimp.cxx: + XMLTextPAttrTokens: add RDFa tokens - xmloff/source/text/txtparai{.hxx,.cxx}: + import RDFa for text:p - xmloff/source/text/txtparae.cxx: + export RDFa for text:p interface change: use XHTML namespace instead of RDFA - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlimp.cxx,xmlexp.cxx,RDFaExportHelper.cxx}, xmloff/source/text/txtimp.cxx: + use XHTML namespace instead of RDFA #i91565#, #i91566#: (preliminary) import for text:meta, text:meta-field - xmloff/source/text/txtparai.cxx: + new class XMLMetaImportContextBase with subclasses to import text:meta and text:meta-field - xmloff/source/text/XMLTextMarkImportContext.cxx: + change XMLTextMarkImportContext::CreateAndInsertMark to handle marks with no name (text:meta) #i91565#, #i91566#: (preliminary) export for text:meta, text:meta-field - xmloff/inc/txtflde.hxx, xmloff/source/text/txtflde.cxx: + add FIELD_ID_META to FieldIdEnum + new method XMLTextFieldExport::ExportMetaField() + change XMLTextFieldExport::ExportField{,AutoStyle,Helper} to take additional parameter for progress bar - xmloff/inc/xmloff/txtparae.hxx, xmloff/source/text/txtparae.cxx: + make XMLTextParagraphExport::exportTextRangeEnumeration() public + new method XMLTextParagraphExport::exportMeta() #i90620# - xmloff/inc/xmloff/xmlimp.hxx, xmloff/source/core/xmlimp.cxx, xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + rename SvXML{Im,Ex}port::GetStreamPath() to GetStreamName() + fix xml:id {im,ex}port for embedded documents and non-packages + adapt to API change: XMetadatable #i90620# GRDDL - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlexp.cxx}: + add GRDDL namespace + add token XML_TRANSFORMATION + add grddl:transformation attribute to root elements for meta.xml, content.xml and styles.xml 2009-02-26 12:54:40 +0100 mst r268501 : migration of cws odfmetadata2 from CVS (resync to m42): module unoxml #i90620# - unoxml/source/rdf/librdf_repository.cxx: + librdf_Repository::importGraph: allocate buffer sized length of stream + switch from one librdf_world per repository to a single static world because redland has global variables with a brain-damaged life-cycle... + exportGraph: use new raptor 1.4.18 feature to disable writing an xml:base attribute in RDF/XML files - unoxml/source/rdf/librdf_repository.cxx: unoxml/qa/complex/RDFRepositoryTest.java: + adapt to predicate is URI change + adapt to RDFa API change + adapt to API change: RDFa has multiple predicates... + adapt to API change: XMetadatable derives from XURI + allow xhtml:datatype without xhtml:content + adapt to API change: attribute MetadataReference is StringPair - unoxml/source/rdf/CURI.cxx: + add some more URI constants 2009-02-26 12:53:32 +0100 mst r268500 : migration of cws odfmetadata2 from CVS (resync to m42): module package - package/inc/ImplValidCharacters.hxx: + remove (moved to comphelper) 2009-02-26 12:52:49 +0100 mst r268499 : migration of cws odfmetadata2 from CVS (resync to m42): module comphelper - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + add getProcessComponentContext() + change return type of comphelper_getProcessComponentContext to Reference - comphelper/inc/comphelper/stl_types.hxx: + add OUStringBufferAppender + add algorithm intersperse - comphelper/source/misc/string.cxx: + rewrite convertCommaSeparated with intersperse and OUStringBufferAppender - comphelper/inc/comphelper/stlunosequence.hxx: + fix bug: begin() on empty sequence != end() 2009-02-26 12:50:47 +0100 mst r268498 : migration of cws odfmetadata2 from CVS (resync to m42): module offapi #i96209# - offapi/com/sun/star/text/fieldmaster/*.idl: + rename module from FieldMaster to fieldmaster - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb #i90620# - offapi/com/sun/star/rdf/{XMetadatable.idl,XDocumentMetadataAccess.idl}: + API change: XMetadatable derives from XURI + API change: replace XmlId (string) with MetadataReference (StringPair) - offapi/com/sun/star/rdf/{Statement.idl,XDocumentRepository.idl, XNamedGraph.idl,XRepository.idl}: + the predicate of a statement is a URI, not a Resource - offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl: + rename: s/Package/Document/ + remove uuid + remove everything related to mapping + graph names are now generated from base URI and file names + load methods: improve error handling with XInteractionHandler - offapi/com/sun/star/rdf/XDocumentRepository.idl: + change: RDFa permits using multiple predicates in one attribute + setStatementRDFa: subject is now XResource, object is now XMetadatable - offapi/com/sun/star/rdf/URIs.idl: + add some more URI constants - offapi/com/sun/star/rdf: + fix @since tags and replace <method> with <member> 2009-02-26 12:47:24 +0100 mst r268497 : migration of cws odfmetadata2 from CVS (resync to m42): module redland fix #i93768# - redland/raptor-1.4.17.patch, redland/raptor/makefile.mk: + disable GRDDL parser to prevent call to libxslt xsltSetDefaultSecurityPrefs, which breaks xmlhelp - redland/raptor/makefile.mk, redland/raptor-1.4.17.patch, redland/raptor-1.4.18.patch: + upgrade raptor to 1.4.18 + deactivate serializer for RSS/Atom (does not build) - redland/rasqal/makefile.mk, redland/rasqal-0.9.15.patch, redland/rasqal-0.9.16.patch, + upgrade rasqal to 0.9.16 - redland/redland/makefile.mk, redland/redland-1.0.7.patch, redland/redland-1.0.8.patch: + upgrade redland to 1.0.8 - redland/redlandversion.mk: + the librasqal SONAME has changed
2009-07-02 09:05:03 +00:00
xContext, FrameworkHelper::msLeftImpressPaneURL);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
break;
case SID_LEFT_PANE_DRAW:
xResourceId = ResourceId::create(
CWS-TOOLING: integrate CWS odfmetadata2 2009-06-22 11:48:36 +0200 mst r273206 : - connectivity/source/drivers/mozab/mozillasrc/MNSInclude.hxx: + add "include ustrbuf.hxx" to work around warning caused by solaris <sys/kstat.h> declaring a global "long l ;" 2009-06-19 14:25:25 +0200 mst r273159 : - scp2/source/ooo/file_library_ooo.scp: + fix MinGW build 2009-06-08 12:52:33 +0200 mst r272727 : - redland/raptor-1.4.18.patch.mingw, redland/raptor/makefile.mk: + disable parsers that do not build on MinGW (thanks for patch by tono) 2009-05-15 17:31:07 +0200 mst r271957 : fix typos 2009-05-15 17:28:57 +0200 mst r271956 : #i101965# - offapi/com/sun/star/text/TextPortion: + add missing properties: SoftPageBreak, DocumentIndexMark, ReferenceMark, Footnote, TextField + fix read-only status of properties: Bookmark, IsStart, IsCollapsed - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb 2009-05-07 14:41:38 +0200 mst r271669 : - sw/inc/{fmtftn.hxx,unocoll.hxx,doc.hxx,editsh.hxx,ftninfo.hxx}, sw/source/core/layout/{flowfrm.cxx,ftnfrm.cxx}, sw/source/core/doc/docftn.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/txtnode/atrftn.cxx, sw/source/core/unocore/unocoll.cxx, sw/source/ui/fldui/fldref.cxx: + fix warning ... the hard way + also fix signature of SwDoc::SetCurFtn 2009-05-05 19:52:55 +0200 mst r271556 : - sw/inc/undobj.hxx: + make some members const 2009-05-05 19:34:40 +0200 mst r271555 : - sw/inc/rolbck.hxx, sw/source/core/undo/rolbck.cxx: + make some members const 2009-05-05 19:13:14 +0200 mst r271553 : - sw/inc/{undobj.hxx,rolbck.hxx}, sw/source/core/undo/{unbkmk.cxx,rolbck.cxx}: + fix rebase merge error + rename SwHstryBookmark to SwHistoryBookmark + clean up SwUndoBookmark 2009-05-05 19:05:53 +0200 mst r271552 : - sw/source/core/unocore/unoportenum.cxx: + fix annoying assertion 2009-05-05 15:34:48 +0200 mst r271522 : CWS-TOOLING: rebase CWS odfmetadata2 to trunk@271427 (milestone: DEV300:m47) 2009-05-04 12:37:01 +0200 mst r271444 : trivial 2009-04-22 13:30:37 +0200 mst r271102 : - sfx2/inc/sfx2/dinfdlg.hxx: + trivial change 2009-04-21 16:46:58 +0200 mst r271043 : - sw/inc/hintids.hxx: + introduce some predicates for the various hints, and use them 2009-04-21 16:19:03 +0200 mst r271041 : - sw/inc/undobj.hxx, sw/source/core/doc/{docfly.cxx,docfmt.cxx,docftn.cxx,doctxm.cxx}, sw/source/core/undo/{unattr.cxx,unins.cxx}: + clean up unattr.cxx: remove/fix casts, prefix members, use auto_ptr, etc. 2009-04-21 15:34:23 +0200 mst r271039 : - sw/inc/{rolbck.hxx,undobj.hxx}, sw/source/core/doc/docfmt.cxx, sw/source/core/txtnode/{thints.cxx,txtedt.cxx}, sw/source/core/undo/{rolbck.cxx,undel.cxx,undobj.cxx,unins.cxx,unmove.cxx, unovwr.cxx,unsect.cxx,unspnd.cxx,untbl.cxx,untblk.cxx,unattr.cxx}: + clean up SwHistory, SwRegHistory and SwHistoryHint etc.: remove/fix casts, prefix members, remove wrong const annotations, use auto_ptr, remove unused members, etc. 2009-04-20 19:17:36 +0200 mst r271013 : - sw/inc/ndhints.hxx, sw/source/core/text/{itrtxt.cxx,txtftn.cxx,itratr.cxx,porfly.cxx, txtfrm.cxx,txtdrop.cxx,frmform.cxx}, sw/source/core/txtnode/{ndtxt.cxx,ndhints.cxx,thints.cxx,txtedt.cxx}, sw/source/core/edit/acorrect.cxx, sw/source/core/doc/{docedt.cxx,docfmt.cxx}, sw/source/filter/html/swhtml.cxx: + clean up SwHintsArray and its subclasses: remove/fix casts, prefix members 2009-04-20 18:42:07 +0200 mst r271007 : - sw/source/core/text/txtio.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/undo/rolbck.cxx: + remove JP_NEWCORE dead code 2009-04-20 18:38:09 +0200 mst r271006 : - sw/source/core/unocore/unochart.cxx: + silence unxlngi warning (debug=t) 2009-04-20 16:36:13 +0200 mst r270991 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx, sw/source/ui/fldui/flddinf.hxx: + trivial cleanups 2009-04-20 15:28:52 +0200 mst r270990 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx: + fix bug: replaying a macro with a DocumentInfoItem removes all user-defined properties 2009-03-10 15:08:20 +0100 mst r269273 : - sfx2/source/doc/Metadatable.cxx: + add missing SolarMutex guards 2009-03-10 14:46:29 +0100 mst r269272 : - unoxml/source/rdf/librdf_repository.cxx: + never free rdf_world because that would call libxm2 xmlCleanupParser (and, to add insult to injury, other libxml2 functions later...) 2009-03-06 19:02:44 +0100 mst r269041 : argh! undo... 2009-03-06 19:00:58 +0100 mst r269040 : fix #i99931# - sw/source/ui/uno/unomod.cxx: + SwXViewSettings::_getSingleValue returns uninitialized memory for the ZoomType property if the value is PAGE_WIDTH_EXACT 2009-03-06 18:59:28 +0100 mst r269039 : - sw/inc/ndtxt.hxx, sw/source/core/txtnode/ndtxt.cxx, sw/source/core/unocore/unoportenum.cxx: + fix some more wntmsci12 warnings... 2009-03-06 18:56:46 +0100 mst r269038 : - sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx: + work around spurious warning on unxsoli4 debug=t 2009-03-05 14:02:01 +0100 mst r268902 : - sw/inc/txatbase.hxx: + back to c-style casts, they also compile on wntmsci12... 2009-03-05 10:23:25 +0100 mst r268882 : - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + revert change of return type of comphelper_getProcessComponentContext to Reference: does not build on wntmsci12 2009-03-04 19:08:09 +0100 mst r268861 : - sw/source/core/txtnode/{atrtox.cxx,ndtxt.cxx}: + fix initialization 2009-03-04 14:37:30 +0100 mst r268831 : - solenv/inc/target.mk: + fix CLASSPATH so complex tests run (fix by sb) 2009-03-04 14:36:30 +0100 mst r268830 : - sw/inc/unoobj.hxx, sw/source/core/unocore/{unoparagraph.cxx,unoobj.cxx,unoobj2.cxx}: + SwXParaFrameEnumeration constructor now takes SwPaM, not SwUnoCrsr + move SwParaSelection into unoparagraph.cxx, as it is only used there + bugfix: replace SwUnoCrsrs on stack with SwCursors 2009-03-04 14:34:46 +0100 mst r268829 : - sw/inc/pam.hxx, sw/source/core/crsr/pam.cxx, sw/source/core/edit/eddel.cxx, sw/source/core/doc/docredln.cxx, sw/source/core/undo/{untbl.cxx,undel.cxx}, sw/source/filter/rtf/swparrtf.cxx: + clean up SwPaM: prefix members + new constructor SwPosition(SwCntntNode&, xub_StrLen) + fix several broken SwPosition and SwPaM constructors + SwPam::DeleteMark now actually resets the unused position to default 2009-03-02 12:07:09 +0100 mst r268646 : - sw/inc/fmtcol.hxx: + fix annoying warning (gcc 4) 2009-03-02 12:06:27 +0100 mst r268645 : - odk/util/check.pl, odk/examples/DevelopersGuide/Text/TextDocuments.java: + rename module from FieldMaster to fieldmaster 2009-02-27 19:49:56 +0100 mst r268614 : - sfx2/inc/sfx2/Metadatable.hxx, sfx2/prj/d.lst, sfx2/source/doc/{Metadatable.cxx,makefile.mk}, sw/inc/{SwMetadatable.hxx,unoobj.hxx,undobj.hxx,ndtxt.hxx}, sw/source/core/doc/{SwMetadatable.cxx,makefile.mk,docnew.cxx}, sw/source/core/undo/{untbl.cxx,unins.cxx}, sw/source/core/unocore/unoparagraph.cxx, sw/source/ui/app/docsh.cxx: + move Metadatable implementation from sw to sfx2 2009-02-27 17:58:55 +0100 mst r268608 : - sw/inc/{SwMetadatable.hxx,undobj.hxx}, sw/source/core/doc/SwMetadatable.cxx, sw/source/core/undo/{untbl.cxx,unins.cxx,undel.cxx}: + CreateUndo now returns an opaque MetadatableUndo object 2009-02-27 13:15:44 +0100 mst r268587 : - sw/inc/ndtxt.hxx, sw/source/core/doc/docfmt.cxx, sw/source/core/text/{itratr.cxx,porlay.cxx}, sw/source/core/txtnode/{txtedt.cxx,ndtxt.cxx,thints.cxx}: + clean up SwTxtNode: fix casts, prefix members + factor out inline function SwTxtNode::TryDeleteSwpHints() 2009-02-27 13:14:30 +0100 mst r268586 : - svx/inc/svx/emphitem.hxx: + fix borken header guard 2009-02-27 13:13:56 +0100 mst r268585 : - sfx2/source/bastyp/progress.cxx: + fix use of compiler specific macro 2009-02-27 11:00:32 +0100 mst r268564 : - sw/inc/{txatbase.hxx,txtatr.hxx,txtinet.hxx,txtfld.hxx,txtftn.hxx, txtflcnt.hxx,txttxmrk.hxx,txtrfmrk.hxx}, sw/source/core/txtnode/{atrtox.cxx,atrref.cxx,atrflyin.cxx,atrftn.cxx, txtatr2.cxx,txatbase.cxx,atrfld.cxx,txtedt.cxx}, sw/source/core/text/atrstck.cxx, sw/source/core/access/acchyperlink.cxx, sw/source/core/doc/visiturl.cxx, sw/source/ui/wrtsh/wrtsh2.cxx: + clean up SwTxtAttr and its subclasses: remove/fix casts, prefix members + SwTxtINetFmt: remove unused member bColor - sw/source/core/text/txtfld.cxx: + move SwTxtFld methods to atrfld.cxx 2009-02-27 10:58:44 +0100 mst r268563 : - sfx2/inc/sfx2/sfxbasemodel.hxx: + don't privately inherit BaseMutex, ScModelObj wants to access it 2009-02-27 10:58:02 +0100 mst r268562 : - xmloff/source/core/{RDFaExportHelper.cxx,RDFaImportHelper.cxx}: + arrrgh!!! someone thought it would be a good idea to have 2 different versions of boost in external! and they're NOT compatible!!! insert an ugly fragile hack that maybe works with both... 2009-02-26 17:42:26 +0100 mst r268544 : - comphelper/inc/comphelper/storagehelper.hxx. sfx2/source/doc/DocumentMetadataAccess.cxx: + someone made IsValidZipEntryFileName a static method and didn't tell me 2009-02-26 15:52:56 +0100 mst r268529 : redland: split up patches 2009-02-26 13:17:56 +0100 mst r268509 : migration of cws odfmetadata2 from CVS (resync to m42): module sw #i95863# - sw/inc/segdefs{,_}.hxx: + remove obsolete files - sw/source/ui/inc/itemdef.hxx: + remove itemdef.hxx - sw/source/ui/app/[apphdl.cxx,docsh.cxx}, sw/source/ui/misc/glshell.cxx, sw/source/ui/shells/*.cxx, sw/source/ui/uiview/*.cxx, sw/source/ui/web/*.cxx: + use sfx2/msg.hxx instead of itemdef.hxx - sw/source/core/edit/eddel.cxx: + @ JP: SwEditShell::Replace: you're right, deleting the text to be replaced first, and then inserting a space, and then replacing that space is unnecessary. whew, i'm so happy that we finally answered that question after 11 years. - sw/inc/edimp.hxx: + remove FOREACHCURSOR_START, FOREACHCURSOR_END - sw/inc/{swcrsr.hxx,unocrsr.hxx,viscrs.hxx}, sw/source/core/crsr/{crsrsh.cxx,swcrsr.cxx,trvlreg.cxx,trvltbl.cxx, unocrsr.cxx,viscrs.cxx}, sw/source/core/doc/{docbm.cxx,doccorr.cxx}, sw/source/core/docnode/{ndtbl.cxx,ndtbl1.cxx}, sw/source/core/edit/editsh.cxx, sw/source/core/frmedt/{fefly1.cxx,fetab.cxx,tblsel.cxx}, sw/source/core/layout/trvlfrm.cxx, sw/source/core/unocore/{unochart.cxx,unoobj2.cxx,unoparagraph.cxx, unoportenum.cxx,unotbl.cxx}, sw/source/core/view/vprint.cxx: + remove the hideous virtual operator SwFooCursor* + make SwCursor::IsReadOnlyAvailable() virtual + make SwUnoCrsr::Clone() virtual + refactor SwCursor methods IsSelOver(), LeftRight(), UpDown(), GotoTable(): replace dynamic_cast<...>(this) with new virtual methods 2009-02-26 13:14:58 +0100 mst r268508 : migration of cws odfmetadata2 from CVS (resync to m42): module sw - sw/source/filter/xml/swxml.cxx: + XMLReader::Read: load RDF metadata of the ODF document - sw/source/filter/xml/wrtxml.cxx: + SwXMLWriter::_Write: write RDF metadata of the ODF document if ODF >= 1.2 #i90620#: import xml:id in text tables (does not actually work yet) - sw/source/filter/xml/xmltbli{.hxx,.cxx}: + SwXMLTableCellAttrTokens,aTableCellAttrTokenMap: add XML_TOK_TABLE_XMLID + SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl: attribute xml:id + SwXMLTableCellContext_Impl::CreateChildContext: attribute xml:id + SwXMLTableColContext_Impl::SwXMLTableColContext_Impl: attribute xml:id + SwXMLTableContext::SwXMLTableContext: attribute xml:id fix #i98530# - sw/inc/unoport.hxx, sw/source/core/unocore/unoport.cxx: + SwXTextPortion: make constructor params const& - sw/source/core/unocore/unoportenum.cxx: + refactor to remove some code duplication + fix bug: paragraph w/out hints: bookmark before frame gets lost #i97274# handle invalid tables - sw/source/core/layout/tabfrm.cxx, sw/source/filter/xml/xmltbli.cxx: + SwXMLTableContext::MakeTable(): check that the table actually contains cells, and abort (removing the inserted table nodes) if not 2009-02-26 13:11:48 +0100 mst r268507 : migration of cws odfmetadata2 from CVS (resync to m42): module sw refactor SwXTextRange and SwXParagraph - sw/inc/unoobj.hxx, sw/source/core/unocore/unoobj2.cxx: + remove 3 constructors of SwXTextRange + new method SwXTextRange::CreateParentXText + refactor SwXTextRange::CreateTextRangeFromPosition and SwXTextRange::getText - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph no longer uses a cursor; it registers directly at SwTxtNode + replace SwXParagraph::GetCrsr with SwXParagraph::GetTxtNode - sw/source/core/unocore/unotext.cxx, sw/source/ui/uno/unotxvw.cxx: + adapt to new SwXParagraph #i90620# - sw/inc/SwMetadatable.hxx, sw/source/core/doc/SwMetadatable.cxx: + new files: base classes sw::Metadatable and sw::MetadatableMixin; also, 2 implementations of IXmlIdRegistry: sw::XmlIdRegistryDocument and sw::XmlIdRegistryClipboard + setMetadataReference: handle empty stream name as auto-detect - sw/source/core/doc/makefile.mk: + add SwMetadatable add a XmlIdRegistry to SwDoc - sw/inc/doc.hxx: + SwDoc: add member m_pXmlIdRegistry, method GetXmlIdRegistry() - sw/source/core/doc/docnew.cxx: + initialize XmlIdRegistry in SwDoc::GetXmlIdRegistry, not in constructor, because the constructor is not told whether the SwDoc is a clipboard - sw/inc/docsh.hxx, sw/source/ui/app/docsh.cxx: + SwDocShell: override GetXmlIdRegistry() #i91563#: make the SwTxtNode metadatable - sw/inc/ndtxt.hxx + SwTxtNode inherits sw::Metadatable - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph inherits sw::MetadatableMixin #i91563#: handle SwTxtNode's metadata for delete - sw/source/core/txtnode/ndtxt.cxx: + SwTxtNode::SplitCntntNode: handle XmlId + SwTxtNode::JoinNext: merge XmlIds - sw/source/core/doc/docedt.cxx: + lcl_GetJoinFlags: document postcondition + SwDoc::Delete: remove XmlId only if SwTxtNode _becomes_ empty #i91563#: handle SwTxtNode's metadata for delete with undo - sw/inc/undobj.hxx + SwUndoDelete: new members m_pMetadataUndoStart, m_pMetadataUndoEnd - sw/source/core/undo/undel.cxx: + SwUndoDelete::SaveCntnt: save XmlIds for start and end SwTxtNode + SwUndoDelete::SaveCntnt: remove XmlId only if SwTxtNode _becomes_ empty + SwUndoDelete::Undo: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndcopy.cxx: + SwTxtNode::MakeCopy: register copy at XmlIdRegistry #i91563#: handle SwTxtNode's metadata for find/replace with undo - sw/source/core/undo/unins.cxx: + _UnReplaceData: rename members: add prefix m_ + _UnReplaceData: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + _UnReplaceData::_UnReplaceData: save XmlIds for start and end SwTxtNode + _UnReplaceData::Undo: restore saved XmlIds for start and end SwTxtNode #i91563#: handle SwTxtNode's metadata for table-to-text with undo - sw/source/core/undo/untbl.cxx: + SwTblToTxtSave: rename members: add prefix m_ + SwTblToTxtSave: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + SwTblToTxtSave::SwTblToTxtSave: save XmlIds for start and end SwTxtNode + SwTblToTxtSave::SwTblToTxtSave, SwNodes::UndoTableToText: always store the index of the first SwTxtNode in the cell, instead of the index of the first SwTxtNode in case of the first cell in a row, and the cell start node in other cases + SwNodes::UndoTableToText: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndtbl.cxx: + lcl_DelBox: simplify for refactored start index handling in SwTblToTxtSave 2009-02-26 13:02:28 +0100 mst r268505 : migration of cws odfmetadata2 from CVS (resync to m42): module sd - sd/source/ui/table/tableobjectbar.cxx,sd/source/ui/view/*.cxx: + remove invocations of SFX_DECL_TYPE - sd/source/ui/slideshow/SlideShowRestarter.cxx, sd/source/ui/toolpanel/LayoutMenu.cxx, sd/source/ui/unoidl/DrawController.cxx, sd/source/ui/view/{ViewShellBase.cxx,ViewTabBar.cxx,frmview.cxx}: + fix abuses of comphelper_getProcessComponentContext (missing release) 2009-02-26 13:01:24 +0100 mst r268504 : migration of cws odfmetadata2 from CVS (resync to m42): module starmath - starmath/source/document.cxx: + don't touch SfxObjectShell's privates 2009-02-26 13:00:37 +0100 mst r268503 : migration of cws odfmetadata2 from CVS (resync to m42): module sfx2 #i90620# - sfx2/inc/sfx2/XmlIdRegistry.hxx: + new file: interfaces sfx2::IXmlIdRegistry and sfx2::IXmlIdRegistrySupplier and a couple of utility functions - sfx2/inc/sfx2/DocumentMetadataAccess.hxx, sfx2/source/doc/DocumentMetadataAccess.cxx: + new class sfx2::DocumentMetadataAccess, implements XDocumentMetadataAccess + the URI of the DocumentMetadataAccess is now the URI from which the document was loaded; for a new document, use a vnd.sun.star.tdoc URI + add new function sfx2::createBaseURI() + prevent using reserved file names + try not to recurse into embedded subdocuments - sfx2/source/doc/makefile.mk: + add DocumentMetadataAccess - sfx2/util/makefile.mk: + link libsfx2 against libxml2 (needed for xmlValidateNCName) - sfx2/source/doc/makefile.mk: + add LIBXML_CFLAGS to CFLAGS - sfx2/prj/build.lst: + add dependence on libxml2 - sfx2/prj/d.lst: + add XmlIdRegistry.hxx, DocumentMetadataAccess.hxx - sfx2/inc/sfx2/objsh.hxx, sfx2/source/doc/objxtor.cxx: + make SfxObjectShell's members private + new method SfxObjectShell::GetAutoStyleFilterIndex + SfxObjectShell inherits sfx2::IXmlIdRegistrySupplier - sfx2/source/dialog/templdlg.cxx, sfx2/source/doc/sfxbasemodel.cxx: + don't touch SfxObjectShell's privates - sfx2/inc/sfx2/sfxbasemodel.hxx, sfx2/source/doc/sfxbasemodel.cxx: + SfxBaseModel inherits BaseMutex instead of IMPL_SfxBaseModel_MutexContainer + SfxBaseModel implements additional interface XDocumentMetadataAccess + IMPL_SfxBaseModel_DataContainer has new member: a sfx2::DocumentMetadataAccess + implementation of XDocumentMetadataAccess forwards to the sfx2::DocumentMetadataAccess member - sfx2/qa/complex/DocumentMetadataAccessTest.java, sfx2/qa/complex/{tests.sce,makefile.mk}, sfx2/qa/complex/testdocuments/TESTRDFA.odt: + add complex test: DocumentMetadataAccessTest + add RDFa test document #i95863# - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx: + refactor SfxDocumentItem so it no longer requires a XDocumentInfo + move struct CustomProperty to implementation file + remove class SfxDocumentUserPage + QueryValue,PutValue: remove MID_DOCINFO_FIELD* - sfx2/source/doc/objserv.cxx: + adapt to SfxDocumentItem change - sfx2/inc/sfx2/sfx.hrc, sfx2/sdi/sfxslots.sdi, sfx2/inc/sfx2/msg.hxx: + remove MID_DOCINFO_FIELD* + put all invocations of SFX_DECL_TYPE in msg.hxx, and undef SFX_DECL_TYPE - sfx2/source/doc/objxtor.cxx: + fix abuses of comphelper_getProcessComponentContext (missing release) - sfx2/source/doc/docfile.cxx: + SfxMedium::SfxMedium: don't dereference NULL, throw exception instead - sfx2/source/doc/objstor.cxx: + SfxObjectShell::DoLoad: fix bug: DocumentBaseURI is not initialized 2009-02-26 12:58:07 +0100 mst r268502 : migration of cws odfmetadata2 from CVS (resync to m42): module xmloff #i90620#: implement RDFa import (interface change) - xmloff/inc/xmloff/xmlimp.hxx. xmloff/source/core/xmlimp.cxx: + make SvXMLImport::GetAbsoluteReference() const + add SvXMLImport::GetComponentContext() + SvXMLImport::_InitCtor(): add RDFa namespace + add SvXMLImport::AddRDFa() + SvXMLImport::endDocument() inserts RDFa into document repository - xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/xmltoken.cxx: + new tokens for RDFa: XML_ABOUT, XML_DATATYPE - xmloff/inc/RDFaImportHelper.hxx, xmloff/source/core/RDFaImportHelper.cxx: + new class RDFaImportHelper + adapt the code to the bleak reality of broken C++ implementations + handle empty xhtml:about attributes properly, which are actually valid relative URIs + work around broken SvXMLImport::GetAbsoluteReference - xmloff/source/core/makefile.mk: + add RDFaImportHelper.cxx #i90620#: implement RDFa export - xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + add SvXMLExport::EnsureNamespace(), and a stack of namespace maps + add SvXMLExport::GetComponentContext() + add SvXMLExport::AddAttributesRDFa() - xmloff/inc/RDFaExportHelper.hxx, xmloff/source/core/RDFaExportHelper.cxx: + new class RDFaExportHelper + don't use std::map::data_type, which is actually called std::map::mapped_type by libstdc++ - xmloff/source/core/makefile.mk: + add RDFaExportHelper.cxx #i91563# - xmloff/inc/xmloff/txtimp.hxx, xmloff/source/text/txtimp.cxx: + XMLTextPAttrTokens: add RDFa tokens - xmloff/source/text/txtparai{.hxx,.cxx}: + import RDFa for text:p - xmloff/source/text/txtparae.cxx: + export RDFa for text:p interface change: use XHTML namespace instead of RDFA - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlimp.cxx,xmlexp.cxx,RDFaExportHelper.cxx}, xmloff/source/text/txtimp.cxx: + use XHTML namespace instead of RDFA #i91565#, #i91566#: (preliminary) import for text:meta, text:meta-field - xmloff/source/text/txtparai.cxx: + new class XMLMetaImportContextBase with subclasses to import text:meta and text:meta-field - xmloff/source/text/XMLTextMarkImportContext.cxx: + change XMLTextMarkImportContext::CreateAndInsertMark to handle marks with no name (text:meta) #i91565#, #i91566#: (preliminary) export for text:meta, text:meta-field - xmloff/inc/txtflde.hxx, xmloff/source/text/txtflde.cxx: + add FIELD_ID_META to FieldIdEnum + new method XMLTextFieldExport::ExportMetaField() + change XMLTextFieldExport::ExportField{,AutoStyle,Helper} to take additional parameter for progress bar - xmloff/inc/xmloff/txtparae.hxx, xmloff/source/text/txtparae.cxx: + make XMLTextParagraphExport::exportTextRangeEnumeration() public + new method XMLTextParagraphExport::exportMeta() #i90620# - xmloff/inc/xmloff/xmlimp.hxx, xmloff/source/core/xmlimp.cxx, xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + rename SvXML{Im,Ex}port::GetStreamPath() to GetStreamName() + fix xml:id {im,ex}port for embedded documents and non-packages + adapt to API change: XMetadatable #i90620# GRDDL - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlexp.cxx}: + add GRDDL namespace + add token XML_TRANSFORMATION + add grddl:transformation attribute to root elements for meta.xml, content.xml and styles.xml 2009-02-26 12:54:40 +0100 mst r268501 : migration of cws odfmetadata2 from CVS (resync to m42): module unoxml #i90620# - unoxml/source/rdf/librdf_repository.cxx: + librdf_Repository::importGraph: allocate buffer sized length of stream + switch from one librdf_world per repository to a single static world because redland has global variables with a brain-damaged life-cycle... + exportGraph: use new raptor 1.4.18 feature to disable writing an xml:base attribute in RDF/XML files - unoxml/source/rdf/librdf_repository.cxx: unoxml/qa/complex/RDFRepositoryTest.java: + adapt to predicate is URI change + adapt to RDFa API change + adapt to API change: RDFa has multiple predicates... + adapt to API change: XMetadatable derives from XURI + allow xhtml:datatype without xhtml:content + adapt to API change: attribute MetadataReference is StringPair - unoxml/source/rdf/CURI.cxx: + add some more URI constants 2009-02-26 12:53:32 +0100 mst r268500 : migration of cws odfmetadata2 from CVS (resync to m42): module package - package/inc/ImplValidCharacters.hxx: + remove (moved to comphelper) 2009-02-26 12:52:49 +0100 mst r268499 : migration of cws odfmetadata2 from CVS (resync to m42): module comphelper - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + add getProcessComponentContext() + change return type of comphelper_getProcessComponentContext to Reference - comphelper/inc/comphelper/stl_types.hxx: + add OUStringBufferAppender + add algorithm intersperse - comphelper/source/misc/string.cxx: + rewrite convertCommaSeparated with intersperse and OUStringBufferAppender - comphelper/inc/comphelper/stlunosequence.hxx: + fix bug: begin() on empty sequence != end() 2009-02-26 12:50:47 +0100 mst r268498 : migration of cws odfmetadata2 from CVS (resync to m42): module offapi #i96209# - offapi/com/sun/star/text/fieldmaster/*.idl: + rename module from FieldMaster to fieldmaster - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb #i90620# - offapi/com/sun/star/rdf/{XMetadatable.idl,XDocumentMetadataAccess.idl}: + API change: XMetadatable derives from XURI + API change: replace XmlId (string) with MetadataReference (StringPair) - offapi/com/sun/star/rdf/{Statement.idl,XDocumentRepository.idl, XNamedGraph.idl,XRepository.idl}: + the predicate of a statement is a URI, not a Resource - offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl: + rename: s/Package/Document/ + remove uuid + remove everything related to mapping + graph names are now generated from base URI and file names + load methods: improve error handling with XInteractionHandler - offapi/com/sun/star/rdf/XDocumentRepository.idl: + change: RDFa permits using multiple predicates in one attribute + setStatementRDFa: subject is now XResource, object is now XMetadatable - offapi/com/sun/star/rdf/URIs.idl: + add some more URI constants - offapi/com/sun/star/rdf: + fix @since tags and replace <method> with <member> 2009-02-26 12:47:24 +0100 mst r268497 : migration of cws odfmetadata2 from CVS (resync to m42): module redland fix #i93768# - redland/raptor-1.4.17.patch, redland/raptor/makefile.mk: + disable GRDDL parser to prevent call to libxslt xsltSetDefaultSecurityPrefs, which breaks xmlhelp - redland/raptor/makefile.mk, redland/raptor-1.4.17.patch, redland/raptor-1.4.18.patch: + upgrade raptor to 1.4.18 + deactivate serializer for RSS/Atom (does not build) - redland/rasqal/makefile.mk, redland/rasqal-0.9.15.patch, redland/rasqal-0.9.16.patch, + upgrade rasqal to 0.9.16 - redland/redland/makefile.mk, redland/redland-1.0.7.patch, redland/redland-1.0.8.patch: + upgrade redland to 1.0.8 - redland/redlandversion.mk: + the librasqal SONAME has changed
2009-07-02 09:05:03 +00:00
xContext, FrameworkHelper::msLeftDrawPaneURL);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
break;
case SID_RIGHT_PANE:
xResourceId = ResourceId::create(
CWS-TOOLING: integrate CWS odfmetadata2 2009-06-22 11:48:36 +0200 mst r273206 : - connectivity/source/drivers/mozab/mozillasrc/MNSInclude.hxx: + add "include ustrbuf.hxx" to work around warning caused by solaris <sys/kstat.h> declaring a global "long l ;" 2009-06-19 14:25:25 +0200 mst r273159 : - scp2/source/ooo/file_library_ooo.scp: + fix MinGW build 2009-06-08 12:52:33 +0200 mst r272727 : - redland/raptor-1.4.18.patch.mingw, redland/raptor/makefile.mk: + disable parsers that do not build on MinGW (thanks for patch by tono) 2009-05-15 17:31:07 +0200 mst r271957 : fix typos 2009-05-15 17:28:57 +0200 mst r271956 : #i101965# - offapi/com/sun/star/text/TextPortion: + add missing properties: SoftPageBreak, DocumentIndexMark, ReferenceMark, Footnote, TextField + fix read-only status of properties: Bookmark, IsStart, IsCollapsed - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb 2009-05-07 14:41:38 +0200 mst r271669 : - sw/inc/{fmtftn.hxx,unocoll.hxx,doc.hxx,editsh.hxx,ftninfo.hxx}, sw/source/core/layout/{flowfrm.cxx,ftnfrm.cxx}, sw/source/core/doc/docftn.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/txtnode/atrftn.cxx, sw/source/core/unocore/unocoll.cxx, sw/source/ui/fldui/fldref.cxx: + fix warning ... the hard way + also fix signature of SwDoc::SetCurFtn 2009-05-05 19:52:55 +0200 mst r271556 : - sw/inc/undobj.hxx: + make some members const 2009-05-05 19:34:40 +0200 mst r271555 : - sw/inc/rolbck.hxx, sw/source/core/undo/rolbck.cxx: + make some members const 2009-05-05 19:13:14 +0200 mst r271553 : - sw/inc/{undobj.hxx,rolbck.hxx}, sw/source/core/undo/{unbkmk.cxx,rolbck.cxx}: + fix rebase merge error + rename SwHstryBookmark to SwHistoryBookmark + clean up SwUndoBookmark 2009-05-05 19:05:53 +0200 mst r271552 : - sw/source/core/unocore/unoportenum.cxx: + fix annoying assertion 2009-05-05 15:34:48 +0200 mst r271522 : CWS-TOOLING: rebase CWS odfmetadata2 to trunk@271427 (milestone: DEV300:m47) 2009-05-04 12:37:01 +0200 mst r271444 : trivial 2009-04-22 13:30:37 +0200 mst r271102 : - sfx2/inc/sfx2/dinfdlg.hxx: + trivial change 2009-04-21 16:46:58 +0200 mst r271043 : - sw/inc/hintids.hxx: + introduce some predicates for the various hints, and use them 2009-04-21 16:19:03 +0200 mst r271041 : - sw/inc/undobj.hxx, sw/source/core/doc/{docfly.cxx,docfmt.cxx,docftn.cxx,doctxm.cxx}, sw/source/core/undo/{unattr.cxx,unins.cxx}: + clean up unattr.cxx: remove/fix casts, prefix members, use auto_ptr, etc. 2009-04-21 15:34:23 +0200 mst r271039 : - sw/inc/{rolbck.hxx,undobj.hxx}, sw/source/core/doc/docfmt.cxx, sw/source/core/txtnode/{thints.cxx,txtedt.cxx}, sw/source/core/undo/{rolbck.cxx,undel.cxx,undobj.cxx,unins.cxx,unmove.cxx, unovwr.cxx,unsect.cxx,unspnd.cxx,untbl.cxx,untblk.cxx,unattr.cxx}: + clean up SwHistory, SwRegHistory and SwHistoryHint etc.: remove/fix casts, prefix members, remove wrong const annotations, use auto_ptr, remove unused members, etc. 2009-04-20 19:17:36 +0200 mst r271013 : - sw/inc/ndhints.hxx, sw/source/core/text/{itrtxt.cxx,txtftn.cxx,itratr.cxx,porfly.cxx, txtfrm.cxx,txtdrop.cxx,frmform.cxx}, sw/source/core/txtnode/{ndtxt.cxx,ndhints.cxx,thints.cxx,txtedt.cxx}, sw/source/core/edit/acorrect.cxx, sw/source/core/doc/{docedt.cxx,docfmt.cxx}, sw/source/filter/html/swhtml.cxx: + clean up SwHintsArray and its subclasses: remove/fix casts, prefix members 2009-04-20 18:42:07 +0200 mst r271007 : - sw/source/core/text/txtio.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/undo/rolbck.cxx: + remove JP_NEWCORE dead code 2009-04-20 18:38:09 +0200 mst r271006 : - sw/source/core/unocore/unochart.cxx: + silence unxlngi warning (debug=t) 2009-04-20 16:36:13 +0200 mst r270991 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx, sw/source/ui/fldui/flddinf.hxx: + trivial cleanups 2009-04-20 15:28:52 +0200 mst r270990 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx: + fix bug: replaying a macro with a DocumentInfoItem removes all user-defined properties 2009-03-10 15:08:20 +0100 mst r269273 : - sfx2/source/doc/Metadatable.cxx: + add missing SolarMutex guards 2009-03-10 14:46:29 +0100 mst r269272 : - unoxml/source/rdf/librdf_repository.cxx: + never free rdf_world because that would call libxm2 xmlCleanupParser (and, to add insult to injury, other libxml2 functions later...) 2009-03-06 19:02:44 +0100 mst r269041 : argh! undo... 2009-03-06 19:00:58 +0100 mst r269040 : fix #i99931# - sw/source/ui/uno/unomod.cxx: + SwXViewSettings::_getSingleValue returns uninitialized memory for the ZoomType property if the value is PAGE_WIDTH_EXACT 2009-03-06 18:59:28 +0100 mst r269039 : - sw/inc/ndtxt.hxx, sw/source/core/txtnode/ndtxt.cxx, sw/source/core/unocore/unoportenum.cxx: + fix some more wntmsci12 warnings... 2009-03-06 18:56:46 +0100 mst r269038 : - sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx: + work around spurious warning on unxsoli4 debug=t 2009-03-05 14:02:01 +0100 mst r268902 : - sw/inc/txatbase.hxx: + back to c-style casts, they also compile on wntmsci12... 2009-03-05 10:23:25 +0100 mst r268882 : - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + revert change of return type of comphelper_getProcessComponentContext to Reference: does not build on wntmsci12 2009-03-04 19:08:09 +0100 mst r268861 : - sw/source/core/txtnode/{atrtox.cxx,ndtxt.cxx}: + fix initialization 2009-03-04 14:37:30 +0100 mst r268831 : - solenv/inc/target.mk: + fix CLASSPATH so complex tests run (fix by sb) 2009-03-04 14:36:30 +0100 mst r268830 : - sw/inc/unoobj.hxx, sw/source/core/unocore/{unoparagraph.cxx,unoobj.cxx,unoobj2.cxx}: + SwXParaFrameEnumeration constructor now takes SwPaM, not SwUnoCrsr + move SwParaSelection into unoparagraph.cxx, as it is only used there + bugfix: replace SwUnoCrsrs on stack with SwCursors 2009-03-04 14:34:46 +0100 mst r268829 : - sw/inc/pam.hxx, sw/source/core/crsr/pam.cxx, sw/source/core/edit/eddel.cxx, sw/source/core/doc/docredln.cxx, sw/source/core/undo/{untbl.cxx,undel.cxx}, sw/source/filter/rtf/swparrtf.cxx: + clean up SwPaM: prefix members + new constructor SwPosition(SwCntntNode&, xub_StrLen) + fix several broken SwPosition and SwPaM constructors + SwPam::DeleteMark now actually resets the unused position to default 2009-03-02 12:07:09 +0100 mst r268646 : - sw/inc/fmtcol.hxx: + fix annoying warning (gcc 4) 2009-03-02 12:06:27 +0100 mst r268645 : - odk/util/check.pl, odk/examples/DevelopersGuide/Text/TextDocuments.java: + rename module from FieldMaster to fieldmaster 2009-02-27 19:49:56 +0100 mst r268614 : - sfx2/inc/sfx2/Metadatable.hxx, sfx2/prj/d.lst, sfx2/source/doc/{Metadatable.cxx,makefile.mk}, sw/inc/{SwMetadatable.hxx,unoobj.hxx,undobj.hxx,ndtxt.hxx}, sw/source/core/doc/{SwMetadatable.cxx,makefile.mk,docnew.cxx}, sw/source/core/undo/{untbl.cxx,unins.cxx}, sw/source/core/unocore/unoparagraph.cxx, sw/source/ui/app/docsh.cxx: + move Metadatable implementation from sw to sfx2 2009-02-27 17:58:55 +0100 mst r268608 : - sw/inc/{SwMetadatable.hxx,undobj.hxx}, sw/source/core/doc/SwMetadatable.cxx, sw/source/core/undo/{untbl.cxx,unins.cxx,undel.cxx}: + CreateUndo now returns an opaque MetadatableUndo object 2009-02-27 13:15:44 +0100 mst r268587 : - sw/inc/ndtxt.hxx, sw/source/core/doc/docfmt.cxx, sw/source/core/text/{itratr.cxx,porlay.cxx}, sw/source/core/txtnode/{txtedt.cxx,ndtxt.cxx,thints.cxx}: + clean up SwTxtNode: fix casts, prefix members + factor out inline function SwTxtNode::TryDeleteSwpHints() 2009-02-27 13:14:30 +0100 mst r268586 : - svx/inc/svx/emphitem.hxx: + fix borken header guard 2009-02-27 13:13:56 +0100 mst r268585 : - sfx2/source/bastyp/progress.cxx: + fix use of compiler specific macro 2009-02-27 11:00:32 +0100 mst r268564 : - sw/inc/{txatbase.hxx,txtatr.hxx,txtinet.hxx,txtfld.hxx,txtftn.hxx, txtflcnt.hxx,txttxmrk.hxx,txtrfmrk.hxx}, sw/source/core/txtnode/{atrtox.cxx,atrref.cxx,atrflyin.cxx,atrftn.cxx, txtatr2.cxx,txatbase.cxx,atrfld.cxx,txtedt.cxx}, sw/source/core/text/atrstck.cxx, sw/source/core/access/acchyperlink.cxx, sw/source/core/doc/visiturl.cxx, sw/source/ui/wrtsh/wrtsh2.cxx: + clean up SwTxtAttr and its subclasses: remove/fix casts, prefix members + SwTxtINetFmt: remove unused member bColor - sw/source/core/text/txtfld.cxx: + move SwTxtFld methods to atrfld.cxx 2009-02-27 10:58:44 +0100 mst r268563 : - sfx2/inc/sfx2/sfxbasemodel.hxx: + don't privately inherit BaseMutex, ScModelObj wants to access it 2009-02-27 10:58:02 +0100 mst r268562 : - xmloff/source/core/{RDFaExportHelper.cxx,RDFaImportHelper.cxx}: + arrrgh!!! someone thought it would be a good idea to have 2 different versions of boost in external! and they're NOT compatible!!! insert an ugly fragile hack that maybe works with both... 2009-02-26 17:42:26 +0100 mst r268544 : - comphelper/inc/comphelper/storagehelper.hxx. sfx2/source/doc/DocumentMetadataAccess.cxx: + someone made IsValidZipEntryFileName a static method and didn't tell me 2009-02-26 15:52:56 +0100 mst r268529 : redland: split up patches 2009-02-26 13:17:56 +0100 mst r268509 : migration of cws odfmetadata2 from CVS (resync to m42): module sw #i95863# - sw/inc/segdefs{,_}.hxx: + remove obsolete files - sw/source/ui/inc/itemdef.hxx: + remove itemdef.hxx - sw/source/ui/app/[apphdl.cxx,docsh.cxx}, sw/source/ui/misc/glshell.cxx, sw/source/ui/shells/*.cxx, sw/source/ui/uiview/*.cxx, sw/source/ui/web/*.cxx: + use sfx2/msg.hxx instead of itemdef.hxx - sw/source/core/edit/eddel.cxx: + @ JP: SwEditShell::Replace: you're right, deleting the text to be replaced first, and then inserting a space, and then replacing that space is unnecessary. whew, i'm so happy that we finally answered that question after 11 years. - sw/inc/edimp.hxx: + remove FOREACHCURSOR_START, FOREACHCURSOR_END - sw/inc/{swcrsr.hxx,unocrsr.hxx,viscrs.hxx}, sw/source/core/crsr/{crsrsh.cxx,swcrsr.cxx,trvlreg.cxx,trvltbl.cxx, unocrsr.cxx,viscrs.cxx}, sw/source/core/doc/{docbm.cxx,doccorr.cxx}, sw/source/core/docnode/{ndtbl.cxx,ndtbl1.cxx}, sw/source/core/edit/editsh.cxx, sw/source/core/frmedt/{fefly1.cxx,fetab.cxx,tblsel.cxx}, sw/source/core/layout/trvlfrm.cxx, sw/source/core/unocore/{unochart.cxx,unoobj2.cxx,unoparagraph.cxx, unoportenum.cxx,unotbl.cxx}, sw/source/core/view/vprint.cxx: + remove the hideous virtual operator SwFooCursor* + make SwCursor::IsReadOnlyAvailable() virtual + make SwUnoCrsr::Clone() virtual + refactor SwCursor methods IsSelOver(), LeftRight(), UpDown(), GotoTable(): replace dynamic_cast<...>(this) with new virtual methods 2009-02-26 13:14:58 +0100 mst r268508 : migration of cws odfmetadata2 from CVS (resync to m42): module sw - sw/source/filter/xml/swxml.cxx: + XMLReader::Read: load RDF metadata of the ODF document - sw/source/filter/xml/wrtxml.cxx: + SwXMLWriter::_Write: write RDF metadata of the ODF document if ODF >= 1.2 #i90620#: import xml:id in text tables (does not actually work yet) - sw/source/filter/xml/xmltbli{.hxx,.cxx}: + SwXMLTableCellAttrTokens,aTableCellAttrTokenMap: add XML_TOK_TABLE_XMLID + SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl: attribute xml:id + SwXMLTableCellContext_Impl::CreateChildContext: attribute xml:id + SwXMLTableColContext_Impl::SwXMLTableColContext_Impl: attribute xml:id + SwXMLTableContext::SwXMLTableContext: attribute xml:id fix #i98530# - sw/inc/unoport.hxx, sw/source/core/unocore/unoport.cxx: + SwXTextPortion: make constructor params const& - sw/source/core/unocore/unoportenum.cxx: + refactor to remove some code duplication + fix bug: paragraph w/out hints: bookmark before frame gets lost #i97274# handle invalid tables - sw/source/core/layout/tabfrm.cxx, sw/source/filter/xml/xmltbli.cxx: + SwXMLTableContext::MakeTable(): check that the table actually contains cells, and abort (removing the inserted table nodes) if not 2009-02-26 13:11:48 +0100 mst r268507 : migration of cws odfmetadata2 from CVS (resync to m42): module sw refactor SwXTextRange and SwXParagraph - sw/inc/unoobj.hxx, sw/source/core/unocore/unoobj2.cxx: + remove 3 constructors of SwXTextRange + new method SwXTextRange::CreateParentXText + refactor SwXTextRange::CreateTextRangeFromPosition and SwXTextRange::getText - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph no longer uses a cursor; it registers directly at SwTxtNode + replace SwXParagraph::GetCrsr with SwXParagraph::GetTxtNode - sw/source/core/unocore/unotext.cxx, sw/source/ui/uno/unotxvw.cxx: + adapt to new SwXParagraph #i90620# - sw/inc/SwMetadatable.hxx, sw/source/core/doc/SwMetadatable.cxx: + new files: base classes sw::Metadatable and sw::MetadatableMixin; also, 2 implementations of IXmlIdRegistry: sw::XmlIdRegistryDocument and sw::XmlIdRegistryClipboard + setMetadataReference: handle empty stream name as auto-detect - sw/source/core/doc/makefile.mk: + add SwMetadatable add a XmlIdRegistry to SwDoc - sw/inc/doc.hxx: + SwDoc: add member m_pXmlIdRegistry, method GetXmlIdRegistry() - sw/source/core/doc/docnew.cxx: + initialize XmlIdRegistry in SwDoc::GetXmlIdRegistry, not in constructor, because the constructor is not told whether the SwDoc is a clipboard - sw/inc/docsh.hxx, sw/source/ui/app/docsh.cxx: + SwDocShell: override GetXmlIdRegistry() #i91563#: make the SwTxtNode metadatable - sw/inc/ndtxt.hxx + SwTxtNode inherits sw::Metadatable - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph inherits sw::MetadatableMixin #i91563#: handle SwTxtNode's metadata for delete - sw/source/core/txtnode/ndtxt.cxx: + SwTxtNode::SplitCntntNode: handle XmlId + SwTxtNode::JoinNext: merge XmlIds - sw/source/core/doc/docedt.cxx: + lcl_GetJoinFlags: document postcondition + SwDoc::Delete: remove XmlId only if SwTxtNode _becomes_ empty #i91563#: handle SwTxtNode's metadata for delete with undo - sw/inc/undobj.hxx + SwUndoDelete: new members m_pMetadataUndoStart, m_pMetadataUndoEnd - sw/source/core/undo/undel.cxx: + SwUndoDelete::SaveCntnt: save XmlIds for start and end SwTxtNode + SwUndoDelete::SaveCntnt: remove XmlId only if SwTxtNode _becomes_ empty + SwUndoDelete::Undo: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndcopy.cxx: + SwTxtNode::MakeCopy: register copy at XmlIdRegistry #i91563#: handle SwTxtNode's metadata for find/replace with undo - sw/source/core/undo/unins.cxx: + _UnReplaceData: rename members: add prefix m_ + _UnReplaceData: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + _UnReplaceData::_UnReplaceData: save XmlIds for start and end SwTxtNode + _UnReplaceData::Undo: restore saved XmlIds for start and end SwTxtNode #i91563#: handle SwTxtNode's metadata for table-to-text with undo - sw/source/core/undo/untbl.cxx: + SwTblToTxtSave: rename members: add prefix m_ + SwTblToTxtSave: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + SwTblToTxtSave::SwTblToTxtSave: save XmlIds for start and end SwTxtNode + SwTblToTxtSave::SwTblToTxtSave, SwNodes::UndoTableToText: always store the index of the first SwTxtNode in the cell, instead of the index of the first SwTxtNode in case of the first cell in a row, and the cell start node in other cases + SwNodes::UndoTableToText: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndtbl.cxx: + lcl_DelBox: simplify for refactored start index handling in SwTblToTxtSave 2009-02-26 13:02:28 +0100 mst r268505 : migration of cws odfmetadata2 from CVS (resync to m42): module sd - sd/source/ui/table/tableobjectbar.cxx,sd/source/ui/view/*.cxx: + remove invocations of SFX_DECL_TYPE - sd/source/ui/slideshow/SlideShowRestarter.cxx, sd/source/ui/toolpanel/LayoutMenu.cxx, sd/source/ui/unoidl/DrawController.cxx, sd/source/ui/view/{ViewShellBase.cxx,ViewTabBar.cxx,frmview.cxx}: + fix abuses of comphelper_getProcessComponentContext (missing release) 2009-02-26 13:01:24 +0100 mst r268504 : migration of cws odfmetadata2 from CVS (resync to m42): module starmath - starmath/source/document.cxx: + don't touch SfxObjectShell's privates 2009-02-26 13:00:37 +0100 mst r268503 : migration of cws odfmetadata2 from CVS (resync to m42): module sfx2 #i90620# - sfx2/inc/sfx2/XmlIdRegistry.hxx: + new file: interfaces sfx2::IXmlIdRegistry and sfx2::IXmlIdRegistrySupplier and a couple of utility functions - sfx2/inc/sfx2/DocumentMetadataAccess.hxx, sfx2/source/doc/DocumentMetadataAccess.cxx: + new class sfx2::DocumentMetadataAccess, implements XDocumentMetadataAccess + the URI of the DocumentMetadataAccess is now the URI from which the document was loaded; for a new document, use a vnd.sun.star.tdoc URI + add new function sfx2::createBaseURI() + prevent using reserved file names + try not to recurse into embedded subdocuments - sfx2/source/doc/makefile.mk: + add DocumentMetadataAccess - sfx2/util/makefile.mk: + link libsfx2 against libxml2 (needed for xmlValidateNCName) - sfx2/source/doc/makefile.mk: + add LIBXML_CFLAGS to CFLAGS - sfx2/prj/build.lst: + add dependence on libxml2 - sfx2/prj/d.lst: + add XmlIdRegistry.hxx, DocumentMetadataAccess.hxx - sfx2/inc/sfx2/objsh.hxx, sfx2/source/doc/objxtor.cxx: + make SfxObjectShell's members private + new method SfxObjectShell::GetAutoStyleFilterIndex + SfxObjectShell inherits sfx2::IXmlIdRegistrySupplier - sfx2/source/dialog/templdlg.cxx, sfx2/source/doc/sfxbasemodel.cxx: + don't touch SfxObjectShell's privates - sfx2/inc/sfx2/sfxbasemodel.hxx, sfx2/source/doc/sfxbasemodel.cxx: + SfxBaseModel inherits BaseMutex instead of IMPL_SfxBaseModel_MutexContainer + SfxBaseModel implements additional interface XDocumentMetadataAccess + IMPL_SfxBaseModel_DataContainer has new member: a sfx2::DocumentMetadataAccess + implementation of XDocumentMetadataAccess forwards to the sfx2::DocumentMetadataAccess member - sfx2/qa/complex/DocumentMetadataAccessTest.java, sfx2/qa/complex/{tests.sce,makefile.mk}, sfx2/qa/complex/testdocuments/TESTRDFA.odt: + add complex test: DocumentMetadataAccessTest + add RDFa test document #i95863# - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx: + refactor SfxDocumentItem so it no longer requires a XDocumentInfo + move struct CustomProperty to implementation file + remove class SfxDocumentUserPage + QueryValue,PutValue: remove MID_DOCINFO_FIELD* - sfx2/source/doc/objserv.cxx: + adapt to SfxDocumentItem change - sfx2/inc/sfx2/sfx.hrc, sfx2/sdi/sfxslots.sdi, sfx2/inc/sfx2/msg.hxx: + remove MID_DOCINFO_FIELD* + put all invocations of SFX_DECL_TYPE in msg.hxx, and undef SFX_DECL_TYPE - sfx2/source/doc/objxtor.cxx: + fix abuses of comphelper_getProcessComponentContext (missing release) - sfx2/source/doc/docfile.cxx: + SfxMedium::SfxMedium: don't dereference NULL, throw exception instead - sfx2/source/doc/objstor.cxx: + SfxObjectShell::DoLoad: fix bug: DocumentBaseURI is not initialized 2009-02-26 12:58:07 +0100 mst r268502 : migration of cws odfmetadata2 from CVS (resync to m42): module xmloff #i90620#: implement RDFa import (interface change) - xmloff/inc/xmloff/xmlimp.hxx. xmloff/source/core/xmlimp.cxx: + make SvXMLImport::GetAbsoluteReference() const + add SvXMLImport::GetComponentContext() + SvXMLImport::_InitCtor(): add RDFa namespace + add SvXMLImport::AddRDFa() + SvXMLImport::endDocument() inserts RDFa into document repository - xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/xmltoken.cxx: + new tokens for RDFa: XML_ABOUT, XML_DATATYPE - xmloff/inc/RDFaImportHelper.hxx, xmloff/source/core/RDFaImportHelper.cxx: + new class RDFaImportHelper + adapt the code to the bleak reality of broken C++ implementations + handle empty xhtml:about attributes properly, which are actually valid relative URIs + work around broken SvXMLImport::GetAbsoluteReference - xmloff/source/core/makefile.mk: + add RDFaImportHelper.cxx #i90620#: implement RDFa export - xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + add SvXMLExport::EnsureNamespace(), and a stack of namespace maps + add SvXMLExport::GetComponentContext() + add SvXMLExport::AddAttributesRDFa() - xmloff/inc/RDFaExportHelper.hxx, xmloff/source/core/RDFaExportHelper.cxx: + new class RDFaExportHelper + don't use std::map::data_type, which is actually called std::map::mapped_type by libstdc++ - xmloff/source/core/makefile.mk: + add RDFaExportHelper.cxx #i91563# - xmloff/inc/xmloff/txtimp.hxx, xmloff/source/text/txtimp.cxx: + XMLTextPAttrTokens: add RDFa tokens - xmloff/source/text/txtparai{.hxx,.cxx}: + import RDFa for text:p - xmloff/source/text/txtparae.cxx: + export RDFa for text:p interface change: use XHTML namespace instead of RDFA - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlimp.cxx,xmlexp.cxx,RDFaExportHelper.cxx}, xmloff/source/text/txtimp.cxx: + use XHTML namespace instead of RDFA #i91565#, #i91566#: (preliminary) import for text:meta, text:meta-field - xmloff/source/text/txtparai.cxx: + new class XMLMetaImportContextBase with subclasses to import text:meta and text:meta-field - xmloff/source/text/XMLTextMarkImportContext.cxx: + change XMLTextMarkImportContext::CreateAndInsertMark to handle marks with no name (text:meta) #i91565#, #i91566#: (preliminary) export for text:meta, text:meta-field - xmloff/inc/txtflde.hxx, xmloff/source/text/txtflde.cxx: + add FIELD_ID_META to FieldIdEnum + new method XMLTextFieldExport::ExportMetaField() + change XMLTextFieldExport::ExportField{,AutoStyle,Helper} to take additional parameter for progress bar - xmloff/inc/xmloff/txtparae.hxx, xmloff/source/text/txtparae.cxx: + make XMLTextParagraphExport::exportTextRangeEnumeration() public + new method XMLTextParagraphExport::exportMeta() #i90620# - xmloff/inc/xmloff/xmlimp.hxx, xmloff/source/core/xmlimp.cxx, xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + rename SvXML{Im,Ex}port::GetStreamPath() to GetStreamName() + fix xml:id {im,ex}port for embedded documents and non-packages + adapt to API change: XMetadatable #i90620# GRDDL - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlexp.cxx}: + add GRDDL namespace + add token XML_TRANSFORMATION + add grddl:transformation attribute to root elements for meta.xml, content.xml and styles.xml 2009-02-26 12:54:40 +0100 mst r268501 : migration of cws odfmetadata2 from CVS (resync to m42): module unoxml #i90620# - unoxml/source/rdf/librdf_repository.cxx: + librdf_Repository::importGraph: allocate buffer sized length of stream + switch from one librdf_world per repository to a single static world because redland has global variables with a brain-damaged life-cycle... + exportGraph: use new raptor 1.4.18 feature to disable writing an xml:base attribute in RDF/XML files - unoxml/source/rdf/librdf_repository.cxx: unoxml/qa/complex/RDFRepositoryTest.java: + adapt to predicate is URI change + adapt to RDFa API change + adapt to API change: RDFa has multiple predicates... + adapt to API change: XMetadatable derives from XURI + allow xhtml:datatype without xhtml:content + adapt to API change: attribute MetadataReference is StringPair - unoxml/source/rdf/CURI.cxx: + add some more URI constants 2009-02-26 12:53:32 +0100 mst r268500 : migration of cws odfmetadata2 from CVS (resync to m42): module package - package/inc/ImplValidCharacters.hxx: + remove (moved to comphelper) 2009-02-26 12:52:49 +0100 mst r268499 : migration of cws odfmetadata2 from CVS (resync to m42): module comphelper - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + add getProcessComponentContext() + change return type of comphelper_getProcessComponentContext to Reference - comphelper/inc/comphelper/stl_types.hxx: + add OUStringBufferAppender + add algorithm intersperse - comphelper/source/misc/string.cxx: + rewrite convertCommaSeparated with intersperse and OUStringBufferAppender - comphelper/inc/comphelper/stlunosequence.hxx: + fix bug: begin() on empty sequence != end() 2009-02-26 12:50:47 +0100 mst r268498 : migration of cws odfmetadata2 from CVS (resync to m42): module offapi #i96209# - offapi/com/sun/star/text/fieldmaster/*.idl: + rename module from FieldMaster to fieldmaster - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb #i90620# - offapi/com/sun/star/rdf/{XMetadatable.idl,XDocumentMetadataAccess.idl}: + API change: XMetadatable derives from XURI + API change: replace XmlId (string) with MetadataReference (StringPair) - offapi/com/sun/star/rdf/{Statement.idl,XDocumentRepository.idl, XNamedGraph.idl,XRepository.idl}: + the predicate of a statement is a URI, not a Resource - offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl: + rename: s/Package/Document/ + remove uuid + remove everything related to mapping + graph names are now generated from base URI and file names + load methods: improve error handling with XInteractionHandler - offapi/com/sun/star/rdf/XDocumentRepository.idl: + change: RDFa permits using multiple predicates in one attribute + setStatementRDFa: subject is now XResource, object is now XMetadatable - offapi/com/sun/star/rdf/URIs.idl: + add some more URI constants - offapi/com/sun/star/rdf: + fix @since tags and replace <method> with <member> 2009-02-26 12:47:24 +0100 mst r268497 : migration of cws odfmetadata2 from CVS (resync to m42): module redland fix #i93768# - redland/raptor-1.4.17.patch, redland/raptor/makefile.mk: + disable GRDDL parser to prevent call to libxslt xsltSetDefaultSecurityPrefs, which breaks xmlhelp - redland/raptor/makefile.mk, redland/raptor-1.4.17.patch, redland/raptor-1.4.18.patch: + upgrade raptor to 1.4.18 + deactivate serializer for RSS/Atom (does not build) - redland/rasqal/makefile.mk, redland/rasqal-0.9.15.patch, redland/rasqal-0.9.16.patch, + upgrade rasqal to 0.9.16 - redland/redland/makefile.mk, redland/redland-1.0.7.patch, redland/redland-1.0.8.patch: + upgrade redland to 1.0.8 - redland/redlandversion.mk: + the librasqal SONAME has changed
2009-07-02 09:05:03 +00:00
xContext, FrameworkHelper::msRightPaneURL);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
break;
case SID_NORMAL_MULTI_PANE_GUI:
xResourceId = ResourceId::createWithAnchorURL(
CWS-TOOLING: integrate CWS odfmetadata2 2009-06-22 11:48:36 +0200 mst r273206 : - connectivity/source/drivers/mozab/mozillasrc/MNSInclude.hxx: + add "include ustrbuf.hxx" to work around warning caused by solaris <sys/kstat.h> declaring a global "long l ;" 2009-06-19 14:25:25 +0200 mst r273159 : - scp2/source/ooo/file_library_ooo.scp: + fix MinGW build 2009-06-08 12:52:33 +0200 mst r272727 : - redland/raptor-1.4.18.patch.mingw, redland/raptor/makefile.mk: + disable parsers that do not build on MinGW (thanks for patch by tono) 2009-05-15 17:31:07 +0200 mst r271957 : fix typos 2009-05-15 17:28:57 +0200 mst r271956 : #i101965# - offapi/com/sun/star/text/TextPortion: + add missing properties: SoftPageBreak, DocumentIndexMark, ReferenceMark, Footnote, TextField + fix read-only status of properties: Bookmark, IsStart, IsCollapsed - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb 2009-05-07 14:41:38 +0200 mst r271669 : - sw/inc/{fmtftn.hxx,unocoll.hxx,doc.hxx,editsh.hxx,ftninfo.hxx}, sw/source/core/layout/{flowfrm.cxx,ftnfrm.cxx}, sw/source/core/doc/docftn.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/txtnode/atrftn.cxx, sw/source/core/unocore/unocoll.cxx, sw/source/ui/fldui/fldref.cxx: + fix warning ... the hard way + also fix signature of SwDoc::SetCurFtn 2009-05-05 19:52:55 +0200 mst r271556 : - sw/inc/undobj.hxx: + make some members const 2009-05-05 19:34:40 +0200 mst r271555 : - sw/inc/rolbck.hxx, sw/source/core/undo/rolbck.cxx: + make some members const 2009-05-05 19:13:14 +0200 mst r271553 : - sw/inc/{undobj.hxx,rolbck.hxx}, sw/source/core/undo/{unbkmk.cxx,rolbck.cxx}: + fix rebase merge error + rename SwHstryBookmark to SwHistoryBookmark + clean up SwUndoBookmark 2009-05-05 19:05:53 +0200 mst r271552 : - sw/source/core/unocore/unoportenum.cxx: + fix annoying assertion 2009-05-05 15:34:48 +0200 mst r271522 : CWS-TOOLING: rebase CWS odfmetadata2 to trunk@271427 (milestone: DEV300:m47) 2009-05-04 12:37:01 +0200 mst r271444 : trivial 2009-04-22 13:30:37 +0200 mst r271102 : - sfx2/inc/sfx2/dinfdlg.hxx: + trivial change 2009-04-21 16:46:58 +0200 mst r271043 : - sw/inc/hintids.hxx: + introduce some predicates for the various hints, and use them 2009-04-21 16:19:03 +0200 mst r271041 : - sw/inc/undobj.hxx, sw/source/core/doc/{docfly.cxx,docfmt.cxx,docftn.cxx,doctxm.cxx}, sw/source/core/undo/{unattr.cxx,unins.cxx}: + clean up unattr.cxx: remove/fix casts, prefix members, use auto_ptr, etc. 2009-04-21 15:34:23 +0200 mst r271039 : - sw/inc/{rolbck.hxx,undobj.hxx}, sw/source/core/doc/docfmt.cxx, sw/source/core/txtnode/{thints.cxx,txtedt.cxx}, sw/source/core/undo/{rolbck.cxx,undel.cxx,undobj.cxx,unins.cxx,unmove.cxx, unovwr.cxx,unsect.cxx,unspnd.cxx,untbl.cxx,untblk.cxx,unattr.cxx}: + clean up SwHistory, SwRegHistory and SwHistoryHint etc.: remove/fix casts, prefix members, remove wrong const annotations, use auto_ptr, remove unused members, etc. 2009-04-20 19:17:36 +0200 mst r271013 : - sw/inc/ndhints.hxx, sw/source/core/text/{itrtxt.cxx,txtftn.cxx,itratr.cxx,porfly.cxx, txtfrm.cxx,txtdrop.cxx,frmform.cxx}, sw/source/core/txtnode/{ndtxt.cxx,ndhints.cxx,thints.cxx,txtedt.cxx}, sw/source/core/edit/acorrect.cxx, sw/source/core/doc/{docedt.cxx,docfmt.cxx}, sw/source/filter/html/swhtml.cxx: + clean up SwHintsArray and its subclasses: remove/fix casts, prefix members 2009-04-20 18:42:07 +0200 mst r271007 : - sw/source/core/text/txtio.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/undo/rolbck.cxx: + remove JP_NEWCORE dead code 2009-04-20 18:38:09 +0200 mst r271006 : - sw/source/core/unocore/unochart.cxx: + silence unxlngi warning (debug=t) 2009-04-20 16:36:13 +0200 mst r270991 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx, sw/source/ui/fldui/flddinf.hxx: + trivial cleanups 2009-04-20 15:28:52 +0200 mst r270990 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx: + fix bug: replaying a macro with a DocumentInfoItem removes all user-defined properties 2009-03-10 15:08:20 +0100 mst r269273 : - sfx2/source/doc/Metadatable.cxx: + add missing SolarMutex guards 2009-03-10 14:46:29 +0100 mst r269272 : - unoxml/source/rdf/librdf_repository.cxx: + never free rdf_world because that would call libxm2 xmlCleanupParser (and, to add insult to injury, other libxml2 functions later...) 2009-03-06 19:02:44 +0100 mst r269041 : argh! undo... 2009-03-06 19:00:58 +0100 mst r269040 : fix #i99931# - sw/source/ui/uno/unomod.cxx: + SwXViewSettings::_getSingleValue returns uninitialized memory for the ZoomType property if the value is PAGE_WIDTH_EXACT 2009-03-06 18:59:28 +0100 mst r269039 : - sw/inc/ndtxt.hxx, sw/source/core/txtnode/ndtxt.cxx, sw/source/core/unocore/unoportenum.cxx: + fix some more wntmsci12 warnings... 2009-03-06 18:56:46 +0100 mst r269038 : - sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx: + work around spurious warning on unxsoli4 debug=t 2009-03-05 14:02:01 +0100 mst r268902 : - sw/inc/txatbase.hxx: + back to c-style casts, they also compile on wntmsci12... 2009-03-05 10:23:25 +0100 mst r268882 : - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + revert change of return type of comphelper_getProcessComponentContext to Reference: does not build on wntmsci12 2009-03-04 19:08:09 +0100 mst r268861 : - sw/source/core/txtnode/{atrtox.cxx,ndtxt.cxx}: + fix initialization 2009-03-04 14:37:30 +0100 mst r268831 : - solenv/inc/target.mk: + fix CLASSPATH so complex tests run (fix by sb) 2009-03-04 14:36:30 +0100 mst r268830 : - sw/inc/unoobj.hxx, sw/source/core/unocore/{unoparagraph.cxx,unoobj.cxx,unoobj2.cxx}: + SwXParaFrameEnumeration constructor now takes SwPaM, not SwUnoCrsr + move SwParaSelection into unoparagraph.cxx, as it is only used there + bugfix: replace SwUnoCrsrs on stack with SwCursors 2009-03-04 14:34:46 +0100 mst r268829 : - sw/inc/pam.hxx, sw/source/core/crsr/pam.cxx, sw/source/core/edit/eddel.cxx, sw/source/core/doc/docredln.cxx, sw/source/core/undo/{untbl.cxx,undel.cxx}, sw/source/filter/rtf/swparrtf.cxx: + clean up SwPaM: prefix members + new constructor SwPosition(SwCntntNode&, xub_StrLen) + fix several broken SwPosition and SwPaM constructors + SwPam::DeleteMark now actually resets the unused position to default 2009-03-02 12:07:09 +0100 mst r268646 : - sw/inc/fmtcol.hxx: + fix annoying warning (gcc 4) 2009-03-02 12:06:27 +0100 mst r268645 : - odk/util/check.pl, odk/examples/DevelopersGuide/Text/TextDocuments.java: + rename module from FieldMaster to fieldmaster 2009-02-27 19:49:56 +0100 mst r268614 : - sfx2/inc/sfx2/Metadatable.hxx, sfx2/prj/d.lst, sfx2/source/doc/{Metadatable.cxx,makefile.mk}, sw/inc/{SwMetadatable.hxx,unoobj.hxx,undobj.hxx,ndtxt.hxx}, sw/source/core/doc/{SwMetadatable.cxx,makefile.mk,docnew.cxx}, sw/source/core/undo/{untbl.cxx,unins.cxx}, sw/source/core/unocore/unoparagraph.cxx, sw/source/ui/app/docsh.cxx: + move Metadatable implementation from sw to sfx2 2009-02-27 17:58:55 +0100 mst r268608 : - sw/inc/{SwMetadatable.hxx,undobj.hxx}, sw/source/core/doc/SwMetadatable.cxx, sw/source/core/undo/{untbl.cxx,unins.cxx,undel.cxx}: + CreateUndo now returns an opaque MetadatableUndo object 2009-02-27 13:15:44 +0100 mst r268587 : - sw/inc/ndtxt.hxx, sw/source/core/doc/docfmt.cxx, sw/source/core/text/{itratr.cxx,porlay.cxx}, sw/source/core/txtnode/{txtedt.cxx,ndtxt.cxx,thints.cxx}: + clean up SwTxtNode: fix casts, prefix members + factor out inline function SwTxtNode::TryDeleteSwpHints() 2009-02-27 13:14:30 +0100 mst r268586 : - svx/inc/svx/emphitem.hxx: + fix borken header guard 2009-02-27 13:13:56 +0100 mst r268585 : - sfx2/source/bastyp/progress.cxx: + fix use of compiler specific macro 2009-02-27 11:00:32 +0100 mst r268564 : - sw/inc/{txatbase.hxx,txtatr.hxx,txtinet.hxx,txtfld.hxx,txtftn.hxx, txtflcnt.hxx,txttxmrk.hxx,txtrfmrk.hxx}, sw/source/core/txtnode/{atrtox.cxx,atrref.cxx,atrflyin.cxx,atrftn.cxx, txtatr2.cxx,txatbase.cxx,atrfld.cxx,txtedt.cxx}, sw/source/core/text/atrstck.cxx, sw/source/core/access/acchyperlink.cxx, sw/source/core/doc/visiturl.cxx, sw/source/ui/wrtsh/wrtsh2.cxx: + clean up SwTxtAttr and its subclasses: remove/fix casts, prefix members + SwTxtINetFmt: remove unused member bColor - sw/source/core/text/txtfld.cxx: + move SwTxtFld methods to atrfld.cxx 2009-02-27 10:58:44 +0100 mst r268563 : - sfx2/inc/sfx2/sfxbasemodel.hxx: + don't privately inherit BaseMutex, ScModelObj wants to access it 2009-02-27 10:58:02 +0100 mst r268562 : - xmloff/source/core/{RDFaExportHelper.cxx,RDFaImportHelper.cxx}: + arrrgh!!! someone thought it would be a good idea to have 2 different versions of boost in external! and they're NOT compatible!!! insert an ugly fragile hack that maybe works with both... 2009-02-26 17:42:26 +0100 mst r268544 : - comphelper/inc/comphelper/storagehelper.hxx. sfx2/source/doc/DocumentMetadataAccess.cxx: + someone made IsValidZipEntryFileName a static method and didn't tell me 2009-02-26 15:52:56 +0100 mst r268529 : redland: split up patches 2009-02-26 13:17:56 +0100 mst r268509 : migration of cws odfmetadata2 from CVS (resync to m42): module sw #i95863# - sw/inc/segdefs{,_}.hxx: + remove obsolete files - sw/source/ui/inc/itemdef.hxx: + remove itemdef.hxx - sw/source/ui/app/[apphdl.cxx,docsh.cxx}, sw/source/ui/misc/glshell.cxx, sw/source/ui/shells/*.cxx, sw/source/ui/uiview/*.cxx, sw/source/ui/web/*.cxx: + use sfx2/msg.hxx instead of itemdef.hxx - sw/source/core/edit/eddel.cxx: + @ JP: SwEditShell::Replace: you're right, deleting the text to be replaced first, and then inserting a space, and then replacing that space is unnecessary. whew, i'm so happy that we finally answered that question after 11 years. - sw/inc/edimp.hxx: + remove FOREACHCURSOR_START, FOREACHCURSOR_END - sw/inc/{swcrsr.hxx,unocrsr.hxx,viscrs.hxx}, sw/source/core/crsr/{crsrsh.cxx,swcrsr.cxx,trvlreg.cxx,trvltbl.cxx, unocrsr.cxx,viscrs.cxx}, sw/source/core/doc/{docbm.cxx,doccorr.cxx}, sw/source/core/docnode/{ndtbl.cxx,ndtbl1.cxx}, sw/source/core/edit/editsh.cxx, sw/source/core/frmedt/{fefly1.cxx,fetab.cxx,tblsel.cxx}, sw/source/core/layout/trvlfrm.cxx, sw/source/core/unocore/{unochart.cxx,unoobj2.cxx,unoparagraph.cxx, unoportenum.cxx,unotbl.cxx}, sw/source/core/view/vprint.cxx: + remove the hideous virtual operator SwFooCursor* + make SwCursor::IsReadOnlyAvailable() virtual + make SwUnoCrsr::Clone() virtual + refactor SwCursor methods IsSelOver(), LeftRight(), UpDown(), GotoTable(): replace dynamic_cast<...>(this) with new virtual methods 2009-02-26 13:14:58 +0100 mst r268508 : migration of cws odfmetadata2 from CVS (resync to m42): module sw - sw/source/filter/xml/swxml.cxx: + XMLReader::Read: load RDF metadata of the ODF document - sw/source/filter/xml/wrtxml.cxx: + SwXMLWriter::_Write: write RDF metadata of the ODF document if ODF >= 1.2 #i90620#: import xml:id in text tables (does not actually work yet) - sw/source/filter/xml/xmltbli{.hxx,.cxx}: + SwXMLTableCellAttrTokens,aTableCellAttrTokenMap: add XML_TOK_TABLE_XMLID + SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl: attribute xml:id + SwXMLTableCellContext_Impl::CreateChildContext: attribute xml:id + SwXMLTableColContext_Impl::SwXMLTableColContext_Impl: attribute xml:id + SwXMLTableContext::SwXMLTableContext: attribute xml:id fix #i98530# - sw/inc/unoport.hxx, sw/source/core/unocore/unoport.cxx: + SwXTextPortion: make constructor params const& - sw/source/core/unocore/unoportenum.cxx: + refactor to remove some code duplication + fix bug: paragraph w/out hints: bookmark before frame gets lost #i97274# handle invalid tables - sw/source/core/layout/tabfrm.cxx, sw/source/filter/xml/xmltbli.cxx: + SwXMLTableContext::MakeTable(): check that the table actually contains cells, and abort (removing the inserted table nodes) if not 2009-02-26 13:11:48 +0100 mst r268507 : migration of cws odfmetadata2 from CVS (resync to m42): module sw refactor SwXTextRange and SwXParagraph - sw/inc/unoobj.hxx, sw/source/core/unocore/unoobj2.cxx: + remove 3 constructors of SwXTextRange + new method SwXTextRange::CreateParentXText + refactor SwXTextRange::CreateTextRangeFromPosition and SwXTextRange::getText - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph no longer uses a cursor; it registers directly at SwTxtNode + replace SwXParagraph::GetCrsr with SwXParagraph::GetTxtNode - sw/source/core/unocore/unotext.cxx, sw/source/ui/uno/unotxvw.cxx: + adapt to new SwXParagraph #i90620# - sw/inc/SwMetadatable.hxx, sw/source/core/doc/SwMetadatable.cxx: + new files: base classes sw::Metadatable and sw::MetadatableMixin; also, 2 implementations of IXmlIdRegistry: sw::XmlIdRegistryDocument and sw::XmlIdRegistryClipboard + setMetadataReference: handle empty stream name as auto-detect - sw/source/core/doc/makefile.mk: + add SwMetadatable add a XmlIdRegistry to SwDoc - sw/inc/doc.hxx: + SwDoc: add member m_pXmlIdRegistry, method GetXmlIdRegistry() - sw/source/core/doc/docnew.cxx: + initialize XmlIdRegistry in SwDoc::GetXmlIdRegistry, not in constructor, because the constructor is not told whether the SwDoc is a clipboard - sw/inc/docsh.hxx, sw/source/ui/app/docsh.cxx: + SwDocShell: override GetXmlIdRegistry() #i91563#: make the SwTxtNode metadatable - sw/inc/ndtxt.hxx + SwTxtNode inherits sw::Metadatable - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph inherits sw::MetadatableMixin #i91563#: handle SwTxtNode's metadata for delete - sw/source/core/txtnode/ndtxt.cxx: + SwTxtNode::SplitCntntNode: handle XmlId + SwTxtNode::JoinNext: merge XmlIds - sw/source/core/doc/docedt.cxx: + lcl_GetJoinFlags: document postcondition + SwDoc::Delete: remove XmlId only if SwTxtNode _becomes_ empty #i91563#: handle SwTxtNode's metadata for delete with undo - sw/inc/undobj.hxx + SwUndoDelete: new members m_pMetadataUndoStart, m_pMetadataUndoEnd - sw/source/core/undo/undel.cxx: + SwUndoDelete::SaveCntnt: save XmlIds for start and end SwTxtNode + SwUndoDelete::SaveCntnt: remove XmlId only if SwTxtNode _becomes_ empty + SwUndoDelete::Undo: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndcopy.cxx: + SwTxtNode::MakeCopy: register copy at XmlIdRegistry #i91563#: handle SwTxtNode's metadata for find/replace with undo - sw/source/core/undo/unins.cxx: + _UnReplaceData: rename members: add prefix m_ + _UnReplaceData: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + _UnReplaceData::_UnReplaceData: save XmlIds for start and end SwTxtNode + _UnReplaceData::Undo: restore saved XmlIds for start and end SwTxtNode #i91563#: handle SwTxtNode's metadata for table-to-text with undo - sw/source/core/undo/untbl.cxx: + SwTblToTxtSave: rename members: add prefix m_ + SwTblToTxtSave: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + SwTblToTxtSave::SwTblToTxtSave: save XmlIds for start and end SwTxtNode + SwTblToTxtSave::SwTblToTxtSave, SwNodes::UndoTableToText: always store the index of the first SwTxtNode in the cell, instead of the index of the first SwTxtNode in case of the first cell in a row, and the cell start node in other cases + SwNodes::UndoTableToText: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndtbl.cxx: + lcl_DelBox: simplify for refactored start index handling in SwTblToTxtSave 2009-02-26 13:02:28 +0100 mst r268505 : migration of cws odfmetadata2 from CVS (resync to m42): module sd - sd/source/ui/table/tableobjectbar.cxx,sd/source/ui/view/*.cxx: + remove invocations of SFX_DECL_TYPE - sd/source/ui/slideshow/SlideShowRestarter.cxx, sd/source/ui/toolpanel/LayoutMenu.cxx, sd/source/ui/unoidl/DrawController.cxx, sd/source/ui/view/{ViewShellBase.cxx,ViewTabBar.cxx,frmview.cxx}: + fix abuses of comphelper_getProcessComponentContext (missing release) 2009-02-26 13:01:24 +0100 mst r268504 : migration of cws odfmetadata2 from CVS (resync to m42): module starmath - starmath/source/document.cxx: + don't touch SfxObjectShell's privates 2009-02-26 13:00:37 +0100 mst r268503 : migration of cws odfmetadata2 from CVS (resync to m42): module sfx2 #i90620# - sfx2/inc/sfx2/XmlIdRegistry.hxx: + new file: interfaces sfx2::IXmlIdRegistry and sfx2::IXmlIdRegistrySupplier and a couple of utility functions - sfx2/inc/sfx2/DocumentMetadataAccess.hxx, sfx2/source/doc/DocumentMetadataAccess.cxx: + new class sfx2::DocumentMetadataAccess, implements XDocumentMetadataAccess + the URI of the DocumentMetadataAccess is now the URI from which the document was loaded; for a new document, use a vnd.sun.star.tdoc URI + add new function sfx2::createBaseURI() + prevent using reserved file names + try not to recurse into embedded subdocuments - sfx2/source/doc/makefile.mk: + add DocumentMetadataAccess - sfx2/util/makefile.mk: + link libsfx2 against libxml2 (needed for xmlValidateNCName) - sfx2/source/doc/makefile.mk: + add LIBXML_CFLAGS to CFLAGS - sfx2/prj/build.lst: + add dependence on libxml2 - sfx2/prj/d.lst: + add XmlIdRegistry.hxx, DocumentMetadataAccess.hxx - sfx2/inc/sfx2/objsh.hxx, sfx2/source/doc/objxtor.cxx: + make SfxObjectShell's members private + new method SfxObjectShell::GetAutoStyleFilterIndex + SfxObjectShell inherits sfx2::IXmlIdRegistrySupplier - sfx2/source/dialog/templdlg.cxx, sfx2/source/doc/sfxbasemodel.cxx: + don't touch SfxObjectShell's privates - sfx2/inc/sfx2/sfxbasemodel.hxx, sfx2/source/doc/sfxbasemodel.cxx: + SfxBaseModel inherits BaseMutex instead of IMPL_SfxBaseModel_MutexContainer + SfxBaseModel implements additional interface XDocumentMetadataAccess + IMPL_SfxBaseModel_DataContainer has new member: a sfx2::DocumentMetadataAccess + implementation of XDocumentMetadataAccess forwards to the sfx2::DocumentMetadataAccess member - sfx2/qa/complex/DocumentMetadataAccessTest.java, sfx2/qa/complex/{tests.sce,makefile.mk}, sfx2/qa/complex/testdocuments/TESTRDFA.odt: + add complex test: DocumentMetadataAccessTest + add RDFa test document #i95863# - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx: + refactor SfxDocumentItem so it no longer requires a XDocumentInfo + move struct CustomProperty to implementation file + remove class SfxDocumentUserPage + QueryValue,PutValue: remove MID_DOCINFO_FIELD* - sfx2/source/doc/objserv.cxx: + adapt to SfxDocumentItem change - sfx2/inc/sfx2/sfx.hrc, sfx2/sdi/sfxslots.sdi, sfx2/inc/sfx2/msg.hxx: + remove MID_DOCINFO_FIELD* + put all invocations of SFX_DECL_TYPE in msg.hxx, and undef SFX_DECL_TYPE - sfx2/source/doc/objxtor.cxx: + fix abuses of comphelper_getProcessComponentContext (missing release) - sfx2/source/doc/docfile.cxx: + SfxMedium::SfxMedium: don't dereference NULL, throw exception instead - sfx2/source/doc/objstor.cxx: + SfxObjectShell::DoLoad: fix bug: DocumentBaseURI is not initialized 2009-02-26 12:58:07 +0100 mst r268502 : migration of cws odfmetadata2 from CVS (resync to m42): module xmloff #i90620#: implement RDFa import (interface change) - xmloff/inc/xmloff/xmlimp.hxx. xmloff/source/core/xmlimp.cxx: + make SvXMLImport::GetAbsoluteReference() const + add SvXMLImport::GetComponentContext() + SvXMLImport::_InitCtor(): add RDFa namespace + add SvXMLImport::AddRDFa() + SvXMLImport::endDocument() inserts RDFa into document repository - xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/xmltoken.cxx: + new tokens for RDFa: XML_ABOUT, XML_DATATYPE - xmloff/inc/RDFaImportHelper.hxx, xmloff/source/core/RDFaImportHelper.cxx: + new class RDFaImportHelper + adapt the code to the bleak reality of broken C++ implementations + handle empty xhtml:about attributes properly, which are actually valid relative URIs + work around broken SvXMLImport::GetAbsoluteReference - xmloff/source/core/makefile.mk: + add RDFaImportHelper.cxx #i90620#: implement RDFa export - xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + add SvXMLExport::EnsureNamespace(), and a stack of namespace maps + add SvXMLExport::GetComponentContext() + add SvXMLExport::AddAttributesRDFa() - xmloff/inc/RDFaExportHelper.hxx, xmloff/source/core/RDFaExportHelper.cxx: + new class RDFaExportHelper + don't use std::map::data_type, which is actually called std::map::mapped_type by libstdc++ - xmloff/source/core/makefile.mk: + add RDFaExportHelper.cxx #i91563# - xmloff/inc/xmloff/txtimp.hxx, xmloff/source/text/txtimp.cxx: + XMLTextPAttrTokens: add RDFa tokens - xmloff/source/text/txtparai{.hxx,.cxx}: + import RDFa for text:p - xmloff/source/text/txtparae.cxx: + export RDFa for text:p interface change: use XHTML namespace instead of RDFA - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlimp.cxx,xmlexp.cxx,RDFaExportHelper.cxx}, xmloff/source/text/txtimp.cxx: + use XHTML namespace instead of RDFA #i91565#, #i91566#: (preliminary) import for text:meta, text:meta-field - xmloff/source/text/txtparai.cxx: + new class XMLMetaImportContextBase with subclasses to import text:meta and text:meta-field - xmloff/source/text/XMLTextMarkImportContext.cxx: + change XMLTextMarkImportContext::CreateAndInsertMark to handle marks with no name (text:meta) #i91565#, #i91566#: (preliminary) export for text:meta, text:meta-field - xmloff/inc/txtflde.hxx, xmloff/source/text/txtflde.cxx: + add FIELD_ID_META to FieldIdEnum + new method XMLTextFieldExport::ExportMetaField() + change XMLTextFieldExport::ExportField{,AutoStyle,Helper} to take additional parameter for progress bar - xmloff/inc/xmloff/txtparae.hxx, xmloff/source/text/txtparae.cxx: + make XMLTextParagraphExport::exportTextRangeEnumeration() public + new method XMLTextParagraphExport::exportMeta() #i90620# - xmloff/inc/xmloff/xmlimp.hxx, xmloff/source/core/xmlimp.cxx, xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + rename SvXML{Im,Ex}port::GetStreamPath() to GetStreamName() + fix xml:id {im,ex}port for embedded documents and non-packages + adapt to API change: XMetadatable #i90620# GRDDL - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlexp.cxx}: + add GRDDL namespace + add token XML_TRANSFORMATION + add grddl:transformation attribute to root elements for meta.xml, content.xml and styles.xml 2009-02-26 12:54:40 +0100 mst r268501 : migration of cws odfmetadata2 from CVS (resync to m42): module unoxml #i90620# - unoxml/source/rdf/librdf_repository.cxx: + librdf_Repository::importGraph: allocate buffer sized length of stream + switch from one librdf_world per repository to a single static world because redland has global variables with a brain-damaged life-cycle... + exportGraph: use new raptor 1.4.18 feature to disable writing an xml:base attribute in RDF/XML files - unoxml/source/rdf/librdf_repository.cxx: unoxml/qa/complex/RDFRepositoryTest.java: + adapt to predicate is URI change + adapt to RDFa API change + adapt to API change: RDFa has multiple predicates... + adapt to API change: XMetadatable derives from XURI + allow xhtml:datatype without xhtml:content + adapt to API change: attribute MetadataReference is StringPair - unoxml/source/rdf/CURI.cxx: + add some more URI constants 2009-02-26 12:53:32 +0100 mst r268500 : migration of cws odfmetadata2 from CVS (resync to m42): module package - package/inc/ImplValidCharacters.hxx: + remove (moved to comphelper) 2009-02-26 12:52:49 +0100 mst r268499 : migration of cws odfmetadata2 from CVS (resync to m42): module comphelper - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + add getProcessComponentContext() + change return type of comphelper_getProcessComponentContext to Reference - comphelper/inc/comphelper/stl_types.hxx: + add OUStringBufferAppender + add algorithm intersperse - comphelper/source/misc/string.cxx: + rewrite convertCommaSeparated with intersperse and OUStringBufferAppender - comphelper/inc/comphelper/stlunosequence.hxx: + fix bug: begin() on empty sequence != end() 2009-02-26 12:50:47 +0100 mst r268498 : migration of cws odfmetadata2 from CVS (resync to m42): module offapi #i96209# - offapi/com/sun/star/text/fieldmaster/*.idl: + rename module from FieldMaster to fieldmaster - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb #i90620# - offapi/com/sun/star/rdf/{XMetadatable.idl,XDocumentMetadataAccess.idl}: + API change: XMetadatable derives from XURI + API change: replace XmlId (string) with MetadataReference (StringPair) - offapi/com/sun/star/rdf/{Statement.idl,XDocumentRepository.idl, XNamedGraph.idl,XRepository.idl}: + the predicate of a statement is a URI, not a Resource - offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl: + rename: s/Package/Document/ + remove uuid + remove everything related to mapping + graph names are now generated from base URI and file names + load methods: improve error handling with XInteractionHandler - offapi/com/sun/star/rdf/XDocumentRepository.idl: + change: RDFa permits using multiple predicates in one attribute + setStatementRDFa: subject is now XResource, object is now XMetadatable - offapi/com/sun/star/rdf/URIs.idl: + add some more URI constants - offapi/com/sun/star/rdf: + fix @since tags and replace <method> with <member> 2009-02-26 12:47:24 +0100 mst r268497 : migration of cws odfmetadata2 from CVS (resync to m42): module redland fix #i93768# - redland/raptor-1.4.17.patch, redland/raptor/makefile.mk: + disable GRDDL parser to prevent call to libxslt xsltSetDefaultSecurityPrefs, which breaks xmlhelp - redland/raptor/makefile.mk, redland/raptor-1.4.17.patch, redland/raptor-1.4.18.patch: + upgrade raptor to 1.4.18 + deactivate serializer for RSS/Atom (does not build) - redland/rasqal/makefile.mk, redland/rasqal-0.9.15.patch, redland/rasqal-0.9.16.patch, + upgrade rasqal to 0.9.16 - redland/redland/makefile.mk, redland/redland-1.0.7.patch, redland/redland-1.0.8.patch: + upgrade redland to 1.0.8 - redland/redlandversion.mk: + the librasqal SONAME has changed
2009-07-02 09:05:03 +00:00
xContext,
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
FrameworkHelper::msImpressViewURL,
FrameworkHelper::msCenterPaneURL);
break;
case SID_SLIDE_SORTER_MULTI_PANE_GUI:
case SID_DIAMODE:
xResourceId = ResourceId::createWithAnchorURL(
CWS-TOOLING: integrate CWS odfmetadata2 2009-06-22 11:48:36 +0200 mst r273206 : - connectivity/source/drivers/mozab/mozillasrc/MNSInclude.hxx: + add "include ustrbuf.hxx" to work around warning caused by solaris <sys/kstat.h> declaring a global "long l ;" 2009-06-19 14:25:25 +0200 mst r273159 : - scp2/source/ooo/file_library_ooo.scp: + fix MinGW build 2009-06-08 12:52:33 +0200 mst r272727 : - redland/raptor-1.4.18.patch.mingw, redland/raptor/makefile.mk: + disable parsers that do not build on MinGW (thanks for patch by tono) 2009-05-15 17:31:07 +0200 mst r271957 : fix typos 2009-05-15 17:28:57 +0200 mst r271956 : #i101965# - offapi/com/sun/star/text/TextPortion: + add missing properties: SoftPageBreak, DocumentIndexMark, ReferenceMark, Footnote, TextField + fix read-only status of properties: Bookmark, IsStart, IsCollapsed - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb 2009-05-07 14:41:38 +0200 mst r271669 : - sw/inc/{fmtftn.hxx,unocoll.hxx,doc.hxx,editsh.hxx,ftninfo.hxx}, sw/source/core/layout/{flowfrm.cxx,ftnfrm.cxx}, sw/source/core/doc/docftn.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/txtnode/atrftn.cxx, sw/source/core/unocore/unocoll.cxx, sw/source/ui/fldui/fldref.cxx: + fix warning ... the hard way + also fix signature of SwDoc::SetCurFtn 2009-05-05 19:52:55 +0200 mst r271556 : - sw/inc/undobj.hxx: + make some members const 2009-05-05 19:34:40 +0200 mst r271555 : - sw/inc/rolbck.hxx, sw/source/core/undo/rolbck.cxx: + make some members const 2009-05-05 19:13:14 +0200 mst r271553 : - sw/inc/{undobj.hxx,rolbck.hxx}, sw/source/core/undo/{unbkmk.cxx,rolbck.cxx}: + fix rebase merge error + rename SwHstryBookmark to SwHistoryBookmark + clean up SwUndoBookmark 2009-05-05 19:05:53 +0200 mst r271552 : - sw/source/core/unocore/unoportenum.cxx: + fix annoying assertion 2009-05-05 15:34:48 +0200 mst r271522 : CWS-TOOLING: rebase CWS odfmetadata2 to trunk@271427 (milestone: DEV300:m47) 2009-05-04 12:37:01 +0200 mst r271444 : trivial 2009-04-22 13:30:37 +0200 mst r271102 : - sfx2/inc/sfx2/dinfdlg.hxx: + trivial change 2009-04-21 16:46:58 +0200 mst r271043 : - sw/inc/hintids.hxx: + introduce some predicates for the various hints, and use them 2009-04-21 16:19:03 +0200 mst r271041 : - sw/inc/undobj.hxx, sw/source/core/doc/{docfly.cxx,docfmt.cxx,docftn.cxx,doctxm.cxx}, sw/source/core/undo/{unattr.cxx,unins.cxx}: + clean up unattr.cxx: remove/fix casts, prefix members, use auto_ptr, etc. 2009-04-21 15:34:23 +0200 mst r271039 : - sw/inc/{rolbck.hxx,undobj.hxx}, sw/source/core/doc/docfmt.cxx, sw/source/core/txtnode/{thints.cxx,txtedt.cxx}, sw/source/core/undo/{rolbck.cxx,undel.cxx,undobj.cxx,unins.cxx,unmove.cxx, unovwr.cxx,unsect.cxx,unspnd.cxx,untbl.cxx,untblk.cxx,unattr.cxx}: + clean up SwHistory, SwRegHistory and SwHistoryHint etc.: remove/fix casts, prefix members, remove wrong const annotations, use auto_ptr, remove unused members, etc. 2009-04-20 19:17:36 +0200 mst r271013 : - sw/inc/ndhints.hxx, sw/source/core/text/{itrtxt.cxx,txtftn.cxx,itratr.cxx,porfly.cxx, txtfrm.cxx,txtdrop.cxx,frmform.cxx}, sw/source/core/txtnode/{ndtxt.cxx,ndhints.cxx,thints.cxx,txtedt.cxx}, sw/source/core/edit/acorrect.cxx, sw/source/core/doc/{docedt.cxx,docfmt.cxx}, sw/source/filter/html/swhtml.cxx: + clean up SwHintsArray and its subclasses: remove/fix casts, prefix members 2009-04-20 18:42:07 +0200 mst r271007 : - sw/source/core/text/txtio.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/undo/rolbck.cxx: + remove JP_NEWCORE dead code 2009-04-20 18:38:09 +0200 mst r271006 : - sw/source/core/unocore/unochart.cxx: + silence unxlngi warning (debug=t) 2009-04-20 16:36:13 +0200 mst r270991 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx, sw/source/ui/fldui/flddinf.hxx: + trivial cleanups 2009-04-20 15:28:52 +0200 mst r270990 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx: + fix bug: replaying a macro with a DocumentInfoItem removes all user-defined properties 2009-03-10 15:08:20 +0100 mst r269273 : - sfx2/source/doc/Metadatable.cxx: + add missing SolarMutex guards 2009-03-10 14:46:29 +0100 mst r269272 : - unoxml/source/rdf/librdf_repository.cxx: + never free rdf_world because that would call libxm2 xmlCleanupParser (and, to add insult to injury, other libxml2 functions later...) 2009-03-06 19:02:44 +0100 mst r269041 : argh! undo... 2009-03-06 19:00:58 +0100 mst r269040 : fix #i99931# - sw/source/ui/uno/unomod.cxx: + SwXViewSettings::_getSingleValue returns uninitialized memory for the ZoomType property if the value is PAGE_WIDTH_EXACT 2009-03-06 18:59:28 +0100 mst r269039 : - sw/inc/ndtxt.hxx, sw/source/core/txtnode/ndtxt.cxx, sw/source/core/unocore/unoportenum.cxx: + fix some more wntmsci12 warnings... 2009-03-06 18:56:46 +0100 mst r269038 : - sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx: + work around spurious warning on unxsoli4 debug=t 2009-03-05 14:02:01 +0100 mst r268902 : - sw/inc/txatbase.hxx: + back to c-style casts, they also compile on wntmsci12... 2009-03-05 10:23:25 +0100 mst r268882 : - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + revert change of return type of comphelper_getProcessComponentContext to Reference: does not build on wntmsci12 2009-03-04 19:08:09 +0100 mst r268861 : - sw/source/core/txtnode/{atrtox.cxx,ndtxt.cxx}: + fix initialization 2009-03-04 14:37:30 +0100 mst r268831 : - solenv/inc/target.mk: + fix CLASSPATH so complex tests run (fix by sb) 2009-03-04 14:36:30 +0100 mst r268830 : - sw/inc/unoobj.hxx, sw/source/core/unocore/{unoparagraph.cxx,unoobj.cxx,unoobj2.cxx}: + SwXParaFrameEnumeration constructor now takes SwPaM, not SwUnoCrsr + move SwParaSelection into unoparagraph.cxx, as it is only used there + bugfix: replace SwUnoCrsrs on stack with SwCursors 2009-03-04 14:34:46 +0100 mst r268829 : - sw/inc/pam.hxx, sw/source/core/crsr/pam.cxx, sw/source/core/edit/eddel.cxx, sw/source/core/doc/docredln.cxx, sw/source/core/undo/{untbl.cxx,undel.cxx}, sw/source/filter/rtf/swparrtf.cxx: + clean up SwPaM: prefix members + new constructor SwPosition(SwCntntNode&, xub_StrLen) + fix several broken SwPosition and SwPaM constructors + SwPam::DeleteMark now actually resets the unused position to default 2009-03-02 12:07:09 +0100 mst r268646 : - sw/inc/fmtcol.hxx: + fix annoying warning (gcc 4) 2009-03-02 12:06:27 +0100 mst r268645 : - odk/util/check.pl, odk/examples/DevelopersGuide/Text/TextDocuments.java: + rename module from FieldMaster to fieldmaster 2009-02-27 19:49:56 +0100 mst r268614 : - sfx2/inc/sfx2/Metadatable.hxx, sfx2/prj/d.lst, sfx2/source/doc/{Metadatable.cxx,makefile.mk}, sw/inc/{SwMetadatable.hxx,unoobj.hxx,undobj.hxx,ndtxt.hxx}, sw/source/core/doc/{SwMetadatable.cxx,makefile.mk,docnew.cxx}, sw/source/core/undo/{untbl.cxx,unins.cxx}, sw/source/core/unocore/unoparagraph.cxx, sw/source/ui/app/docsh.cxx: + move Metadatable implementation from sw to sfx2 2009-02-27 17:58:55 +0100 mst r268608 : - sw/inc/{SwMetadatable.hxx,undobj.hxx}, sw/source/core/doc/SwMetadatable.cxx, sw/source/core/undo/{untbl.cxx,unins.cxx,undel.cxx}: + CreateUndo now returns an opaque MetadatableUndo object 2009-02-27 13:15:44 +0100 mst r268587 : - sw/inc/ndtxt.hxx, sw/source/core/doc/docfmt.cxx, sw/source/core/text/{itratr.cxx,porlay.cxx}, sw/source/core/txtnode/{txtedt.cxx,ndtxt.cxx,thints.cxx}: + clean up SwTxtNode: fix casts, prefix members + factor out inline function SwTxtNode::TryDeleteSwpHints() 2009-02-27 13:14:30 +0100 mst r268586 : - svx/inc/svx/emphitem.hxx: + fix borken header guard 2009-02-27 13:13:56 +0100 mst r268585 : - sfx2/source/bastyp/progress.cxx: + fix use of compiler specific macro 2009-02-27 11:00:32 +0100 mst r268564 : - sw/inc/{txatbase.hxx,txtatr.hxx,txtinet.hxx,txtfld.hxx,txtftn.hxx, txtflcnt.hxx,txttxmrk.hxx,txtrfmrk.hxx}, sw/source/core/txtnode/{atrtox.cxx,atrref.cxx,atrflyin.cxx,atrftn.cxx, txtatr2.cxx,txatbase.cxx,atrfld.cxx,txtedt.cxx}, sw/source/core/text/atrstck.cxx, sw/source/core/access/acchyperlink.cxx, sw/source/core/doc/visiturl.cxx, sw/source/ui/wrtsh/wrtsh2.cxx: + clean up SwTxtAttr and its subclasses: remove/fix casts, prefix members + SwTxtINetFmt: remove unused member bColor - sw/source/core/text/txtfld.cxx: + move SwTxtFld methods to atrfld.cxx 2009-02-27 10:58:44 +0100 mst r268563 : - sfx2/inc/sfx2/sfxbasemodel.hxx: + don't privately inherit BaseMutex, ScModelObj wants to access it 2009-02-27 10:58:02 +0100 mst r268562 : - xmloff/source/core/{RDFaExportHelper.cxx,RDFaImportHelper.cxx}: + arrrgh!!! someone thought it would be a good idea to have 2 different versions of boost in external! and they're NOT compatible!!! insert an ugly fragile hack that maybe works with both... 2009-02-26 17:42:26 +0100 mst r268544 : - comphelper/inc/comphelper/storagehelper.hxx. sfx2/source/doc/DocumentMetadataAccess.cxx: + someone made IsValidZipEntryFileName a static method and didn't tell me 2009-02-26 15:52:56 +0100 mst r268529 : redland: split up patches 2009-02-26 13:17:56 +0100 mst r268509 : migration of cws odfmetadata2 from CVS (resync to m42): module sw #i95863# - sw/inc/segdefs{,_}.hxx: + remove obsolete files - sw/source/ui/inc/itemdef.hxx: + remove itemdef.hxx - sw/source/ui/app/[apphdl.cxx,docsh.cxx}, sw/source/ui/misc/glshell.cxx, sw/source/ui/shells/*.cxx, sw/source/ui/uiview/*.cxx, sw/source/ui/web/*.cxx: + use sfx2/msg.hxx instead of itemdef.hxx - sw/source/core/edit/eddel.cxx: + @ JP: SwEditShell::Replace: you're right, deleting the text to be replaced first, and then inserting a space, and then replacing that space is unnecessary. whew, i'm so happy that we finally answered that question after 11 years. - sw/inc/edimp.hxx: + remove FOREACHCURSOR_START, FOREACHCURSOR_END - sw/inc/{swcrsr.hxx,unocrsr.hxx,viscrs.hxx}, sw/source/core/crsr/{crsrsh.cxx,swcrsr.cxx,trvlreg.cxx,trvltbl.cxx, unocrsr.cxx,viscrs.cxx}, sw/source/core/doc/{docbm.cxx,doccorr.cxx}, sw/source/core/docnode/{ndtbl.cxx,ndtbl1.cxx}, sw/source/core/edit/editsh.cxx, sw/source/core/frmedt/{fefly1.cxx,fetab.cxx,tblsel.cxx}, sw/source/core/layout/trvlfrm.cxx, sw/source/core/unocore/{unochart.cxx,unoobj2.cxx,unoparagraph.cxx, unoportenum.cxx,unotbl.cxx}, sw/source/core/view/vprint.cxx: + remove the hideous virtual operator SwFooCursor* + make SwCursor::IsReadOnlyAvailable() virtual + make SwUnoCrsr::Clone() virtual + refactor SwCursor methods IsSelOver(), LeftRight(), UpDown(), GotoTable(): replace dynamic_cast<...>(this) with new virtual methods 2009-02-26 13:14:58 +0100 mst r268508 : migration of cws odfmetadata2 from CVS (resync to m42): module sw - sw/source/filter/xml/swxml.cxx: + XMLReader::Read: load RDF metadata of the ODF document - sw/source/filter/xml/wrtxml.cxx: + SwXMLWriter::_Write: write RDF metadata of the ODF document if ODF >= 1.2 #i90620#: import xml:id in text tables (does not actually work yet) - sw/source/filter/xml/xmltbli{.hxx,.cxx}: + SwXMLTableCellAttrTokens,aTableCellAttrTokenMap: add XML_TOK_TABLE_XMLID + SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl: attribute xml:id + SwXMLTableCellContext_Impl::CreateChildContext: attribute xml:id + SwXMLTableColContext_Impl::SwXMLTableColContext_Impl: attribute xml:id + SwXMLTableContext::SwXMLTableContext: attribute xml:id fix #i98530# - sw/inc/unoport.hxx, sw/source/core/unocore/unoport.cxx: + SwXTextPortion: make constructor params const& - sw/source/core/unocore/unoportenum.cxx: + refactor to remove some code duplication + fix bug: paragraph w/out hints: bookmark before frame gets lost #i97274# handle invalid tables - sw/source/core/layout/tabfrm.cxx, sw/source/filter/xml/xmltbli.cxx: + SwXMLTableContext::MakeTable(): check that the table actually contains cells, and abort (removing the inserted table nodes) if not 2009-02-26 13:11:48 +0100 mst r268507 : migration of cws odfmetadata2 from CVS (resync to m42): module sw refactor SwXTextRange and SwXParagraph - sw/inc/unoobj.hxx, sw/source/core/unocore/unoobj2.cxx: + remove 3 constructors of SwXTextRange + new method SwXTextRange::CreateParentXText + refactor SwXTextRange::CreateTextRangeFromPosition and SwXTextRange::getText - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph no longer uses a cursor; it registers directly at SwTxtNode + replace SwXParagraph::GetCrsr with SwXParagraph::GetTxtNode - sw/source/core/unocore/unotext.cxx, sw/source/ui/uno/unotxvw.cxx: + adapt to new SwXParagraph #i90620# - sw/inc/SwMetadatable.hxx, sw/source/core/doc/SwMetadatable.cxx: + new files: base classes sw::Metadatable and sw::MetadatableMixin; also, 2 implementations of IXmlIdRegistry: sw::XmlIdRegistryDocument and sw::XmlIdRegistryClipboard + setMetadataReference: handle empty stream name as auto-detect - sw/source/core/doc/makefile.mk: + add SwMetadatable add a XmlIdRegistry to SwDoc - sw/inc/doc.hxx: + SwDoc: add member m_pXmlIdRegistry, method GetXmlIdRegistry() - sw/source/core/doc/docnew.cxx: + initialize XmlIdRegistry in SwDoc::GetXmlIdRegistry, not in constructor, because the constructor is not told whether the SwDoc is a clipboard - sw/inc/docsh.hxx, sw/source/ui/app/docsh.cxx: + SwDocShell: override GetXmlIdRegistry() #i91563#: make the SwTxtNode metadatable - sw/inc/ndtxt.hxx + SwTxtNode inherits sw::Metadatable - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph inherits sw::MetadatableMixin #i91563#: handle SwTxtNode's metadata for delete - sw/source/core/txtnode/ndtxt.cxx: + SwTxtNode::SplitCntntNode: handle XmlId + SwTxtNode::JoinNext: merge XmlIds - sw/source/core/doc/docedt.cxx: + lcl_GetJoinFlags: document postcondition + SwDoc::Delete: remove XmlId only if SwTxtNode _becomes_ empty #i91563#: handle SwTxtNode's metadata for delete with undo - sw/inc/undobj.hxx + SwUndoDelete: new members m_pMetadataUndoStart, m_pMetadataUndoEnd - sw/source/core/undo/undel.cxx: + SwUndoDelete::SaveCntnt: save XmlIds for start and end SwTxtNode + SwUndoDelete::SaveCntnt: remove XmlId only if SwTxtNode _becomes_ empty + SwUndoDelete::Undo: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndcopy.cxx: + SwTxtNode::MakeCopy: register copy at XmlIdRegistry #i91563#: handle SwTxtNode's metadata for find/replace with undo - sw/source/core/undo/unins.cxx: + _UnReplaceData: rename members: add prefix m_ + _UnReplaceData: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + _UnReplaceData::_UnReplaceData: save XmlIds for start and end SwTxtNode + _UnReplaceData::Undo: restore saved XmlIds for start and end SwTxtNode #i91563#: handle SwTxtNode's metadata for table-to-text with undo - sw/source/core/undo/untbl.cxx: + SwTblToTxtSave: rename members: add prefix m_ + SwTblToTxtSave: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + SwTblToTxtSave::SwTblToTxtSave: save XmlIds for start and end SwTxtNode + SwTblToTxtSave::SwTblToTxtSave, SwNodes::UndoTableToText: always store the index of the first SwTxtNode in the cell, instead of the index of the first SwTxtNode in case of the first cell in a row, and the cell start node in other cases + SwNodes::UndoTableToText: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndtbl.cxx: + lcl_DelBox: simplify for refactored start index handling in SwTblToTxtSave 2009-02-26 13:02:28 +0100 mst r268505 : migration of cws odfmetadata2 from CVS (resync to m42): module sd - sd/source/ui/table/tableobjectbar.cxx,sd/source/ui/view/*.cxx: + remove invocations of SFX_DECL_TYPE - sd/source/ui/slideshow/SlideShowRestarter.cxx, sd/source/ui/toolpanel/LayoutMenu.cxx, sd/source/ui/unoidl/DrawController.cxx, sd/source/ui/view/{ViewShellBase.cxx,ViewTabBar.cxx,frmview.cxx}: + fix abuses of comphelper_getProcessComponentContext (missing release) 2009-02-26 13:01:24 +0100 mst r268504 : migration of cws odfmetadata2 from CVS (resync to m42): module starmath - starmath/source/document.cxx: + don't touch SfxObjectShell's privates 2009-02-26 13:00:37 +0100 mst r268503 : migration of cws odfmetadata2 from CVS (resync to m42): module sfx2 #i90620# - sfx2/inc/sfx2/XmlIdRegistry.hxx: + new file: interfaces sfx2::IXmlIdRegistry and sfx2::IXmlIdRegistrySupplier and a couple of utility functions - sfx2/inc/sfx2/DocumentMetadataAccess.hxx, sfx2/source/doc/DocumentMetadataAccess.cxx: + new class sfx2::DocumentMetadataAccess, implements XDocumentMetadataAccess + the URI of the DocumentMetadataAccess is now the URI from which the document was loaded; for a new document, use a vnd.sun.star.tdoc URI + add new function sfx2::createBaseURI() + prevent using reserved file names + try not to recurse into embedded subdocuments - sfx2/source/doc/makefile.mk: + add DocumentMetadataAccess - sfx2/util/makefile.mk: + link libsfx2 against libxml2 (needed for xmlValidateNCName) - sfx2/source/doc/makefile.mk: + add LIBXML_CFLAGS to CFLAGS - sfx2/prj/build.lst: + add dependence on libxml2 - sfx2/prj/d.lst: + add XmlIdRegistry.hxx, DocumentMetadataAccess.hxx - sfx2/inc/sfx2/objsh.hxx, sfx2/source/doc/objxtor.cxx: + make SfxObjectShell's members private + new method SfxObjectShell::GetAutoStyleFilterIndex + SfxObjectShell inherits sfx2::IXmlIdRegistrySupplier - sfx2/source/dialog/templdlg.cxx, sfx2/source/doc/sfxbasemodel.cxx: + don't touch SfxObjectShell's privates - sfx2/inc/sfx2/sfxbasemodel.hxx, sfx2/source/doc/sfxbasemodel.cxx: + SfxBaseModel inherits BaseMutex instead of IMPL_SfxBaseModel_MutexContainer + SfxBaseModel implements additional interface XDocumentMetadataAccess + IMPL_SfxBaseModel_DataContainer has new member: a sfx2::DocumentMetadataAccess + implementation of XDocumentMetadataAccess forwards to the sfx2::DocumentMetadataAccess member - sfx2/qa/complex/DocumentMetadataAccessTest.java, sfx2/qa/complex/{tests.sce,makefile.mk}, sfx2/qa/complex/testdocuments/TESTRDFA.odt: + add complex test: DocumentMetadataAccessTest + add RDFa test document #i95863# - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx: + refactor SfxDocumentItem so it no longer requires a XDocumentInfo + move struct CustomProperty to implementation file + remove class SfxDocumentUserPage + QueryValue,PutValue: remove MID_DOCINFO_FIELD* - sfx2/source/doc/objserv.cxx: + adapt to SfxDocumentItem change - sfx2/inc/sfx2/sfx.hrc, sfx2/sdi/sfxslots.sdi, sfx2/inc/sfx2/msg.hxx: + remove MID_DOCINFO_FIELD* + put all invocations of SFX_DECL_TYPE in msg.hxx, and undef SFX_DECL_TYPE - sfx2/source/doc/objxtor.cxx: + fix abuses of comphelper_getProcessComponentContext (missing release) - sfx2/source/doc/docfile.cxx: + SfxMedium::SfxMedium: don't dereference NULL, throw exception instead - sfx2/source/doc/objstor.cxx: + SfxObjectShell::DoLoad: fix bug: DocumentBaseURI is not initialized 2009-02-26 12:58:07 +0100 mst r268502 : migration of cws odfmetadata2 from CVS (resync to m42): module xmloff #i90620#: implement RDFa import (interface change) - xmloff/inc/xmloff/xmlimp.hxx. xmloff/source/core/xmlimp.cxx: + make SvXMLImport::GetAbsoluteReference() const + add SvXMLImport::GetComponentContext() + SvXMLImport::_InitCtor(): add RDFa namespace + add SvXMLImport::AddRDFa() + SvXMLImport::endDocument() inserts RDFa into document repository - xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/xmltoken.cxx: + new tokens for RDFa: XML_ABOUT, XML_DATATYPE - xmloff/inc/RDFaImportHelper.hxx, xmloff/source/core/RDFaImportHelper.cxx: + new class RDFaImportHelper + adapt the code to the bleak reality of broken C++ implementations + handle empty xhtml:about attributes properly, which are actually valid relative URIs + work around broken SvXMLImport::GetAbsoluteReference - xmloff/source/core/makefile.mk: + add RDFaImportHelper.cxx #i90620#: implement RDFa export - xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + add SvXMLExport::EnsureNamespace(), and a stack of namespace maps + add SvXMLExport::GetComponentContext() + add SvXMLExport::AddAttributesRDFa() - xmloff/inc/RDFaExportHelper.hxx, xmloff/source/core/RDFaExportHelper.cxx: + new class RDFaExportHelper + don't use std::map::data_type, which is actually called std::map::mapped_type by libstdc++ - xmloff/source/core/makefile.mk: + add RDFaExportHelper.cxx #i91563# - xmloff/inc/xmloff/txtimp.hxx, xmloff/source/text/txtimp.cxx: + XMLTextPAttrTokens: add RDFa tokens - xmloff/source/text/txtparai{.hxx,.cxx}: + import RDFa for text:p - xmloff/source/text/txtparae.cxx: + export RDFa for text:p interface change: use XHTML namespace instead of RDFA - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlimp.cxx,xmlexp.cxx,RDFaExportHelper.cxx}, xmloff/source/text/txtimp.cxx: + use XHTML namespace instead of RDFA #i91565#, #i91566#: (preliminary) import for text:meta, text:meta-field - xmloff/source/text/txtparai.cxx: + new class XMLMetaImportContextBase with subclasses to import text:meta and text:meta-field - xmloff/source/text/XMLTextMarkImportContext.cxx: + change XMLTextMarkImportContext::CreateAndInsertMark to handle marks with no name (text:meta) #i91565#, #i91566#: (preliminary) export for text:meta, text:meta-field - xmloff/inc/txtflde.hxx, xmloff/source/text/txtflde.cxx: + add FIELD_ID_META to FieldIdEnum + new method XMLTextFieldExport::ExportMetaField() + change XMLTextFieldExport::ExportField{,AutoStyle,Helper} to take additional parameter for progress bar - xmloff/inc/xmloff/txtparae.hxx, xmloff/source/text/txtparae.cxx: + make XMLTextParagraphExport::exportTextRangeEnumeration() public + new method XMLTextParagraphExport::exportMeta() #i90620# - xmloff/inc/xmloff/xmlimp.hxx, xmloff/source/core/xmlimp.cxx, xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + rename SvXML{Im,Ex}port::GetStreamPath() to GetStreamName() + fix xml:id {im,ex}port for embedded documents and non-packages + adapt to API change: XMetadatable #i90620# GRDDL - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlexp.cxx}: + add GRDDL namespace + add token XML_TRANSFORMATION + add grddl:transformation attribute to root elements for meta.xml, content.xml and styles.xml 2009-02-26 12:54:40 +0100 mst r268501 : migration of cws odfmetadata2 from CVS (resync to m42): module unoxml #i90620# - unoxml/source/rdf/librdf_repository.cxx: + librdf_Repository::importGraph: allocate buffer sized length of stream + switch from one librdf_world per repository to a single static world because redland has global variables with a brain-damaged life-cycle... + exportGraph: use new raptor 1.4.18 feature to disable writing an xml:base attribute in RDF/XML files - unoxml/source/rdf/librdf_repository.cxx: unoxml/qa/complex/RDFRepositoryTest.java: + adapt to predicate is URI change + adapt to RDFa API change + adapt to API change: RDFa has multiple predicates... + adapt to API change: XMetadatable derives from XURI + allow xhtml:datatype without xhtml:content + adapt to API change: attribute MetadataReference is StringPair - unoxml/source/rdf/CURI.cxx: + add some more URI constants 2009-02-26 12:53:32 +0100 mst r268500 : migration of cws odfmetadata2 from CVS (resync to m42): module package - package/inc/ImplValidCharacters.hxx: + remove (moved to comphelper) 2009-02-26 12:52:49 +0100 mst r268499 : migration of cws odfmetadata2 from CVS (resync to m42): module comphelper - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + add getProcessComponentContext() + change return type of comphelper_getProcessComponentContext to Reference - comphelper/inc/comphelper/stl_types.hxx: + add OUStringBufferAppender + add algorithm intersperse - comphelper/source/misc/string.cxx: + rewrite convertCommaSeparated with intersperse and OUStringBufferAppender - comphelper/inc/comphelper/stlunosequence.hxx: + fix bug: begin() on empty sequence != end() 2009-02-26 12:50:47 +0100 mst r268498 : migration of cws odfmetadata2 from CVS (resync to m42): module offapi #i96209# - offapi/com/sun/star/text/fieldmaster/*.idl: + rename module from FieldMaster to fieldmaster - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb #i90620# - offapi/com/sun/star/rdf/{XMetadatable.idl,XDocumentMetadataAccess.idl}: + API change: XMetadatable derives from XURI + API change: replace XmlId (string) with MetadataReference (StringPair) - offapi/com/sun/star/rdf/{Statement.idl,XDocumentRepository.idl, XNamedGraph.idl,XRepository.idl}: + the predicate of a statement is a URI, not a Resource - offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl: + rename: s/Package/Document/ + remove uuid + remove everything related to mapping + graph names are now generated from base URI and file names + load methods: improve error handling with XInteractionHandler - offapi/com/sun/star/rdf/XDocumentRepository.idl: + change: RDFa permits using multiple predicates in one attribute + setStatementRDFa: subject is now XResource, object is now XMetadatable - offapi/com/sun/star/rdf/URIs.idl: + add some more URI constants - offapi/com/sun/star/rdf: + fix @since tags and replace <method> with <member> 2009-02-26 12:47:24 +0100 mst r268497 : migration of cws odfmetadata2 from CVS (resync to m42): module redland fix #i93768# - redland/raptor-1.4.17.patch, redland/raptor/makefile.mk: + disable GRDDL parser to prevent call to libxslt xsltSetDefaultSecurityPrefs, which breaks xmlhelp - redland/raptor/makefile.mk, redland/raptor-1.4.17.patch, redland/raptor-1.4.18.patch: + upgrade raptor to 1.4.18 + deactivate serializer for RSS/Atom (does not build) - redland/rasqal/makefile.mk, redland/rasqal-0.9.15.patch, redland/rasqal-0.9.16.patch, + upgrade rasqal to 0.9.16 - redland/redland/makefile.mk, redland/redland-1.0.7.patch, redland/redland-1.0.8.patch: + upgrade redland to 1.0.8 - redland/redlandversion.mk: + the librasqal SONAME has changed
2009-07-02 09:05:03 +00:00
xContext,
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
FrameworkHelper::msSlideSorterURL,
FrameworkHelper::msCenterPaneURL);
break;
case SID_OUTLINEMODE:
xResourceId = ResourceId::createWithAnchorURL(
CWS-TOOLING: integrate CWS odfmetadata2 2009-06-22 11:48:36 +0200 mst r273206 : - connectivity/source/drivers/mozab/mozillasrc/MNSInclude.hxx: + add "include ustrbuf.hxx" to work around warning caused by solaris <sys/kstat.h> declaring a global "long l ;" 2009-06-19 14:25:25 +0200 mst r273159 : - scp2/source/ooo/file_library_ooo.scp: + fix MinGW build 2009-06-08 12:52:33 +0200 mst r272727 : - redland/raptor-1.4.18.patch.mingw, redland/raptor/makefile.mk: + disable parsers that do not build on MinGW (thanks for patch by tono) 2009-05-15 17:31:07 +0200 mst r271957 : fix typos 2009-05-15 17:28:57 +0200 mst r271956 : #i101965# - offapi/com/sun/star/text/TextPortion: + add missing properties: SoftPageBreak, DocumentIndexMark, ReferenceMark, Footnote, TextField + fix read-only status of properties: Bookmark, IsStart, IsCollapsed - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb 2009-05-07 14:41:38 +0200 mst r271669 : - sw/inc/{fmtftn.hxx,unocoll.hxx,doc.hxx,editsh.hxx,ftninfo.hxx}, sw/source/core/layout/{flowfrm.cxx,ftnfrm.cxx}, sw/source/core/doc/docftn.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/txtnode/atrftn.cxx, sw/source/core/unocore/unocoll.cxx, sw/source/ui/fldui/fldref.cxx: + fix warning ... the hard way + also fix signature of SwDoc::SetCurFtn 2009-05-05 19:52:55 +0200 mst r271556 : - sw/inc/undobj.hxx: + make some members const 2009-05-05 19:34:40 +0200 mst r271555 : - sw/inc/rolbck.hxx, sw/source/core/undo/rolbck.cxx: + make some members const 2009-05-05 19:13:14 +0200 mst r271553 : - sw/inc/{undobj.hxx,rolbck.hxx}, sw/source/core/undo/{unbkmk.cxx,rolbck.cxx}: + fix rebase merge error + rename SwHstryBookmark to SwHistoryBookmark + clean up SwUndoBookmark 2009-05-05 19:05:53 +0200 mst r271552 : - sw/source/core/unocore/unoportenum.cxx: + fix annoying assertion 2009-05-05 15:34:48 +0200 mst r271522 : CWS-TOOLING: rebase CWS odfmetadata2 to trunk@271427 (milestone: DEV300:m47) 2009-05-04 12:37:01 +0200 mst r271444 : trivial 2009-04-22 13:30:37 +0200 mst r271102 : - sfx2/inc/sfx2/dinfdlg.hxx: + trivial change 2009-04-21 16:46:58 +0200 mst r271043 : - sw/inc/hintids.hxx: + introduce some predicates for the various hints, and use them 2009-04-21 16:19:03 +0200 mst r271041 : - sw/inc/undobj.hxx, sw/source/core/doc/{docfly.cxx,docfmt.cxx,docftn.cxx,doctxm.cxx}, sw/source/core/undo/{unattr.cxx,unins.cxx}: + clean up unattr.cxx: remove/fix casts, prefix members, use auto_ptr, etc. 2009-04-21 15:34:23 +0200 mst r271039 : - sw/inc/{rolbck.hxx,undobj.hxx}, sw/source/core/doc/docfmt.cxx, sw/source/core/txtnode/{thints.cxx,txtedt.cxx}, sw/source/core/undo/{rolbck.cxx,undel.cxx,undobj.cxx,unins.cxx,unmove.cxx, unovwr.cxx,unsect.cxx,unspnd.cxx,untbl.cxx,untblk.cxx,unattr.cxx}: + clean up SwHistory, SwRegHistory and SwHistoryHint etc.: remove/fix casts, prefix members, remove wrong const annotations, use auto_ptr, remove unused members, etc. 2009-04-20 19:17:36 +0200 mst r271013 : - sw/inc/ndhints.hxx, sw/source/core/text/{itrtxt.cxx,txtftn.cxx,itratr.cxx,porfly.cxx, txtfrm.cxx,txtdrop.cxx,frmform.cxx}, sw/source/core/txtnode/{ndtxt.cxx,ndhints.cxx,thints.cxx,txtedt.cxx}, sw/source/core/edit/acorrect.cxx, sw/source/core/doc/{docedt.cxx,docfmt.cxx}, sw/source/filter/html/swhtml.cxx: + clean up SwHintsArray and its subclasses: remove/fix casts, prefix members 2009-04-20 18:42:07 +0200 mst r271007 : - sw/source/core/text/txtio.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/undo/rolbck.cxx: + remove JP_NEWCORE dead code 2009-04-20 18:38:09 +0200 mst r271006 : - sw/source/core/unocore/unochart.cxx: + silence unxlngi warning (debug=t) 2009-04-20 16:36:13 +0200 mst r270991 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx, sw/source/ui/fldui/flddinf.hxx: + trivial cleanups 2009-04-20 15:28:52 +0200 mst r270990 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx: + fix bug: replaying a macro with a DocumentInfoItem removes all user-defined properties 2009-03-10 15:08:20 +0100 mst r269273 : - sfx2/source/doc/Metadatable.cxx: + add missing SolarMutex guards 2009-03-10 14:46:29 +0100 mst r269272 : - unoxml/source/rdf/librdf_repository.cxx: + never free rdf_world because that would call libxm2 xmlCleanupParser (and, to add insult to injury, other libxml2 functions later...) 2009-03-06 19:02:44 +0100 mst r269041 : argh! undo... 2009-03-06 19:00:58 +0100 mst r269040 : fix #i99931# - sw/source/ui/uno/unomod.cxx: + SwXViewSettings::_getSingleValue returns uninitialized memory for the ZoomType property if the value is PAGE_WIDTH_EXACT 2009-03-06 18:59:28 +0100 mst r269039 : - sw/inc/ndtxt.hxx, sw/source/core/txtnode/ndtxt.cxx, sw/source/core/unocore/unoportenum.cxx: + fix some more wntmsci12 warnings... 2009-03-06 18:56:46 +0100 mst r269038 : - sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx: + work around spurious warning on unxsoli4 debug=t 2009-03-05 14:02:01 +0100 mst r268902 : - sw/inc/txatbase.hxx: + back to c-style casts, they also compile on wntmsci12... 2009-03-05 10:23:25 +0100 mst r268882 : - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + revert change of return type of comphelper_getProcessComponentContext to Reference: does not build on wntmsci12 2009-03-04 19:08:09 +0100 mst r268861 : - sw/source/core/txtnode/{atrtox.cxx,ndtxt.cxx}: + fix initialization 2009-03-04 14:37:30 +0100 mst r268831 : - solenv/inc/target.mk: + fix CLASSPATH so complex tests run (fix by sb) 2009-03-04 14:36:30 +0100 mst r268830 : - sw/inc/unoobj.hxx, sw/source/core/unocore/{unoparagraph.cxx,unoobj.cxx,unoobj2.cxx}: + SwXParaFrameEnumeration constructor now takes SwPaM, not SwUnoCrsr + move SwParaSelection into unoparagraph.cxx, as it is only used there + bugfix: replace SwUnoCrsrs on stack with SwCursors 2009-03-04 14:34:46 +0100 mst r268829 : - sw/inc/pam.hxx, sw/source/core/crsr/pam.cxx, sw/source/core/edit/eddel.cxx, sw/source/core/doc/docredln.cxx, sw/source/core/undo/{untbl.cxx,undel.cxx}, sw/source/filter/rtf/swparrtf.cxx: + clean up SwPaM: prefix members + new constructor SwPosition(SwCntntNode&, xub_StrLen) + fix several broken SwPosition and SwPaM constructors + SwPam::DeleteMark now actually resets the unused position to default 2009-03-02 12:07:09 +0100 mst r268646 : - sw/inc/fmtcol.hxx: + fix annoying warning (gcc 4) 2009-03-02 12:06:27 +0100 mst r268645 : - odk/util/check.pl, odk/examples/DevelopersGuide/Text/TextDocuments.java: + rename module from FieldMaster to fieldmaster 2009-02-27 19:49:56 +0100 mst r268614 : - sfx2/inc/sfx2/Metadatable.hxx, sfx2/prj/d.lst, sfx2/source/doc/{Metadatable.cxx,makefile.mk}, sw/inc/{SwMetadatable.hxx,unoobj.hxx,undobj.hxx,ndtxt.hxx}, sw/source/core/doc/{SwMetadatable.cxx,makefile.mk,docnew.cxx}, sw/source/core/undo/{untbl.cxx,unins.cxx}, sw/source/core/unocore/unoparagraph.cxx, sw/source/ui/app/docsh.cxx: + move Metadatable implementation from sw to sfx2 2009-02-27 17:58:55 +0100 mst r268608 : - sw/inc/{SwMetadatable.hxx,undobj.hxx}, sw/source/core/doc/SwMetadatable.cxx, sw/source/core/undo/{untbl.cxx,unins.cxx,undel.cxx}: + CreateUndo now returns an opaque MetadatableUndo object 2009-02-27 13:15:44 +0100 mst r268587 : - sw/inc/ndtxt.hxx, sw/source/core/doc/docfmt.cxx, sw/source/core/text/{itratr.cxx,porlay.cxx}, sw/source/core/txtnode/{txtedt.cxx,ndtxt.cxx,thints.cxx}: + clean up SwTxtNode: fix casts, prefix members + factor out inline function SwTxtNode::TryDeleteSwpHints() 2009-02-27 13:14:30 +0100 mst r268586 : - svx/inc/svx/emphitem.hxx: + fix borken header guard 2009-02-27 13:13:56 +0100 mst r268585 : - sfx2/source/bastyp/progress.cxx: + fix use of compiler specific macro 2009-02-27 11:00:32 +0100 mst r268564 : - sw/inc/{txatbase.hxx,txtatr.hxx,txtinet.hxx,txtfld.hxx,txtftn.hxx, txtflcnt.hxx,txttxmrk.hxx,txtrfmrk.hxx}, sw/source/core/txtnode/{atrtox.cxx,atrref.cxx,atrflyin.cxx,atrftn.cxx, txtatr2.cxx,txatbase.cxx,atrfld.cxx,txtedt.cxx}, sw/source/core/text/atrstck.cxx, sw/source/core/access/acchyperlink.cxx, sw/source/core/doc/visiturl.cxx, sw/source/ui/wrtsh/wrtsh2.cxx: + clean up SwTxtAttr and its subclasses: remove/fix casts, prefix members + SwTxtINetFmt: remove unused member bColor - sw/source/core/text/txtfld.cxx: + move SwTxtFld methods to atrfld.cxx 2009-02-27 10:58:44 +0100 mst r268563 : - sfx2/inc/sfx2/sfxbasemodel.hxx: + don't privately inherit BaseMutex, ScModelObj wants to access it 2009-02-27 10:58:02 +0100 mst r268562 : - xmloff/source/core/{RDFaExportHelper.cxx,RDFaImportHelper.cxx}: + arrrgh!!! someone thought it would be a good idea to have 2 different versions of boost in external! and they're NOT compatible!!! insert an ugly fragile hack that maybe works with both... 2009-02-26 17:42:26 +0100 mst r268544 : - comphelper/inc/comphelper/storagehelper.hxx. sfx2/source/doc/DocumentMetadataAccess.cxx: + someone made IsValidZipEntryFileName a static method and didn't tell me 2009-02-26 15:52:56 +0100 mst r268529 : redland: split up patches 2009-02-26 13:17:56 +0100 mst r268509 : migration of cws odfmetadata2 from CVS (resync to m42): module sw #i95863# - sw/inc/segdefs{,_}.hxx: + remove obsolete files - sw/source/ui/inc/itemdef.hxx: + remove itemdef.hxx - sw/source/ui/app/[apphdl.cxx,docsh.cxx}, sw/source/ui/misc/glshell.cxx, sw/source/ui/shells/*.cxx, sw/source/ui/uiview/*.cxx, sw/source/ui/web/*.cxx: + use sfx2/msg.hxx instead of itemdef.hxx - sw/source/core/edit/eddel.cxx: + @ JP: SwEditShell::Replace: you're right, deleting the text to be replaced first, and then inserting a space, and then replacing that space is unnecessary. whew, i'm so happy that we finally answered that question after 11 years. - sw/inc/edimp.hxx: + remove FOREACHCURSOR_START, FOREACHCURSOR_END - sw/inc/{swcrsr.hxx,unocrsr.hxx,viscrs.hxx}, sw/source/core/crsr/{crsrsh.cxx,swcrsr.cxx,trvlreg.cxx,trvltbl.cxx, unocrsr.cxx,viscrs.cxx}, sw/source/core/doc/{docbm.cxx,doccorr.cxx}, sw/source/core/docnode/{ndtbl.cxx,ndtbl1.cxx}, sw/source/core/edit/editsh.cxx, sw/source/core/frmedt/{fefly1.cxx,fetab.cxx,tblsel.cxx}, sw/source/core/layout/trvlfrm.cxx, sw/source/core/unocore/{unochart.cxx,unoobj2.cxx,unoparagraph.cxx, unoportenum.cxx,unotbl.cxx}, sw/source/core/view/vprint.cxx: + remove the hideous virtual operator SwFooCursor* + make SwCursor::IsReadOnlyAvailable() virtual + make SwUnoCrsr::Clone() virtual + refactor SwCursor methods IsSelOver(), LeftRight(), UpDown(), GotoTable(): replace dynamic_cast<...>(this) with new virtual methods 2009-02-26 13:14:58 +0100 mst r268508 : migration of cws odfmetadata2 from CVS (resync to m42): module sw - sw/source/filter/xml/swxml.cxx: + XMLReader::Read: load RDF metadata of the ODF document - sw/source/filter/xml/wrtxml.cxx: + SwXMLWriter::_Write: write RDF metadata of the ODF document if ODF >= 1.2 #i90620#: import xml:id in text tables (does not actually work yet) - sw/source/filter/xml/xmltbli{.hxx,.cxx}: + SwXMLTableCellAttrTokens,aTableCellAttrTokenMap: add XML_TOK_TABLE_XMLID + SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl: attribute xml:id + SwXMLTableCellContext_Impl::CreateChildContext: attribute xml:id + SwXMLTableColContext_Impl::SwXMLTableColContext_Impl: attribute xml:id + SwXMLTableContext::SwXMLTableContext: attribute xml:id fix #i98530# - sw/inc/unoport.hxx, sw/source/core/unocore/unoport.cxx: + SwXTextPortion: make constructor params const& - sw/source/core/unocore/unoportenum.cxx: + refactor to remove some code duplication + fix bug: paragraph w/out hints: bookmark before frame gets lost #i97274# handle invalid tables - sw/source/core/layout/tabfrm.cxx, sw/source/filter/xml/xmltbli.cxx: + SwXMLTableContext::MakeTable(): check that the table actually contains cells, and abort (removing the inserted table nodes) if not 2009-02-26 13:11:48 +0100 mst r268507 : migration of cws odfmetadata2 from CVS (resync to m42): module sw refactor SwXTextRange and SwXParagraph - sw/inc/unoobj.hxx, sw/source/core/unocore/unoobj2.cxx: + remove 3 constructors of SwXTextRange + new method SwXTextRange::CreateParentXText + refactor SwXTextRange::CreateTextRangeFromPosition and SwXTextRange::getText - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph no longer uses a cursor; it registers directly at SwTxtNode + replace SwXParagraph::GetCrsr with SwXParagraph::GetTxtNode - sw/source/core/unocore/unotext.cxx, sw/source/ui/uno/unotxvw.cxx: + adapt to new SwXParagraph #i90620# - sw/inc/SwMetadatable.hxx, sw/source/core/doc/SwMetadatable.cxx: + new files: base classes sw::Metadatable and sw::MetadatableMixin; also, 2 implementations of IXmlIdRegistry: sw::XmlIdRegistryDocument and sw::XmlIdRegistryClipboard + setMetadataReference: handle empty stream name as auto-detect - sw/source/core/doc/makefile.mk: + add SwMetadatable add a XmlIdRegistry to SwDoc - sw/inc/doc.hxx: + SwDoc: add member m_pXmlIdRegistry, method GetXmlIdRegistry() - sw/source/core/doc/docnew.cxx: + initialize XmlIdRegistry in SwDoc::GetXmlIdRegistry, not in constructor, because the constructor is not told whether the SwDoc is a clipboard - sw/inc/docsh.hxx, sw/source/ui/app/docsh.cxx: + SwDocShell: override GetXmlIdRegistry() #i91563#: make the SwTxtNode metadatable - sw/inc/ndtxt.hxx + SwTxtNode inherits sw::Metadatable - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph inherits sw::MetadatableMixin #i91563#: handle SwTxtNode's metadata for delete - sw/source/core/txtnode/ndtxt.cxx: + SwTxtNode::SplitCntntNode: handle XmlId + SwTxtNode::JoinNext: merge XmlIds - sw/source/core/doc/docedt.cxx: + lcl_GetJoinFlags: document postcondition + SwDoc::Delete: remove XmlId only if SwTxtNode _becomes_ empty #i91563#: handle SwTxtNode's metadata for delete with undo - sw/inc/undobj.hxx + SwUndoDelete: new members m_pMetadataUndoStart, m_pMetadataUndoEnd - sw/source/core/undo/undel.cxx: + SwUndoDelete::SaveCntnt: save XmlIds for start and end SwTxtNode + SwUndoDelete::SaveCntnt: remove XmlId only if SwTxtNode _becomes_ empty + SwUndoDelete::Undo: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndcopy.cxx: + SwTxtNode::MakeCopy: register copy at XmlIdRegistry #i91563#: handle SwTxtNode's metadata for find/replace with undo - sw/source/core/undo/unins.cxx: + _UnReplaceData: rename members: add prefix m_ + _UnReplaceData: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + _UnReplaceData::_UnReplaceData: save XmlIds for start and end SwTxtNode + _UnReplaceData::Undo: restore saved XmlIds for start and end SwTxtNode #i91563#: handle SwTxtNode's metadata for table-to-text with undo - sw/source/core/undo/untbl.cxx: + SwTblToTxtSave: rename members: add prefix m_ + SwTblToTxtSave: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + SwTblToTxtSave::SwTblToTxtSave: save XmlIds for start and end SwTxtNode + SwTblToTxtSave::SwTblToTxtSave, SwNodes::UndoTableToText: always store the index of the first SwTxtNode in the cell, instead of the index of the first SwTxtNode in case of the first cell in a row, and the cell start node in other cases + SwNodes::UndoTableToText: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndtbl.cxx: + lcl_DelBox: simplify for refactored start index handling in SwTblToTxtSave 2009-02-26 13:02:28 +0100 mst r268505 : migration of cws odfmetadata2 from CVS (resync to m42): module sd - sd/source/ui/table/tableobjectbar.cxx,sd/source/ui/view/*.cxx: + remove invocations of SFX_DECL_TYPE - sd/source/ui/slideshow/SlideShowRestarter.cxx, sd/source/ui/toolpanel/LayoutMenu.cxx, sd/source/ui/unoidl/DrawController.cxx, sd/source/ui/view/{ViewShellBase.cxx,ViewTabBar.cxx,frmview.cxx}: + fix abuses of comphelper_getProcessComponentContext (missing release) 2009-02-26 13:01:24 +0100 mst r268504 : migration of cws odfmetadata2 from CVS (resync to m42): module starmath - starmath/source/document.cxx: + don't touch SfxObjectShell's privates 2009-02-26 13:00:37 +0100 mst r268503 : migration of cws odfmetadata2 from CVS (resync to m42): module sfx2 #i90620# - sfx2/inc/sfx2/XmlIdRegistry.hxx: + new file: interfaces sfx2::IXmlIdRegistry and sfx2::IXmlIdRegistrySupplier and a couple of utility functions - sfx2/inc/sfx2/DocumentMetadataAccess.hxx, sfx2/source/doc/DocumentMetadataAccess.cxx: + new class sfx2::DocumentMetadataAccess, implements XDocumentMetadataAccess + the URI of the DocumentMetadataAccess is now the URI from which the document was loaded; for a new document, use a vnd.sun.star.tdoc URI + add new function sfx2::createBaseURI() + prevent using reserved file names + try not to recurse into embedded subdocuments - sfx2/source/doc/makefile.mk: + add DocumentMetadataAccess - sfx2/util/makefile.mk: + link libsfx2 against libxml2 (needed for xmlValidateNCName) - sfx2/source/doc/makefile.mk: + add LIBXML_CFLAGS to CFLAGS - sfx2/prj/build.lst: + add dependence on libxml2 - sfx2/prj/d.lst: + add XmlIdRegistry.hxx, DocumentMetadataAccess.hxx - sfx2/inc/sfx2/objsh.hxx, sfx2/source/doc/objxtor.cxx: + make SfxObjectShell's members private + new method SfxObjectShell::GetAutoStyleFilterIndex + SfxObjectShell inherits sfx2::IXmlIdRegistrySupplier - sfx2/source/dialog/templdlg.cxx, sfx2/source/doc/sfxbasemodel.cxx: + don't touch SfxObjectShell's privates - sfx2/inc/sfx2/sfxbasemodel.hxx, sfx2/source/doc/sfxbasemodel.cxx: + SfxBaseModel inherits BaseMutex instead of IMPL_SfxBaseModel_MutexContainer + SfxBaseModel implements additional interface XDocumentMetadataAccess + IMPL_SfxBaseModel_DataContainer has new member: a sfx2::DocumentMetadataAccess + implementation of XDocumentMetadataAccess forwards to the sfx2::DocumentMetadataAccess member - sfx2/qa/complex/DocumentMetadataAccessTest.java, sfx2/qa/complex/{tests.sce,makefile.mk}, sfx2/qa/complex/testdocuments/TESTRDFA.odt: + add complex test: DocumentMetadataAccessTest + add RDFa test document #i95863# - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx: + refactor SfxDocumentItem so it no longer requires a XDocumentInfo + move struct CustomProperty to implementation file + remove class SfxDocumentUserPage + QueryValue,PutValue: remove MID_DOCINFO_FIELD* - sfx2/source/doc/objserv.cxx: + adapt to SfxDocumentItem change - sfx2/inc/sfx2/sfx.hrc, sfx2/sdi/sfxslots.sdi, sfx2/inc/sfx2/msg.hxx: + remove MID_DOCINFO_FIELD* + put all invocations of SFX_DECL_TYPE in msg.hxx, and undef SFX_DECL_TYPE - sfx2/source/doc/objxtor.cxx: + fix abuses of comphelper_getProcessComponentContext (missing release) - sfx2/source/doc/docfile.cxx: + SfxMedium::SfxMedium: don't dereference NULL, throw exception instead - sfx2/source/doc/objstor.cxx: + SfxObjectShell::DoLoad: fix bug: DocumentBaseURI is not initialized 2009-02-26 12:58:07 +0100 mst r268502 : migration of cws odfmetadata2 from CVS (resync to m42): module xmloff #i90620#: implement RDFa import (interface change) - xmloff/inc/xmloff/xmlimp.hxx. xmloff/source/core/xmlimp.cxx: + make SvXMLImport::GetAbsoluteReference() const + add SvXMLImport::GetComponentContext() + SvXMLImport::_InitCtor(): add RDFa namespace + add SvXMLImport::AddRDFa() + SvXMLImport::endDocument() inserts RDFa into document repository - xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/xmltoken.cxx: + new tokens for RDFa: XML_ABOUT, XML_DATATYPE - xmloff/inc/RDFaImportHelper.hxx, xmloff/source/core/RDFaImportHelper.cxx: + new class RDFaImportHelper + adapt the code to the bleak reality of broken C++ implementations + handle empty xhtml:about attributes properly, which are actually valid relative URIs + work around broken SvXMLImport::GetAbsoluteReference - xmloff/source/core/makefile.mk: + add RDFaImportHelper.cxx #i90620#: implement RDFa export - xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + add SvXMLExport::EnsureNamespace(), and a stack of namespace maps + add SvXMLExport::GetComponentContext() + add SvXMLExport::AddAttributesRDFa() - xmloff/inc/RDFaExportHelper.hxx, xmloff/source/core/RDFaExportHelper.cxx: + new class RDFaExportHelper + don't use std::map::data_type, which is actually called std::map::mapped_type by libstdc++ - xmloff/source/core/makefile.mk: + add RDFaExportHelper.cxx #i91563# - xmloff/inc/xmloff/txtimp.hxx, xmloff/source/text/txtimp.cxx: + XMLTextPAttrTokens: add RDFa tokens - xmloff/source/text/txtparai{.hxx,.cxx}: + import RDFa for text:p - xmloff/source/text/txtparae.cxx: + export RDFa for text:p interface change: use XHTML namespace instead of RDFA - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlimp.cxx,xmlexp.cxx,RDFaExportHelper.cxx}, xmloff/source/text/txtimp.cxx: + use XHTML namespace instead of RDFA #i91565#, #i91566#: (preliminary) import for text:meta, text:meta-field - xmloff/source/text/txtparai.cxx: + new class XMLMetaImportContextBase with subclasses to import text:meta and text:meta-field - xmloff/source/text/XMLTextMarkImportContext.cxx: + change XMLTextMarkImportContext::CreateAndInsertMark to handle marks with no name (text:meta) #i91565#, #i91566#: (preliminary) export for text:meta, text:meta-field - xmloff/inc/txtflde.hxx, xmloff/source/text/txtflde.cxx: + add FIELD_ID_META to FieldIdEnum + new method XMLTextFieldExport::ExportMetaField() + change XMLTextFieldExport::ExportField{,AutoStyle,Helper} to take additional parameter for progress bar - xmloff/inc/xmloff/txtparae.hxx, xmloff/source/text/txtparae.cxx: + make XMLTextParagraphExport::exportTextRangeEnumeration() public + new method XMLTextParagraphExport::exportMeta() #i90620# - xmloff/inc/xmloff/xmlimp.hxx, xmloff/source/core/xmlimp.cxx, xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + rename SvXML{Im,Ex}port::GetStreamPath() to GetStreamName() + fix xml:id {im,ex}port for embedded documents and non-packages + adapt to API change: XMetadatable #i90620# GRDDL - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlexp.cxx}: + add GRDDL namespace + add token XML_TRANSFORMATION + add grddl:transformation attribute to root elements for meta.xml, content.xml and styles.xml 2009-02-26 12:54:40 +0100 mst r268501 : migration of cws odfmetadata2 from CVS (resync to m42): module unoxml #i90620# - unoxml/source/rdf/librdf_repository.cxx: + librdf_Repository::importGraph: allocate buffer sized length of stream + switch from one librdf_world per repository to a single static world because redland has global variables with a brain-damaged life-cycle... + exportGraph: use new raptor 1.4.18 feature to disable writing an xml:base attribute in RDF/XML files - unoxml/source/rdf/librdf_repository.cxx: unoxml/qa/complex/RDFRepositoryTest.java: + adapt to predicate is URI change + adapt to RDFa API change + adapt to API change: RDFa has multiple predicates... + adapt to API change: XMetadatable derives from XURI + allow xhtml:datatype without xhtml:content + adapt to API change: attribute MetadataReference is StringPair - unoxml/source/rdf/CURI.cxx: + add some more URI constants 2009-02-26 12:53:32 +0100 mst r268500 : migration of cws odfmetadata2 from CVS (resync to m42): module package - package/inc/ImplValidCharacters.hxx: + remove (moved to comphelper) 2009-02-26 12:52:49 +0100 mst r268499 : migration of cws odfmetadata2 from CVS (resync to m42): module comphelper - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + add getProcessComponentContext() + change return type of comphelper_getProcessComponentContext to Reference - comphelper/inc/comphelper/stl_types.hxx: + add OUStringBufferAppender + add algorithm intersperse - comphelper/source/misc/string.cxx: + rewrite convertCommaSeparated with intersperse and OUStringBufferAppender - comphelper/inc/comphelper/stlunosequence.hxx: + fix bug: begin() on empty sequence != end() 2009-02-26 12:50:47 +0100 mst r268498 : migration of cws odfmetadata2 from CVS (resync to m42): module offapi #i96209# - offapi/com/sun/star/text/fieldmaster/*.idl: + rename module from FieldMaster to fieldmaster - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb #i90620# - offapi/com/sun/star/rdf/{XMetadatable.idl,XDocumentMetadataAccess.idl}: + API change: XMetadatable derives from XURI + API change: replace XmlId (string) with MetadataReference (StringPair) - offapi/com/sun/star/rdf/{Statement.idl,XDocumentRepository.idl, XNamedGraph.idl,XRepository.idl}: + the predicate of a statement is a URI, not a Resource - offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl: + rename: s/Package/Document/ + remove uuid + remove everything related to mapping + graph names are now generated from base URI and file names + load methods: improve error handling with XInteractionHandler - offapi/com/sun/star/rdf/XDocumentRepository.idl: + change: RDFa permits using multiple predicates in one attribute + setStatementRDFa: subject is now XResource, object is now XMetadatable - offapi/com/sun/star/rdf/URIs.idl: + add some more URI constants - offapi/com/sun/star/rdf: + fix @since tags and replace <method> with <member> 2009-02-26 12:47:24 +0100 mst r268497 : migration of cws odfmetadata2 from CVS (resync to m42): module redland fix #i93768# - redland/raptor-1.4.17.patch, redland/raptor/makefile.mk: + disable GRDDL parser to prevent call to libxslt xsltSetDefaultSecurityPrefs, which breaks xmlhelp - redland/raptor/makefile.mk, redland/raptor-1.4.17.patch, redland/raptor-1.4.18.patch: + upgrade raptor to 1.4.18 + deactivate serializer for RSS/Atom (does not build) - redland/rasqal/makefile.mk, redland/rasqal-0.9.15.patch, redland/rasqal-0.9.16.patch, + upgrade rasqal to 0.9.16 - redland/redland/makefile.mk, redland/redland-1.0.7.patch, redland/redland-1.0.8.patch: + upgrade redland to 1.0.8 - redland/redlandversion.mk: + the librasqal SONAME has changed
2009-07-02 09:05:03 +00:00
xContext,
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
FrameworkHelper::msOutlineViewURL,
FrameworkHelper::msCenterPaneURL);
break;
case SID_HANDOUTMODE:
// There is only the master page mode for the handout
// view so ignore the master page flag.
xResourceId = ResourceId::createWithAnchorURL(
CWS-TOOLING: integrate CWS odfmetadata2 2009-06-22 11:48:36 +0200 mst r273206 : - connectivity/source/drivers/mozab/mozillasrc/MNSInclude.hxx: + add "include ustrbuf.hxx" to work around warning caused by solaris <sys/kstat.h> declaring a global "long l ;" 2009-06-19 14:25:25 +0200 mst r273159 : - scp2/source/ooo/file_library_ooo.scp: + fix MinGW build 2009-06-08 12:52:33 +0200 mst r272727 : - redland/raptor-1.4.18.patch.mingw, redland/raptor/makefile.mk: + disable parsers that do not build on MinGW (thanks for patch by tono) 2009-05-15 17:31:07 +0200 mst r271957 : fix typos 2009-05-15 17:28:57 +0200 mst r271956 : #i101965# - offapi/com/sun/star/text/TextPortion: + add missing properties: SoftPageBreak, DocumentIndexMark, ReferenceMark, Footnote, TextField + fix read-only status of properties: Bookmark, IsStart, IsCollapsed - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb 2009-05-07 14:41:38 +0200 mst r271669 : - sw/inc/{fmtftn.hxx,unocoll.hxx,doc.hxx,editsh.hxx,ftninfo.hxx}, sw/source/core/layout/{flowfrm.cxx,ftnfrm.cxx}, sw/source/core/doc/docftn.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/txtnode/atrftn.cxx, sw/source/core/unocore/unocoll.cxx, sw/source/ui/fldui/fldref.cxx: + fix warning ... the hard way + also fix signature of SwDoc::SetCurFtn 2009-05-05 19:52:55 +0200 mst r271556 : - sw/inc/undobj.hxx: + make some members const 2009-05-05 19:34:40 +0200 mst r271555 : - sw/inc/rolbck.hxx, sw/source/core/undo/rolbck.cxx: + make some members const 2009-05-05 19:13:14 +0200 mst r271553 : - sw/inc/{undobj.hxx,rolbck.hxx}, sw/source/core/undo/{unbkmk.cxx,rolbck.cxx}: + fix rebase merge error + rename SwHstryBookmark to SwHistoryBookmark + clean up SwUndoBookmark 2009-05-05 19:05:53 +0200 mst r271552 : - sw/source/core/unocore/unoportenum.cxx: + fix annoying assertion 2009-05-05 15:34:48 +0200 mst r271522 : CWS-TOOLING: rebase CWS odfmetadata2 to trunk@271427 (milestone: DEV300:m47) 2009-05-04 12:37:01 +0200 mst r271444 : trivial 2009-04-22 13:30:37 +0200 mst r271102 : - sfx2/inc/sfx2/dinfdlg.hxx: + trivial change 2009-04-21 16:46:58 +0200 mst r271043 : - sw/inc/hintids.hxx: + introduce some predicates for the various hints, and use them 2009-04-21 16:19:03 +0200 mst r271041 : - sw/inc/undobj.hxx, sw/source/core/doc/{docfly.cxx,docfmt.cxx,docftn.cxx,doctxm.cxx}, sw/source/core/undo/{unattr.cxx,unins.cxx}: + clean up unattr.cxx: remove/fix casts, prefix members, use auto_ptr, etc. 2009-04-21 15:34:23 +0200 mst r271039 : - sw/inc/{rolbck.hxx,undobj.hxx}, sw/source/core/doc/docfmt.cxx, sw/source/core/txtnode/{thints.cxx,txtedt.cxx}, sw/source/core/undo/{rolbck.cxx,undel.cxx,undobj.cxx,unins.cxx,unmove.cxx, unovwr.cxx,unsect.cxx,unspnd.cxx,untbl.cxx,untblk.cxx,unattr.cxx}: + clean up SwHistory, SwRegHistory and SwHistoryHint etc.: remove/fix casts, prefix members, remove wrong const annotations, use auto_ptr, remove unused members, etc. 2009-04-20 19:17:36 +0200 mst r271013 : - sw/inc/ndhints.hxx, sw/source/core/text/{itrtxt.cxx,txtftn.cxx,itratr.cxx,porfly.cxx, txtfrm.cxx,txtdrop.cxx,frmform.cxx}, sw/source/core/txtnode/{ndtxt.cxx,ndhints.cxx,thints.cxx,txtedt.cxx}, sw/source/core/edit/acorrect.cxx, sw/source/core/doc/{docedt.cxx,docfmt.cxx}, sw/source/filter/html/swhtml.cxx: + clean up SwHintsArray and its subclasses: remove/fix casts, prefix members 2009-04-20 18:42:07 +0200 mst r271007 : - sw/source/core/text/txtio.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/undo/rolbck.cxx: + remove JP_NEWCORE dead code 2009-04-20 18:38:09 +0200 mst r271006 : - sw/source/core/unocore/unochart.cxx: + silence unxlngi warning (debug=t) 2009-04-20 16:36:13 +0200 mst r270991 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx, sw/source/ui/fldui/flddinf.hxx: + trivial cleanups 2009-04-20 15:28:52 +0200 mst r270990 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx: + fix bug: replaying a macro with a DocumentInfoItem removes all user-defined properties 2009-03-10 15:08:20 +0100 mst r269273 : - sfx2/source/doc/Metadatable.cxx: + add missing SolarMutex guards 2009-03-10 14:46:29 +0100 mst r269272 : - unoxml/source/rdf/librdf_repository.cxx: + never free rdf_world because that would call libxm2 xmlCleanupParser (and, to add insult to injury, other libxml2 functions later...) 2009-03-06 19:02:44 +0100 mst r269041 : argh! undo... 2009-03-06 19:00:58 +0100 mst r269040 : fix #i99931# - sw/source/ui/uno/unomod.cxx: + SwXViewSettings::_getSingleValue returns uninitialized memory for the ZoomType property if the value is PAGE_WIDTH_EXACT 2009-03-06 18:59:28 +0100 mst r269039 : - sw/inc/ndtxt.hxx, sw/source/core/txtnode/ndtxt.cxx, sw/source/core/unocore/unoportenum.cxx: + fix some more wntmsci12 warnings... 2009-03-06 18:56:46 +0100 mst r269038 : - sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx: + work around spurious warning on unxsoli4 debug=t 2009-03-05 14:02:01 +0100 mst r268902 : - sw/inc/txatbase.hxx: + back to c-style casts, they also compile on wntmsci12... 2009-03-05 10:23:25 +0100 mst r268882 : - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + revert change of return type of comphelper_getProcessComponentContext to Reference: does not build on wntmsci12 2009-03-04 19:08:09 +0100 mst r268861 : - sw/source/core/txtnode/{atrtox.cxx,ndtxt.cxx}: + fix initialization 2009-03-04 14:37:30 +0100 mst r268831 : - solenv/inc/target.mk: + fix CLASSPATH so complex tests run (fix by sb) 2009-03-04 14:36:30 +0100 mst r268830 : - sw/inc/unoobj.hxx, sw/source/core/unocore/{unoparagraph.cxx,unoobj.cxx,unoobj2.cxx}: + SwXParaFrameEnumeration constructor now takes SwPaM, not SwUnoCrsr + move SwParaSelection into unoparagraph.cxx, as it is only used there + bugfix: replace SwUnoCrsrs on stack with SwCursors 2009-03-04 14:34:46 +0100 mst r268829 : - sw/inc/pam.hxx, sw/source/core/crsr/pam.cxx, sw/source/core/edit/eddel.cxx, sw/source/core/doc/docredln.cxx, sw/source/core/undo/{untbl.cxx,undel.cxx}, sw/source/filter/rtf/swparrtf.cxx: + clean up SwPaM: prefix members + new constructor SwPosition(SwCntntNode&, xub_StrLen) + fix several broken SwPosition and SwPaM constructors + SwPam::DeleteMark now actually resets the unused position to default 2009-03-02 12:07:09 +0100 mst r268646 : - sw/inc/fmtcol.hxx: + fix annoying warning (gcc 4) 2009-03-02 12:06:27 +0100 mst r268645 : - odk/util/check.pl, odk/examples/DevelopersGuide/Text/TextDocuments.java: + rename module from FieldMaster to fieldmaster 2009-02-27 19:49:56 +0100 mst r268614 : - sfx2/inc/sfx2/Metadatable.hxx, sfx2/prj/d.lst, sfx2/source/doc/{Metadatable.cxx,makefile.mk}, sw/inc/{SwMetadatable.hxx,unoobj.hxx,undobj.hxx,ndtxt.hxx}, sw/source/core/doc/{SwMetadatable.cxx,makefile.mk,docnew.cxx}, sw/source/core/undo/{untbl.cxx,unins.cxx}, sw/source/core/unocore/unoparagraph.cxx, sw/source/ui/app/docsh.cxx: + move Metadatable implementation from sw to sfx2 2009-02-27 17:58:55 +0100 mst r268608 : - sw/inc/{SwMetadatable.hxx,undobj.hxx}, sw/source/core/doc/SwMetadatable.cxx, sw/source/core/undo/{untbl.cxx,unins.cxx,undel.cxx}: + CreateUndo now returns an opaque MetadatableUndo object 2009-02-27 13:15:44 +0100 mst r268587 : - sw/inc/ndtxt.hxx, sw/source/core/doc/docfmt.cxx, sw/source/core/text/{itratr.cxx,porlay.cxx}, sw/source/core/txtnode/{txtedt.cxx,ndtxt.cxx,thints.cxx}: + clean up SwTxtNode: fix casts, prefix members + factor out inline function SwTxtNode::TryDeleteSwpHints() 2009-02-27 13:14:30 +0100 mst r268586 : - svx/inc/svx/emphitem.hxx: + fix borken header guard 2009-02-27 13:13:56 +0100 mst r268585 : - sfx2/source/bastyp/progress.cxx: + fix use of compiler specific macro 2009-02-27 11:00:32 +0100 mst r268564 : - sw/inc/{txatbase.hxx,txtatr.hxx,txtinet.hxx,txtfld.hxx,txtftn.hxx, txtflcnt.hxx,txttxmrk.hxx,txtrfmrk.hxx}, sw/source/core/txtnode/{atrtox.cxx,atrref.cxx,atrflyin.cxx,atrftn.cxx, txtatr2.cxx,txatbase.cxx,atrfld.cxx,txtedt.cxx}, sw/source/core/text/atrstck.cxx, sw/source/core/access/acchyperlink.cxx, sw/source/core/doc/visiturl.cxx, sw/source/ui/wrtsh/wrtsh2.cxx: + clean up SwTxtAttr and its subclasses: remove/fix casts, prefix members + SwTxtINetFmt: remove unused member bColor - sw/source/core/text/txtfld.cxx: + move SwTxtFld methods to atrfld.cxx 2009-02-27 10:58:44 +0100 mst r268563 : - sfx2/inc/sfx2/sfxbasemodel.hxx: + don't privately inherit BaseMutex, ScModelObj wants to access it 2009-02-27 10:58:02 +0100 mst r268562 : - xmloff/source/core/{RDFaExportHelper.cxx,RDFaImportHelper.cxx}: + arrrgh!!! someone thought it would be a good idea to have 2 different versions of boost in external! and they're NOT compatible!!! insert an ugly fragile hack that maybe works with both... 2009-02-26 17:42:26 +0100 mst r268544 : - comphelper/inc/comphelper/storagehelper.hxx. sfx2/source/doc/DocumentMetadataAccess.cxx: + someone made IsValidZipEntryFileName a static method and didn't tell me 2009-02-26 15:52:56 +0100 mst r268529 : redland: split up patches 2009-02-26 13:17:56 +0100 mst r268509 : migration of cws odfmetadata2 from CVS (resync to m42): module sw #i95863# - sw/inc/segdefs{,_}.hxx: + remove obsolete files - sw/source/ui/inc/itemdef.hxx: + remove itemdef.hxx - sw/source/ui/app/[apphdl.cxx,docsh.cxx}, sw/source/ui/misc/glshell.cxx, sw/source/ui/shells/*.cxx, sw/source/ui/uiview/*.cxx, sw/source/ui/web/*.cxx: + use sfx2/msg.hxx instead of itemdef.hxx - sw/source/core/edit/eddel.cxx: + @ JP: SwEditShell::Replace: you're right, deleting the text to be replaced first, and then inserting a space, and then replacing that space is unnecessary. whew, i'm so happy that we finally answered that question after 11 years. - sw/inc/edimp.hxx: + remove FOREACHCURSOR_START, FOREACHCURSOR_END - sw/inc/{swcrsr.hxx,unocrsr.hxx,viscrs.hxx}, sw/source/core/crsr/{crsrsh.cxx,swcrsr.cxx,trvlreg.cxx,trvltbl.cxx, unocrsr.cxx,viscrs.cxx}, sw/source/core/doc/{docbm.cxx,doccorr.cxx}, sw/source/core/docnode/{ndtbl.cxx,ndtbl1.cxx}, sw/source/core/edit/editsh.cxx, sw/source/core/frmedt/{fefly1.cxx,fetab.cxx,tblsel.cxx}, sw/source/core/layout/trvlfrm.cxx, sw/source/core/unocore/{unochart.cxx,unoobj2.cxx,unoparagraph.cxx, unoportenum.cxx,unotbl.cxx}, sw/source/core/view/vprint.cxx: + remove the hideous virtual operator SwFooCursor* + make SwCursor::IsReadOnlyAvailable() virtual + make SwUnoCrsr::Clone() virtual + refactor SwCursor methods IsSelOver(), LeftRight(), UpDown(), GotoTable(): replace dynamic_cast<...>(this) with new virtual methods 2009-02-26 13:14:58 +0100 mst r268508 : migration of cws odfmetadata2 from CVS (resync to m42): module sw - sw/source/filter/xml/swxml.cxx: + XMLReader::Read: load RDF metadata of the ODF document - sw/source/filter/xml/wrtxml.cxx: + SwXMLWriter::_Write: write RDF metadata of the ODF document if ODF >= 1.2 #i90620#: import xml:id in text tables (does not actually work yet) - sw/source/filter/xml/xmltbli{.hxx,.cxx}: + SwXMLTableCellAttrTokens,aTableCellAttrTokenMap: add XML_TOK_TABLE_XMLID + SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl: attribute xml:id + SwXMLTableCellContext_Impl::CreateChildContext: attribute xml:id + SwXMLTableColContext_Impl::SwXMLTableColContext_Impl: attribute xml:id + SwXMLTableContext::SwXMLTableContext: attribute xml:id fix #i98530# - sw/inc/unoport.hxx, sw/source/core/unocore/unoport.cxx: + SwXTextPortion: make constructor params const& - sw/source/core/unocore/unoportenum.cxx: + refactor to remove some code duplication + fix bug: paragraph w/out hints: bookmark before frame gets lost #i97274# handle invalid tables - sw/source/core/layout/tabfrm.cxx, sw/source/filter/xml/xmltbli.cxx: + SwXMLTableContext::MakeTable(): check that the table actually contains cells, and abort (removing the inserted table nodes) if not 2009-02-26 13:11:48 +0100 mst r268507 : migration of cws odfmetadata2 from CVS (resync to m42): module sw refactor SwXTextRange and SwXParagraph - sw/inc/unoobj.hxx, sw/source/core/unocore/unoobj2.cxx: + remove 3 constructors of SwXTextRange + new method SwXTextRange::CreateParentXText + refactor SwXTextRange::CreateTextRangeFromPosition and SwXTextRange::getText - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph no longer uses a cursor; it registers directly at SwTxtNode + replace SwXParagraph::GetCrsr with SwXParagraph::GetTxtNode - sw/source/core/unocore/unotext.cxx, sw/source/ui/uno/unotxvw.cxx: + adapt to new SwXParagraph #i90620# - sw/inc/SwMetadatable.hxx, sw/source/core/doc/SwMetadatable.cxx: + new files: base classes sw::Metadatable and sw::MetadatableMixin; also, 2 implementations of IXmlIdRegistry: sw::XmlIdRegistryDocument and sw::XmlIdRegistryClipboard + setMetadataReference: handle empty stream name as auto-detect - sw/source/core/doc/makefile.mk: + add SwMetadatable add a XmlIdRegistry to SwDoc - sw/inc/doc.hxx: + SwDoc: add member m_pXmlIdRegistry, method GetXmlIdRegistry() - sw/source/core/doc/docnew.cxx: + initialize XmlIdRegistry in SwDoc::GetXmlIdRegistry, not in constructor, because the constructor is not told whether the SwDoc is a clipboard - sw/inc/docsh.hxx, sw/source/ui/app/docsh.cxx: + SwDocShell: override GetXmlIdRegistry() #i91563#: make the SwTxtNode metadatable - sw/inc/ndtxt.hxx + SwTxtNode inherits sw::Metadatable - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph inherits sw::MetadatableMixin #i91563#: handle SwTxtNode's metadata for delete - sw/source/core/txtnode/ndtxt.cxx: + SwTxtNode::SplitCntntNode: handle XmlId + SwTxtNode::JoinNext: merge XmlIds - sw/source/core/doc/docedt.cxx: + lcl_GetJoinFlags: document postcondition + SwDoc::Delete: remove XmlId only if SwTxtNode _becomes_ empty #i91563#: handle SwTxtNode's metadata for delete with undo - sw/inc/undobj.hxx + SwUndoDelete: new members m_pMetadataUndoStart, m_pMetadataUndoEnd - sw/source/core/undo/undel.cxx: + SwUndoDelete::SaveCntnt: save XmlIds for start and end SwTxtNode + SwUndoDelete::SaveCntnt: remove XmlId only if SwTxtNode _becomes_ empty + SwUndoDelete::Undo: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndcopy.cxx: + SwTxtNode::MakeCopy: register copy at XmlIdRegistry #i91563#: handle SwTxtNode's metadata for find/replace with undo - sw/source/core/undo/unins.cxx: + _UnReplaceData: rename members: add prefix m_ + _UnReplaceData: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + _UnReplaceData::_UnReplaceData: save XmlIds for start and end SwTxtNode + _UnReplaceData::Undo: restore saved XmlIds for start and end SwTxtNode #i91563#: handle SwTxtNode's metadata for table-to-text with undo - sw/source/core/undo/untbl.cxx: + SwTblToTxtSave: rename members: add prefix m_ + SwTblToTxtSave: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + SwTblToTxtSave::SwTblToTxtSave: save XmlIds for start and end SwTxtNode + SwTblToTxtSave::SwTblToTxtSave, SwNodes::UndoTableToText: always store the index of the first SwTxtNode in the cell, instead of the index of the first SwTxtNode in case of the first cell in a row, and the cell start node in other cases + SwNodes::UndoTableToText: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndtbl.cxx: + lcl_DelBox: simplify for refactored start index handling in SwTblToTxtSave 2009-02-26 13:02:28 +0100 mst r268505 : migration of cws odfmetadata2 from CVS (resync to m42): module sd - sd/source/ui/table/tableobjectbar.cxx,sd/source/ui/view/*.cxx: + remove invocations of SFX_DECL_TYPE - sd/source/ui/slideshow/SlideShowRestarter.cxx, sd/source/ui/toolpanel/LayoutMenu.cxx, sd/source/ui/unoidl/DrawController.cxx, sd/source/ui/view/{ViewShellBase.cxx,ViewTabBar.cxx,frmview.cxx}: + fix abuses of comphelper_getProcessComponentContext (missing release) 2009-02-26 13:01:24 +0100 mst r268504 : migration of cws odfmetadata2 from CVS (resync to m42): module starmath - starmath/source/document.cxx: + don't touch SfxObjectShell's privates 2009-02-26 13:00:37 +0100 mst r268503 : migration of cws odfmetadata2 from CVS (resync to m42): module sfx2 #i90620# - sfx2/inc/sfx2/XmlIdRegistry.hxx: + new file: interfaces sfx2::IXmlIdRegistry and sfx2::IXmlIdRegistrySupplier and a couple of utility functions - sfx2/inc/sfx2/DocumentMetadataAccess.hxx, sfx2/source/doc/DocumentMetadataAccess.cxx: + new class sfx2::DocumentMetadataAccess, implements XDocumentMetadataAccess + the URI of the DocumentMetadataAccess is now the URI from which the document was loaded; for a new document, use a vnd.sun.star.tdoc URI + add new function sfx2::createBaseURI() + prevent using reserved file names + try not to recurse into embedded subdocuments - sfx2/source/doc/makefile.mk: + add DocumentMetadataAccess - sfx2/util/makefile.mk: + link libsfx2 against libxml2 (needed for xmlValidateNCName) - sfx2/source/doc/makefile.mk: + add LIBXML_CFLAGS to CFLAGS - sfx2/prj/build.lst: + add dependence on libxml2 - sfx2/prj/d.lst: + add XmlIdRegistry.hxx, DocumentMetadataAccess.hxx - sfx2/inc/sfx2/objsh.hxx, sfx2/source/doc/objxtor.cxx: + make SfxObjectShell's members private + new method SfxObjectShell::GetAutoStyleFilterIndex + SfxObjectShell inherits sfx2::IXmlIdRegistrySupplier - sfx2/source/dialog/templdlg.cxx, sfx2/source/doc/sfxbasemodel.cxx: + don't touch SfxObjectShell's privates - sfx2/inc/sfx2/sfxbasemodel.hxx, sfx2/source/doc/sfxbasemodel.cxx: + SfxBaseModel inherits BaseMutex instead of IMPL_SfxBaseModel_MutexContainer + SfxBaseModel implements additional interface XDocumentMetadataAccess + IMPL_SfxBaseModel_DataContainer has new member: a sfx2::DocumentMetadataAccess + implementation of XDocumentMetadataAccess forwards to the sfx2::DocumentMetadataAccess member - sfx2/qa/complex/DocumentMetadataAccessTest.java, sfx2/qa/complex/{tests.sce,makefile.mk}, sfx2/qa/complex/testdocuments/TESTRDFA.odt: + add complex test: DocumentMetadataAccessTest + add RDFa test document #i95863# - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx: + refactor SfxDocumentItem so it no longer requires a XDocumentInfo + move struct CustomProperty to implementation file + remove class SfxDocumentUserPage + QueryValue,PutValue: remove MID_DOCINFO_FIELD* - sfx2/source/doc/objserv.cxx: + adapt to SfxDocumentItem change - sfx2/inc/sfx2/sfx.hrc, sfx2/sdi/sfxslots.sdi, sfx2/inc/sfx2/msg.hxx: + remove MID_DOCINFO_FIELD* + put all invocations of SFX_DECL_TYPE in msg.hxx, and undef SFX_DECL_TYPE - sfx2/source/doc/objxtor.cxx: + fix abuses of comphelper_getProcessComponentContext (missing release) - sfx2/source/doc/docfile.cxx: + SfxMedium::SfxMedium: don't dereference NULL, throw exception instead - sfx2/source/doc/objstor.cxx: + SfxObjectShell::DoLoad: fix bug: DocumentBaseURI is not initialized 2009-02-26 12:58:07 +0100 mst r268502 : migration of cws odfmetadata2 from CVS (resync to m42): module xmloff #i90620#: implement RDFa import (interface change) - xmloff/inc/xmloff/xmlimp.hxx. xmloff/source/core/xmlimp.cxx: + make SvXMLImport::GetAbsoluteReference() const + add SvXMLImport::GetComponentContext() + SvXMLImport::_InitCtor(): add RDFa namespace + add SvXMLImport::AddRDFa() + SvXMLImport::endDocument() inserts RDFa into document repository - xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/xmltoken.cxx: + new tokens for RDFa: XML_ABOUT, XML_DATATYPE - xmloff/inc/RDFaImportHelper.hxx, xmloff/source/core/RDFaImportHelper.cxx: + new class RDFaImportHelper + adapt the code to the bleak reality of broken C++ implementations + handle empty xhtml:about attributes properly, which are actually valid relative URIs + work around broken SvXMLImport::GetAbsoluteReference - xmloff/source/core/makefile.mk: + add RDFaImportHelper.cxx #i90620#: implement RDFa export - xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + add SvXMLExport::EnsureNamespace(), and a stack of namespace maps + add SvXMLExport::GetComponentContext() + add SvXMLExport::AddAttributesRDFa() - xmloff/inc/RDFaExportHelper.hxx, xmloff/source/core/RDFaExportHelper.cxx: + new class RDFaExportHelper + don't use std::map::data_type, which is actually called std::map::mapped_type by libstdc++ - xmloff/source/core/makefile.mk: + add RDFaExportHelper.cxx #i91563# - xmloff/inc/xmloff/txtimp.hxx, xmloff/source/text/txtimp.cxx: + XMLTextPAttrTokens: add RDFa tokens - xmloff/source/text/txtparai{.hxx,.cxx}: + import RDFa for text:p - xmloff/source/text/txtparae.cxx: + export RDFa for text:p interface change: use XHTML namespace instead of RDFA - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlimp.cxx,xmlexp.cxx,RDFaExportHelper.cxx}, xmloff/source/text/txtimp.cxx: + use XHTML namespace instead of RDFA #i91565#, #i91566#: (preliminary) import for text:meta, text:meta-field - xmloff/source/text/txtparai.cxx: + new class XMLMetaImportContextBase with subclasses to import text:meta and text:meta-field - xmloff/source/text/XMLTextMarkImportContext.cxx: + change XMLTextMarkImportContext::CreateAndInsertMark to handle marks with no name (text:meta) #i91565#, #i91566#: (preliminary) export for text:meta, text:meta-field - xmloff/inc/txtflde.hxx, xmloff/source/text/txtflde.cxx: + add FIELD_ID_META to FieldIdEnum + new method XMLTextFieldExport::ExportMetaField() + change XMLTextFieldExport::ExportField{,AutoStyle,Helper} to take additional parameter for progress bar - xmloff/inc/xmloff/txtparae.hxx, xmloff/source/text/txtparae.cxx: + make XMLTextParagraphExport::exportTextRangeEnumeration() public + new method XMLTextParagraphExport::exportMeta() #i90620# - xmloff/inc/xmloff/xmlimp.hxx, xmloff/source/core/xmlimp.cxx, xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + rename SvXML{Im,Ex}port::GetStreamPath() to GetStreamName() + fix xml:id {im,ex}port for embedded documents and non-packages + adapt to API change: XMetadatable #i90620# GRDDL - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlexp.cxx}: + add GRDDL namespace + add token XML_TRANSFORMATION + add grddl:transformation attribute to root elements for meta.xml, content.xml and styles.xml 2009-02-26 12:54:40 +0100 mst r268501 : migration of cws odfmetadata2 from CVS (resync to m42): module unoxml #i90620# - unoxml/source/rdf/librdf_repository.cxx: + librdf_Repository::importGraph: allocate buffer sized length of stream + switch from one librdf_world per repository to a single static world because redland has global variables with a brain-damaged life-cycle... + exportGraph: use new raptor 1.4.18 feature to disable writing an xml:base attribute in RDF/XML files - unoxml/source/rdf/librdf_repository.cxx: unoxml/qa/complex/RDFRepositoryTest.java: + adapt to predicate is URI change + adapt to RDFa API change + adapt to API change: RDFa has multiple predicates... + adapt to API change: XMetadatable derives from XURI + allow xhtml:datatype without xhtml:content + adapt to API change: attribute MetadataReference is StringPair - unoxml/source/rdf/CURI.cxx: + add some more URI constants 2009-02-26 12:53:32 +0100 mst r268500 : migration of cws odfmetadata2 from CVS (resync to m42): module package - package/inc/ImplValidCharacters.hxx: + remove (moved to comphelper) 2009-02-26 12:52:49 +0100 mst r268499 : migration of cws odfmetadata2 from CVS (resync to m42): module comphelper - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + add getProcessComponentContext() + change return type of comphelper_getProcessComponentContext to Reference - comphelper/inc/comphelper/stl_types.hxx: + add OUStringBufferAppender + add algorithm intersperse - comphelper/source/misc/string.cxx: + rewrite convertCommaSeparated with intersperse and OUStringBufferAppender - comphelper/inc/comphelper/stlunosequence.hxx: + fix bug: begin() on empty sequence != end() 2009-02-26 12:50:47 +0100 mst r268498 : migration of cws odfmetadata2 from CVS (resync to m42): module offapi #i96209# - offapi/com/sun/star/text/fieldmaster/*.idl: + rename module from FieldMaster to fieldmaster - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb #i90620# - offapi/com/sun/star/rdf/{XMetadatable.idl,XDocumentMetadataAccess.idl}: + API change: XMetadatable derives from XURI + API change: replace XmlId (string) with MetadataReference (StringPair) - offapi/com/sun/star/rdf/{Statement.idl,XDocumentRepository.idl, XNamedGraph.idl,XRepository.idl}: + the predicate of a statement is a URI, not a Resource - offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl: + rename: s/Package/Document/ + remove uuid + remove everything related to mapping + graph names are now generated from base URI and file names + load methods: improve error handling with XInteractionHandler - offapi/com/sun/star/rdf/XDocumentRepository.idl: + change: RDFa permits using multiple predicates in one attribute + setStatementRDFa: subject is now XResource, object is now XMetadatable - offapi/com/sun/star/rdf/URIs.idl: + add some more URI constants - offapi/com/sun/star/rdf: + fix @since tags and replace <method> with <member> 2009-02-26 12:47:24 +0100 mst r268497 : migration of cws odfmetadata2 from CVS (resync to m42): module redland fix #i93768# - redland/raptor-1.4.17.patch, redland/raptor/makefile.mk: + disable GRDDL parser to prevent call to libxslt xsltSetDefaultSecurityPrefs, which breaks xmlhelp - redland/raptor/makefile.mk, redland/raptor-1.4.17.patch, redland/raptor-1.4.18.patch: + upgrade raptor to 1.4.18 + deactivate serializer for RSS/Atom (does not build) - redland/rasqal/makefile.mk, redland/rasqal-0.9.15.patch, redland/rasqal-0.9.16.patch, + upgrade rasqal to 0.9.16 - redland/redland/makefile.mk, redland/redland-1.0.7.patch, redland/redland-1.0.8.patch: + upgrade redland to 1.0.8 - redland/redlandversion.mk: + the librasqal SONAME has changed
2009-07-02 09:05:03 +00:00
xContext,
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
FrameworkHelper::msHandoutViewURL,
FrameworkHelper::msCenterPaneURL);
break;
case SID_NOTESMODE:
xResourceId = ResourceId::createWithAnchorURL(
CWS-TOOLING: integrate CWS odfmetadata2 2009-06-22 11:48:36 +0200 mst r273206 : - connectivity/source/drivers/mozab/mozillasrc/MNSInclude.hxx: + add "include ustrbuf.hxx" to work around warning caused by solaris <sys/kstat.h> declaring a global "long l ;" 2009-06-19 14:25:25 +0200 mst r273159 : - scp2/source/ooo/file_library_ooo.scp: + fix MinGW build 2009-06-08 12:52:33 +0200 mst r272727 : - redland/raptor-1.4.18.patch.mingw, redland/raptor/makefile.mk: + disable parsers that do not build on MinGW (thanks for patch by tono) 2009-05-15 17:31:07 +0200 mst r271957 : fix typos 2009-05-15 17:28:57 +0200 mst r271956 : #i101965# - offapi/com/sun/star/text/TextPortion: + add missing properties: SoftPageBreak, DocumentIndexMark, ReferenceMark, Footnote, TextField + fix read-only status of properties: Bookmark, IsStart, IsCollapsed - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb 2009-05-07 14:41:38 +0200 mst r271669 : - sw/inc/{fmtftn.hxx,unocoll.hxx,doc.hxx,editsh.hxx,ftninfo.hxx}, sw/source/core/layout/{flowfrm.cxx,ftnfrm.cxx}, sw/source/core/doc/docftn.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/txtnode/atrftn.cxx, sw/source/core/unocore/unocoll.cxx, sw/source/ui/fldui/fldref.cxx: + fix warning ... the hard way + also fix signature of SwDoc::SetCurFtn 2009-05-05 19:52:55 +0200 mst r271556 : - sw/inc/undobj.hxx: + make some members const 2009-05-05 19:34:40 +0200 mst r271555 : - sw/inc/rolbck.hxx, sw/source/core/undo/rolbck.cxx: + make some members const 2009-05-05 19:13:14 +0200 mst r271553 : - sw/inc/{undobj.hxx,rolbck.hxx}, sw/source/core/undo/{unbkmk.cxx,rolbck.cxx}: + fix rebase merge error + rename SwHstryBookmark to SwHistoryBookmark + clean up SwUndoBookmark 2009-05-05 19:05:53 +0200 mst r271552 : - sw/source/core/unocore/unoportenum.cxx: + fix annoying assertion 2009-05-05 15:34:48 +0200 mst r271522 : CWS-TOOLING: rebase CWS odfmetadata2 to trunk@271427 (milestone: DEV300:m47) 2009-05-04 12:37:01 +0200 mst r271444 : trivial 2009-04-22 13:30:37 +0200 mst r271102 : - sfx2/inc/sfx2/dinfdlg.hxx: + trivial change 2009-04-21 16:46:58 +0200 mst r271043 : - sw/inc/hintids.hxx: + introduce some predicates for the various hints, and use them 2009-04-21 16:19:03 +0200 mst r271041 : - sw/inc/undobj.hxx, sw/source/core/doc/{docfly.cxx,docfmt.cxx,docftn.cxx,doctxm.cxx}, sw/source/core/undo/{unattr.cxx,unins.cxx}: + clean up unattr.cxx: remove/fix casts, prefix members, use auto_ptr, etc. 2009-04-21 15:34:23 +0200 mst r271039 : - sw/inc/{rolbck.hxx,undobj.hxx}, sw/source/core/doc/docfmt.cxx, sw/source/core/txtnode/{thints.cxx,txtedt.cxx}, sw/source/core/undo/{rolbck.cxx,undel.cxx,undobj.cxx,unins.cxx,unmove.cxx, unovwr.cxx,unsect.cxx,unspnd.cxx,untbl.cxx,untblk.cxx,unattr.cxx}: + clean up SwHistory, SwRegHistory and SwHistoryHint etc.: remove/fix casts, prefix members, remove wrong const annotations, use auto_ptr, remove unused members, etc. 2009-04-20 19:17:36 +0200 mst r271013 : - sw/inc/ndhints.hxx, sw/source/core/text/{itrtxt.cxx,txtftn.cxx,itratr.cxx,porfly.cxx, txtfrm.cxx,txtdrop.cxx,frmform.cxx}, sw/source/core/txtnode/{ndtxt.cxx,ndhints.cxx,thints.cxx,txtedt.cxx}, sw/source/core/edit/acorrect.cxx, sw/source/core/doc/{docedt.cxx,docfmt.cxx}, sw/source/filter/html/swhtml.cxx: + clean up SwHintsArray and its subclasses: remove/fix casts, prefix members 2009-04-20 18:42:07 +0200 mst r271007 : - sw/source/core/text/txtio.cxx, sw/source/core/edit/edattr.cxx, sw/source/core/undo/rolbck.cxx: + remove JP_NEWCORE dead code 2009-04-20 18:38:09 +0200 mst r271006 : - sw/source/core/unocore/unochart.cxx: + silence unxlngi warning (debug=t) 2009-04-20 16:36:13 +0200 mst r270991 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx, sw/source/ui/fldui/flddinf.hxx: + trivial cleanups 2009-04-20 15:28:52 +0200 mst r270990 : - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx, sfx2/source/doc/objserv.cxx: + fix bug: replaying a macro with a DocumentInfoItem removes all user-defined properties 2009-03-10 15:08:20 +0100 mst r269273 : - sfx2/source/doc/Metadatable.cxx: + add missing SolarMutex guards 2009-03-10 14:46:29 +0100 mst r269272 : - unoxml/source/rdf/librdf_repository.cxx: + never free rdf_world because that would call libxm2 xmlCleanupParser (and, to add insult to injury, other libxml2 functions later...) 2009-03-06 19:02:44 +0100 mst r269041 : argh! undo... 2009-03-06 19:00:58 +0100 mst r269040 : fix #i99931# - sw/source/ui/uno/unomod.cxx: + SwXViewSettings::_getSingleValue returns uninitialized memory for the ZoomType property if the value is PAGE_WIDTH_EXACT 2009-03-06 18:59:28 +0100 mst r269039 : - sw/inc/ndtxt.hxx, sw/source/core/txtnode/ndtxt.cxx, sw/source/core/unocore/unoportenum.cxx: + fix some more wntmsci12 warnings... 2009-03-06 18:56:46 +0100 mst r269038 : - sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx: + work around spurious warning on unxsoli4 debug=t 2009-03-05 14:02:01 +0100 mst r268902 : - sw/inc/txatbase.hxx: + back to c-style casts, they also compile on wntmsci12... 2009-03-05 10:23:25 +0100 mst r268882 : - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + revert change of return type of comphelper_getProcessComponentContext to Reference: does not build on wntmsci12 2009-03-04 19:08:09 +0100 mst r268861 : - sw/source/core/txtnode/{atrtox.cxx,ndtxt.cxx}: + fix initialization 2009-03-04 14:37:30 +0100 mst r268831 : - solenv/inc/target.mk: + fix CLASSPATH so complex tests run (fix by sb) 2009-03-04 14:36:30 +0100 mst r268830 : - sw/inc/unoobj.hxx, sw/source/core/unocore/{unoparagraph.cxx,unoobj.cxx,unoobj2.cxx}: + SwXParaFrameEnumeration constructor now takes SwPaM, not SwUnoCrsr + move SwParaSelection into unoparagraph.cxx, as it is only used there + bugfix: replace SwUnoCrsrs on stack with SwCursors 2009-03-04 14:34:46 +0100 mst r268829 : - sw/inc/pam.hxx, sw/source/core/crsr/pam.cxx, sw/source/core/edit/eddel.cxx, sw/source/core/doc/docredln.cxx, sw/source/core/undo/{untbl.cxx,undel.cxx}, sw/source/filter/rtf/swparrtf.cxx: + clean up SwPaM: prefix members + new constructor SwPosition(SwCntntNode&, xub_StrLen) + fix several broken SwPosition and SwPaM constructors + SwPam::DeleteMark now actually resets the unused position to default 2009-03-02 12:07:09 +0100 mst r268646 : - sw/inc/fmtcol.hxx: + fix annoying warning (gcc 4) 2009-03-02 12:06:27 +0100 mst r268645 : - odk/util/check.pl, odk/examples/DevelopersGuide/Text/TextDocuments.java: + rename module from FieldMaster to fieldmaster 2009-02-27 19:49:56 +0100 mst r268614 : - sfx2/inc/sfx2/Metadatable.hxx, sfx2/prj/d.lst, sfx2/source/doc/{Metadatable.cxx,makefile.mk}, sw/inc/{SwMetadatable.hxx,unoobj.hxx,undobj.hxx,ndtxt.hxx}, sw/source/core/doc/{SwMetadatable.cxx,makefile.mk,docnew.cxx}, sw/source/core/undo/{untbl.cxx,unins.cxx}, sw/source/core/unocore/unoparagraph.cxx, sw/source/ui/app/docsh.cxx: + move Metadatable implementation from sw to sfx2 2009-02-27 17:58:55 +0100 mst r268608 : - sw/inc/{SwMetadatable.hxx,undobj.hxx}, sw/source/core/doc/SwMetadatable.cxx, sw/source/core/undo/{untbl.cxx,unins.cxx,undel.cxx}: + CreateUndo now returns an opaque MetadatableUndo object 2009-02-27 13:15:44 +0100 mst r268587 : - sw/inc/ndtxt.hxx, sw/source/core/doc/docfmt.cxx, sw/source/core/text/{itratr.cxx,porlay.cxx}, sw/source/core/txtnode/{txtedt.cxx,ndtxt.cxx,thints.cxx}: + clean up SwTxtNode: fix casts, prefix members + factor out inline function SwTxtNode::TryDeleteSwpHints() 2009-02-27 13:14:30 +0100 mst r268586 : - svx/inc/svx/emphitem.hxx: + fix borken header guard 2009-02-27 13:13:56 +0100 mst r268585 : - sfx2/source/bastyp/progress.cxx: + fix use of compiler specific macro 2009-02-27 11:00:32 +0100 mst r268564 : - sw/inc/{txatbase.hxx,txtatr.hxx,txtinet.hxx,txtfld.hxx,txtftn.hxx, txtflcnt.hxx,txttxmrk.hxx,txtrfmrk.hxx}, sw/source/core/txtnode/{atrtox.cxx,atrref.cxx,atrflyin.cxx,atrftn.cxx, txtatr2.cxx,txatbase.cxx,atrfld.cxx,txtedt.cxx}, sw/source/core/text/atrstck.cxx, sw/source/core/access/acchyperlink.cxx, sw/source/core/doc/visiturl.cxx, sw/source/ui/wrtsh/wrtsh2.cxx: + clean up SwTxtAttr and its subclasses: remove/fix casts, prefix members + SwTxtINetFmt: remove unused member bColor - sw/source/core/text/txtfld.cxx: + move SwTxtFld methods to atrfld.cxx 2009-02-27 10:58:44 +0100 mst r268563 : - sfx2/inc/sfx2/sfxbasemodel.hxx: + don't privately inherit BaseMutex, ScModelObj wants to access it 2009-02-27 10:58:02 +0100 mst r268562 : - xmloff/source/core/{RDFaExportHelper.cxx,RDFaImportHelper.cxx}: + arrrgh!!! someone thought it would be a good idea to have 2 different versions of boost in external! and they're NOT compatible!!! insert an ugly fragile hack that maybe works with both... 2009-02-26 17:42:26 +0100 mst r268544 : - comphelper/inc/comphelper/storagehelper.hxx. sfx2/source/doc/DocumentMetadataAccess.cxx: + someone made IsValidZipEntryFileName a static method and didn't tell me 2009-02-26 15:52:56 +0100 mst r268529 : redland: split up patches 2009-02-26 13:17:56 +0100 mst r268509 : migration of cws odfmetadata2 from CVS (resync to m42): module sw #i95863# - sw/inc/segdefs{,_}.hxx: + remove obsolete files - sw/source/ui/inc/itemdef.hxx: + remove itemdef.hxx - sw/source/ui/app/[apphdl.cxx,docsh.cxx}, sw/source/ui/misc/glshell.cxx, sw/source/ui/shells/*.cxx, sw/source/ui/uiview/*.cxx, sw/source/ui/web/*.cxx: + use sfx2/msg.hxx instead of itemdef.hxx - sw/source/core/edit/eddel.cxx: + @ JP: SwEditShell::Replace: you're right, deleting the text to be replaced first, and then inserting a space, and then replacing that space is unnecessary. whew, i'm so happy that we finally answered that question after 11 years. - sw/inc/edimp.hxx: + remove FOREACHCURSOR_START, FOREACHCURSOR_END - sw/inc/{swcrsr.hxx,unocrsr.hxx,viscrs.hxx}, sw/source/core/crsr/{crsrsh.cxx,swcrsr.cxx,trvlreg.cxx,trvltbl.cxx, unocrsr.cxx,viscrs.cxx}, sw/source/core/doc/{docbm.cxx,doccorr.cxx}, sw/source/core/docnode/{ndtbl.cxx,ndtbl1.cxx}, sw/source/core/edit/editsh.cxx, sw/source/core/frmedt/{fefly1.cxx,fetab.cxx,tblsel.cxx}, sw/source/core/layout/trvlfrm.cxx, sw/source/core/unocore/{unochart.cxx,unoobj2.cxx,unoparagraph.cxx, unoportenum.cxx,unotbl.cxx}, sw/source/core/view/vprint.cxx: + remove the hideous virtual operator SwFooCursor* + make SwCursor::IsReadOnlyAvailable() virtual + make SwUnoCrsr::Clone() virtual + refactor SwCursor methods IsSelOver(), LeftRight(), UpDown(), GotoTable(): replace dynamic_cast<...>(this) with new virtual methods 2009-02-26 13:14:58 +0100 mst r268508 : migration of cws odfmetadata2 from CVS (resync to m42): module sw - sw/source/filter/xml/swxml.cxx: + XMLReader::Read: load RDF metadata of the ODF document - sw/source/filter/xml/wrtxml.cxx: + SwXMLWriter::_Write: write RDF metadata of the ODF document if ODF >= 1.2 #i90620#: import xml:id in text tables (does not actually work yet) - sw/source/filter/xml/xmltbli{.hxx,.cxx}: + SwXMLTableCellAttrTokens,aTableCellAttrTokenMap: add XML_TOK_TABLE_XMLID + SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl: attribute xml:id + SwXMLTableCellContext_Impl::CreateChildContext: attribute xml:id + SwXMLTableColContext_Impl::SwXMLTableColContext_Impl: attribute xml:id + SwXMLTableContext::SwXMLTableContext: attribute xml:id fix #i98530# - sw/inc/unoport.hxx, sw/source/core/unocore/unoport.cxx: + SwXTextPortion: make constructor params const& - sw/source/core/unocore/unoportenum.cxx: + refactor to remove some code duplication + fix bug: paragraph w/out hints: bookmark before frame gets lost #i97274# handle invalid tables - sw/source/core/layout/tabfrm.cxx, sw/source/filter/xml/xmltbli.cxx: + SwXMLTableContext::MakeTable(): check that the table actually contains cells, and abort (removing the inserted table nodes) if not 2009-02-26 13:11:48 +0100 mst r268507 : migration of cws odfmetadata2 from CVS (resync to m42): module sw refactor SwXTextRange and SwXParagraph - sw/inc/unoobj.hxx, sw/source/core/unocore/unoobj2.cxx: + remove 3 constructors of SwXTextRange + new method SwXTextRange::CreateParentXText + refactor SwXTextRange::CreateTextRangeFromPosition and SwXTextRange::getText - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph no longer uses a cursor; it registers directly at SwTxtNode + replace SwXParagraph::GetCrsr with SwXParagraph::GetTxtNode - sw/source/core/unocore/unotext.cxx, sw/source/ui/uno/unotxvw.cxx: + adapt to new SwXParagraph #i90620# - sw/inc/SwMetadatable.hxx, sw/source/core/doc/SwMetadatable.cxx: + new files: base classes sw::Metadatable and sw::MetadatableMixin; also, 2 implementations of IXmlIdRegistry: sw::XmlIdRegistryDocument and sw::XmlIdRegistryClipboard + setMetadataReference: handle empty stream name as auto-detect - sw/source/core/doc/makefile.mk: + add SwMetadatable add a XmlIdRegistry to SwDoc - sw/inc/doc.hxx: + SwDoc: add member m_pXmlIdRegistry, method GetXmlIdRegistry() - sw/source/core/doc/docnew.cxx: + initialize XmlIdRegistry in SwDoc::GetXmlIdRegistry, not in constructor, because the constructor is not told whether the SwDoc is a clipboard - sw/inc/docsh.hxx, sw/source/ui/app/docsh.cxx: + SwDocShell: override GetXmlIdRegistry() #i91563#: make the SwTxtNode metadatable - sw/inc/ndtxt.hxx + SwTxtNode inherits sw::Metadatable - sw/inc/unoobj.hxx, sw/source/core/unocore/unoparagraph.cxx: + SwXParagraph inherits sw::MetadatableMixin #i91563#: handle SwTxtNode's metadata for delete - sw/source/core/txtnode/ndtxt.cxx: + SwTxtNode::SplitCntntNode: handle XmlId + SwTxtNode::JoinNext: merge XmlIds - sw/source/core/doc/docedt.cxx: + lcl_GetJoinFlags: document postcondition + SwDoc::Delete: remove XmlId only if SwTxtNode _becomes_ empty #i91563#: handle SwTxtNode's metadata for delete with undo - sw/inc/undobj.hxx + SwUndoDelete: new members m_pMetadataUndoStart, m_pMetadataUndoEnd - sw/source/core/undo/undel.cxx: + SwUndoDelete::SaveCntnt: save XmlIds for start and end SwTxtNode + SwUndoDelete::SaveCntnt: remove XmlId only if SwTxtNode _becomes_ empty + SwUndoDelete::Undo: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndcopy.cxx: + SwTxtNode::MakeCopy: register copy at XmlIdRegistry #i91563#: handle SwTxtNode's metadata for find/replace with undo - sw/source/core/undo/unins.cxx: + _UnReplaceData: rename members: add prefix m_ + _UnReplaceData: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + _UnReplaceData::_UnReplaceData: save XmlIds for start and end SwTxtNode + _UnReplaceData::Undo: restore saved XmlIds for start and end SwTxtNode #i91563#: handle SwTxtNode's metadata for table-to-text with undo - sw/source/core/undo/untbl.cxx: + SwTblToTxtSave: rename members: add prefix m_ + SwTblToTxtSave: new members m_pMetadataUndoStart, m_pMetadataUndoEnd + SwTblToTxtSave::SwTblToTxtSave: save XmlIds for start and end SwTxtNode + SwTblToTxtSave::SwTblToTxtSave, SwNodes::UndoTableToText: always store the index of the first SwTxtNode in the cell, instead of the index of the first SwTxtNode in case of the first cell in a row, and the cell start node in other cases + SwNodes::UndoTableToText: restore saved XmlIds for start and end SwTxtNode - sw/source/core/docnode/ndtbl.cxx: + lcl_DelBox: simplify for refactored start index handling in SwTblToTxtSave 2009-02-26 13:02:28 +0100 mst r268505 : migration of cws odfmetadata2 from CVS (resync to m42): module sd - sd/source/ui/table/tableobjectbar.cxx,sd/source/ui/view/*.cxx: + remove invocations of SFX_DECL_TYPE - sd/source/ui/slideshow/SlideShowRestarter.cxx, sd/source/ui/toolpanel/LayoutMenu.cxx, sd/source/ui/unoidl/DrawController.cxx, sd/source/ui/view/{ViewShellBase.cxx,ViewTabBar.cxx,frmview.cxx}: + fix abuses of comphelper_getProcessComponentContext (missing release) 2009-02-26 13:01:24 +0100 mst r268504 : migration of cws odfmetadata2 from CVS (resync to m42): module starmath - starmath/source/document.cxx: + don't touch SfxObjectShell's privates 2009-02-26 13:00:37 +0100 mst r268503 : migration of cws odfmetadata2 from CVS (resync to m42): module sfx2 #i90620# - sfx2/inc/sfx2/XmlIdRegistry.hxx: + new file: interfaces sfx2::IXmlIdRegistry and sfx2::IXmlIdRegistrySupplier and a couple of utility functions - sfx2/inc/sfx2/DocumentMetadataAccess.hxx, sfx2/source/doc/DocumentMetadataAccess.cxx: + new class sfx2::DocumentMetadataAccess, implements XDocumentMetadataAccess + the URI of the DocumentMetadataAccess is now the URI from which the document was loaded; for a new document, use a vnd.sun.star.tdoc URI + add new function sfx2::createBaseURI() + prevent using reserved file names + try not to recurse into embedded subdocuments - sfx2/source/doc/makefile.mk: + add DocumentMetadataAccess - sfx2/util/makefile.mk: + link libsfx2 against libxml2 (needed for xmlValidateNCName) - sfx2/source/doc/makefile.mk: + add LIBXML_CFLAGS to CFLAGS - sfx2/prj/build.lst: + add dependence on libxml2 - sfx2/prj/d.lst: + add XmlIdRegistry.hxx, DocumentMetadataAccess.hxx - sfx2/inc/sfx2/objsh.hxx, sfx2/source/doc/objxtor.cxx: + make SfxObjectShell's members private + new method SfxObjectShell::GetAutoStyleFilterIndex + SfxObjectShell inherits sfx2::IXmlIdRegistrySupplier - sfx2/source/dialog/templdlg.cxx, sfx2/source/doc/sfxbasemodel.cxx: + don't touch SfxObjectShell's privates - sfx2/inc/sfx2/sfxbasemodel.hxx, sfx2/source/doc/sfxbasemodel.cxx: + SfxBaseModel inherits BaseMutex instead of IMPL_SfxBaseModel_MutexContainer + SfxBaseModel implements additional interface XDocumentMetadataAccess + IMPL_SfxBaseModel_DataContainer has new member: a sfx2::DocumentMetadataAccess + implementation of XDocumentMetadataAccess forwards to the sfx2::DocumentMetadataAccess member - sfx2/qa/complex/DocumentMetadataAccessTest.java, sfx2/qa/complex/{tests.sce,makefile.mk}, sfx2/qa/complex/testdocuments/TESTRDFA.odt: + add complex test: DocumentMetadataAccessTest + add RDFa test document #i95863# - sfx2/inc/sfx2/dinfdlg.hxx, sfx2/source/dialog/dinfdlg.cxx: + refactor SfxDocumentItem so it no longer requires a XDocumentInfo + move struct CustomProperty to implementation file + remove class SfxDocumentUserPage + QueryValue,PutValue: remove MID_DOCINFO_FIELD* - sfx2/source/doc/objserv.cxx: + adapt to SfxDocumentItem change - sfx2/inc/sfx2/sfx.hrc, sfx2/sdi/sfxslots.sdi, sfx2/inc/sfx2/msg.hxx: + remove MID_DOCINFO_FIELD* + put all invocations of SFX_DECL_TYPE in msg.hxx, and undef SFX_DECL_TYPE - sfx2/source/doc/objxtor.cxx: + fix abuses of comphelper_getProcessComponentContext (missing release) - sfx2/source/doc/docfile.cxx: + SfxMedium::SfxMedium: don't dereference NULL, throw exception instead - sfx2/source/doc/objstor.cxx: + SfxObjectShell::DoLoad: fix bug: DocumentBaseURI is not initialized 2009-02-26 12:58:07 +0100 mst r268502 : migration of cws odfmetadata2 from CVS (resync to m42): module xmloff #i90620#: implement RDFa import (interface change) - xmloff/inc/xmloff/xmlimp.hxx. xmloff/source/core/xmlimp.cxx: + make SvXMLImport::GetAbsoluteReference() const + add SvXMLImport::GetComponentContext() + SvXMLImport::_InitCtor(): add RDFa namespace + add SvXMLImport::AddRDFa() + SvXMLImport::endDocument() inserts RDFa into document repository - xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/xmltoken.cxx: + new tokens for RDFa: XML_ABOUT, XML_DATATYPE - xmloff/inc/RDFaImportHelper.hxx, xmloff/source/core/RDFaImportHelper.cxx: + new class RDFaImportHelper + adapt the code to the bleak reality of broken C++ implementations + handle empty xhtml:about attributes properly, which are actually valid relative URIs + work around broken SvXMLImport::GetAbsoluteReference - xmloff/source/core/makefile.mk: + add RDFaImportHelper.cxx #i90620#: implement RDFa export - xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + add SvXMLExport::EnsureNamespace(), and a stack of namespace maps + add SvXMLExport::GetComponentContext() + add SvXMLExport::AddAttributesRDFa() - xmloff/inc/RDFaExportHelper.hxx, xmloff/source/core/RDFaExportHelper.cxx: + new class RDFaExportHelper + don't use std::map::data_type, which is actually called std::map::mapped_type by libstdc++ - xmloff/source/core/makefile.mk: + add RDFaExportHelper.cxx #i91563# - xmloff/inc/xmloff/txtimp.hxx, xmloff/source/text/txtimp.cxx: + XMLTextPAttrTokens: add RDFa tokens - xmloff/source/text/txtparai{.hxx,.cxx}: + import RDFa for text:p - xmloff/source/text/txtparae.cxx: + export RDFa for text:p interface change: use XHTML namespace instead of RDFA - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlimp.cxx,xmlexp.cxx,RDFaExportHelper.cxx}, xmloff/source/text/txtimp.cxx: + use XHTML namespace instead of RDFA #i91565#, #i91566#: (preliminary) import for text:meta, text:meta-field - xmloff/source/text/txtparai.cxx: + new class XMLMetaImportContextBase with subclasses to import text:meta and text:meta-field - xmloff/source/text/XMLTextMarkImportContext.cxx: + change XMLTextMarkImportContext::CreateAndInsertMark to handle marks with no name (text:meta) #i91565#, #i91566#: (preliminary) export for text:meta, text:meta-field - xmloff/inc/txtflde.hxx, xmloff/source/text/txtflde.cxx: + add FIELD_ID_META to FieldIdEnum + new method XMLTextFieldExport::ExportMetaField() + change XMLTextFieldExport::ExportField{,AutoStyle,Helper} to take additional parameter for progress bar - xmloff/inc/xmloff/txtparae.hxx, xmloff/source/text/txtparae.cxx: + make XMLTextParagraphExport::exportTextRangeEnumeration() public + new method XMLTextParagraphExport::exportMeta() #i90620# - xmloff/inc/xmloff/xmlimp.hxx, xmloff/source/core/xmlimp.cxx, xmloff/inc/xmloff/xmlexp.hxx, xmloff/source/core/xmlexp.cxx: + rename SvXML{Im,Ex}port::GetStreamPath() to GetStreamName() + fix xml:id {im,ex}port for embedded documents and non-packages + adapt to API change: XMetadatable #i90620# GRDDL - xmloff/inc/xmlnmspe.hxx, xmloff/inc/xmloff/xmltoken.hxx, xmloff/source/core/{xmltoken.cxx,xmlexp.cxx}: + add GRDDL namespace + add token XML_TRANSFORMATION + add grddl:transformation attribute to root elements for meta.xml, content.xml and styles.xml 2009-02-26 12:54:40 +0100 mst r268501 : migration of cws odfmetadata2 from CVS (resync to m42): module unoxml #i90620# - unoxml/source/rdf/librdf_repository.cxx: + librdf_Repository::importGraph: allocate buffer sized length of stream + switch from one librdf_world per repository to a single static world because redland has global variables with a brain-damaged life-cycle... + exportGraph: use new raptor 1.4.18 feature to disable writing an xml:base attribute in RDF/XML files - unoxml/source/rdf/librdf_repository.cxx: unoxml/qa/complex/RDFRepositoryTest.java: + adapt to predicate is URI change + adapt to RDFa API change + adapt to API change: RDFa has multiple predicates... + adapt to API change: XMetadatable derives from XURI + allow xhtml:datatype without xhtml:content + adapt to API change: attribute MetadataReference is StringPair - unoxml/source/rdf/CURI.cxx: + add some more URI constants 2009-02-26 12:53:32 +0100 mst r268500 : migration of cws odfmetadata2 from CVS (resync to m42): module package - package/inc/ImplValidCharacters.hxx: + remove (moved to comphelper) 2009-02-26 12:52:49 +0100 mst r268499 : migration of cws odfmetadata2 from CVS (resync to m42): module comphelper - comphelper/inc/comphelper/processfactory.hxx, comphelper/source/processfactory/processfactory.cxx: + add getProcessComponentContext() + change return type of comphelper_getProcessComponentContext to Reference - comphelper/inc/comphelper/stl_types.hxx: + add OUStringBufferAppender + add algorithm intersperse - comphelper/source/misc/string.cxx: + rewrite convertCommaSeparated with intersperse and OUStringBufferAppender - comphelper/inc/comphelper/stlunosequence.hxx: + fix bug: begin() on empty sequence != end() 2009-02-26 12:50:47 +0100 mst r268498 : migration of cws odfmetadata2 from CVS (resync to m42): module offapi #i96209# - offapi/com/sun/star/text/fieldmaster/*.idl: + rename module from FieldMaster to fieldmaster - offapi/type_reference/{typelibrary_history.txt,types.rdb}: + update reference types.rdb #i90620# - offapi/com/sun/star/rdf/{XMetadatable.idl,XDocumentMetadataAccess.idl}: + API change: XMetadatable derives from XURI + API change: replace XmlId (string) with MetadataReference (StringPair) - offapi/com/sun/star/rdf/{Statement.idl,XDocumentRepository.idl, XNamedGraph.idl,XRepository.idl}: + the predicate of a statement is a URI, not a Resource - offapi/com/sun/star/rdf/XDocumentMetadataAccess.idl: + rename: s/Package/Document/ + remove uuid + remove everything related to mapping + graph names are now generated from base URI and file names + load methods: improve error handling with XInteractionHandler - offapi/com/sun/star/rdf/XDocumentRepository.idl: + change: RDFa permits using multiple predicates in one attribute + setStatementRDFa: subject is now XResource, object is now XMetadatable - offapi/com/sun/star/rdf/URIs.idl: + add some more URI constants - offapi/com/sun/star/rdf: + fix @since tags and replace <method> with <member> 2009-02-26 12:47:24 +0100 mst r268497 : migration of cws odfmetadata2 from CVS (resync to m42): module redland fix #i93768# - redland/raptor-1.4.17.patch, redland/raptor/makefile.mk: + disable GRDDL parser to prevent call to libxslt xsltSetDefaultSecurityPrefs, which breaks xmlhelp - redland/raptor/makefile.mk, redland/raptor-1.4.17.patch, redland/raptor-1.4.18.patch: + upgrade raptor to 1.4.18 + deactivate serializer for RSS/Atom (does not build) - redland/rasqal/makefile.mk, redland/rasqal-0.9.15.patch, redland/rasqal-0.9.16.patch, + upgrade rasqal to 0.9.16 - redland/redland/makefile.mk, redland/redland-1.0.7.patch, redland/redland-1.0.8.patch: + upgrade redland to 1.0.8 - redland/redlandversion.mk: + the librasqal SONAME has changed
2009-07-02 09:05:03 +00:00
xContext,
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
FrameworkHelper::msNotesViewURL,
FrameworkHelper::msCenterPaneURL);
break;
default:
// Ignore all other items. They are not meant to be
// handled by us.
break;
}
}
catch (DeploymentException)
{
}
// Determine the state for the resource.
bState = xConfiguration->hasResource(xResourceId);
// Take the master page mode into account.
switch (nItemId)
{
case SID_NORMAL_MULTI_PANE_GUI:
case SID_NOTESMODE:
{
// Determine the master page mode.
ViewShell* pCenterViewShell = FrameworkHelper::Instance(mrBase)->GetViewShell(
FrameworkHelper::msCenterPaneURL).get();
bool bMasterPageMode (false);
if (pCenterViewShell!=NULL && pCenterViewShell->ISA(DrawViewShell))
if (PTR_CAST(DrawViewShell,pCenterViewShell)->GetEditMode()
== EM_MASTERPAGE)
{
bMasterPageMode = true;
}
bState &= !bMasterPageMode;
break;
}
case SID_HANDOUTMODE:
// There is only the master page mode for the handout
// view so ignore the master page flag.
break;
}
// And finally set the state.
rSet.Put(SfxBoolItem(nItemId, bState));
nItemId = aSetIterator.NextWhich();
}
}
catch (RuntimeException&)
{
DBG_ASSERT(false, "ViewShellBase::Implementation::GetSlotState(): caught exception");
}
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
void ViewShellBase::Implementation::ProcessTaskPaneSlot (SfxRequest& rRequest)
{
// Set the visibility state of the toolpanel and one of its top
// level panels.
BOOL bShowToolPanel = TRUE;
toolpanel::TaskPaneViewShell::PanelId nPanelId (
toolpanel::TaskPaneViewShell::PID_UNKNOWN);
bool bPanelIdGiven = false;
// Extract the given arguments.
const SfxItemSet* pArgs = rRequest.GetArgs();
if (pArgs)
{
if ((pArgs->Count() == 1) || (pArgs->Count() == 2))
{
SFX_REQUEST_ARG (rRequest, pIsPanelVisible,
SfxBoolItem, ID_VAL_ISVISIBLE, FALSE);
if (pIsPanelVisible != NULL)
bShowToolPanel = pIsPanelVisible->GetValue();
}
if (pArgs->Count() == 2)
{
SFX_REQUEST_ARG (rRequest, pPanelId, SfxUInt32Item,
ID_VAL_PANEL_INDEX, FALSE);
if (pPanelId != NULL)
{
nPanelId = static_cast<
toolpanel::TaskPaneViewShell::PanelId>(
pPanelId->GetValue());
bPanelIdGiven = true;
}
}
}
// Ignore the request for some combinations of panels and view
// shell types.
if (bPanelIdGiven
&& ! (nPanelId==toolpanel::TaskPaneViewShell::PID_LAYOUT
&& mrBase.GetMainViewShell()!=NULL
&& mrBase.GetMainViewShell()->GetShellType()==ViewShell::ST_OUTLINE))
{
framework::FrameworkHelper::Instance(mrBase)->RequestTaskPanel(
framework::FrameworkHelper::msLayoutTaskPanelURL);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
}
}
} // end of namespace sd
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
//===== CurrentPageSetter ===========================================
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
namespace {
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
CurrentPageSetter::CurrentPageSetter (ViewShellBase& rBase)
: mrBase(rBase)
{
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
void CurrentPageSetter::operator() (bool)
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
FrameView* pFrameView = NULL;
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
if (mrBase.GetMainViewShell() != NULL)
{
pFrameView = mrBase.GetMainViewShell()->GetFrameView();
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
if (pFrameView!=NULL)
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
try
{
// Get the current page either from the DrawPagesSupplier or the
// MasterPagesSupplier.
Any aPage;
if (pFrameView->GetViewShEditModeOnLoad() == EM_PAGE)
{
Reference<drawing::XDrawPagesSupplier> xPagesSupplier (
mrBase.GetController()->getModel(), UNO_QUERY_THROW);
Reference<container::XIndexAccess> xPages (
xPagesSupplier->getDrawPages(), UNO_QUERY_THROW);
aPage = xPages->getByIndex(pFrameView->GetSelectedPageOnLoad());
}
else
{
Reference<drawing::XMasterPagesSupplier> xPagesSupplier (
mrBase.GetController()->getModel(), UNO_QUERY_THROW);
Reference<container::XIndexAccess> xPages (
xPagesSupplier->getMasterPages(), UNO_QUERY_THROW);
aPage = xPages->getByIndex(pFrameView->GetSelectedPageOnLoad());
}
// Switch to the page last edited by setting the CurrentPage
// property.
Reference<beans::XPropertySet> xSet (mrBase.GetController(), UNO_QUERY_THROW);
xSet->setPropertyValue (String::CreateFromAscii("CurrentPage"), aPage);
}
catch (RuntimeException aException)
{
// We have not been able to set the current page at the main view.
// This is sad but still leaves us in a valid state. Therefore,
// this exception is silently ignored.
}
catch (beans::UnknownPropertyException aException)
{
DBG_ASSERT(false,"CurrentPage property unknown");
}
}
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
} // end of anonymouse namespace
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
//===== FocusForwardingWindow =================================================
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
namespace sd { namespace {
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
FocusForwardingWindow::FocusForwardingWindow (
::Window& rParentWindow,
ViewShellBase& rBase)
: ::Window(&rParentWindow, WinBits(WB_CLIPCHILDREN | WB_DIALOGCONTROL)),
mrBase(rBase)
{
OSL_TRACE("created FocusForwardingWindow at %x", this);
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
FocusForwardingWindow::~FocusForwardingWindow (void)
{
OSL_TRACE("destroyed FocusForwardingWindow at %x", this);
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
void FocusForwardingWindow::KeyInput (const KeyEvent& rKEvt)
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
{
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
::boost::shared_ptr<ViewShell> pViewShell = mrBase.GetMainViewShell();
if (pViewShell.get() != NULL)
{
::Window* pWindow = pViewShell->GetActiveWindow();
if (pWindow != NULL)
{
// Forward the focus so that the window is called directly the
// next time.
pWindow->GrabFocus();
// Forward the key press as well.
pWindow->KeyInput(rKEvt);
}
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
}
void FocusForwardingWindow::Command (const CommandEvent& rEvent)
{
::boost::shared_ptr<ViewShell> pViewShell = mrBase.GetMainViewShell();
if (pViewShell.get() != NULL)
{
::Window* pWindow = pViewShell->GetActiveWindow();
if (pWindow != NULL)
{
pWindow->Command(rEvent);
}
}
}
INTEGRATION: CWS impress2 (1.2.26); FILE MERGED 2004/07/13 12:04:22 af 1.2.26.35: RESYNC: (1.4-1.5); FILE MERGED 2004/07/12 08:09:06 af 1.2.26.34: #i22705# Setting up the members in the correct order. 2004/07/10 14:53:49 af 1.2.26.33: #i22705# In ResizePixel() calling SetBorderPixel with empty border when no main view shell exists. 2004/07/09 07:08:09 af 1.2.26.32: #i22705# Added ResizePixel() method that implements the common code of Outer- and InnerResizePixel(). 2004/07/04 13:50:20 af 1.2.26.31: #i22705# Improved implementation of SetBusyState(). 2004/07/02 12:27:34 af 1.2.26.30: #i22705# Handling slots (execution, state setting) for switching the view shells by forwarding them to the PaneManager. 2004/07/01 11:47:44 af 1.2.26.29: #i22705# Added new SetBusyState() method. 2004/06/30 12:00:29 af 1.2.26.28: #i22705# The mpViewTabBar member may be NULL. 2004/06/28 07:53:09 af 1.2.26.27: #i22705# Using new PaneManager::RequestMainViewShellChange() method. Forwarding of new slots SID_NORMAL_MULTI_PANE_GUI and SID_SLIDE_SORTER_MULTI_PANE_GUI to PaneManager. 2004/06/24 08:45:24 af 1.2.26.26: #i22705# In the destructor the window of the center pane is hidden so that after a reload SFX does not complain. 2004/06/22 12:13:36 af 1.2.26.25: #i22705# Fixed handling of controller. Added Activate() and Deactivate(). 2004/06/18 00:21:38 af 1.2.26.24: RESYNC: (1.3-1.4); FILE MERGED 2004/06/16 08:32:14 af 1.2.26.23: #i22705# Pane manager correctly shut down and deleted in the destructor. 2004/06/15 15:04:06 af 1.2.26.22: #i22705# OuterResizePixel() calls SetWindow(). 2004/06/14 09:13:31 af 1.2.26.21: #i22705# Replaced TabBar by TabControl. 2004/06/12 12:30:02 af 1.2.26.20: #i22705# Replaced OuterResizePixel(), InnerResizePixel(), AdjustPosSizePixel() by GetBorder() and Resize(). 2004/06/09 17:24:15 af 1.2.26.19: #i22705# PaneManager is deleted in destructor. 2004/06/09 14:59:37 af 1.2.26.18: #i22705# Guarder OuterResizePixel against missing main sub shell. 2004/06/08 12:55:56 af 1.2.26.17: #i22705# Fixed template typo. 2004/06/08 12:36:22 af 1.2.26.16: #i22705# Removed unnecessary call to PaneManager::InitPanes(). 2004/06/06 09:10:01 af 1.2.26.15: #i22705# Reordered code in constructor. 2004/06/05 14:57:42 af 1.2.26.14: #i22705# Moved the re-setting of the window from the ViewShell classes to the VieShellBase class. 2004/06/04 07:08:30 af 1.2.26.13: #i22705# Cleanup of pane management code. 2004/05/23 13:30:14 af 1.2.26.12: #i22705# Moved pane related code to new PaneManager class. 2004/05/20 11:11:53 af 1.2.26.11: #i22705# Moved handling of pane docking windows to ViewShellBase class. 2004/05/19 14:13:34 af 1.2.26.10: #i22705# Registering documents to the MasterPageObserver. 2004/04/27 12:43:35 af 1.2.26.9: #i22705# Added ArrangeGUIElements() and GetPaneOfViewShell() methods. 2004/04/23 14:25:24 af 1.2.26.8: #i22705# Moved definition of EventId from ViewShellBase to ViewShellBaseEvent. Moved CallEventListeners() to impl class. 2004/04/21 15:19:55 af 1.2.26.7: #i22705# Moved pane handling to implementation class. When switching views the reference to the old view is cleared. 2004/03/05 12:15:15 af 1.2.26.6: #i22705# Added support for events and listeners. 2004/03/03 09:44:56 af 1.2.26.5: #i22705# Clean up of pane handling. 2004/03/02 13:22:11 af 1.2.26.4: #i22705# Replaced bool argument in ViewShellBase::RequestViewShellChange() by more specific enum CallMode. 2004/03/02 12:03:22 af 1.2.26.3: #i22705# Initialising panes on SFX_EVENT_(OPEN,CREATE)DOC. 2004/03/02 10:23:53 af 1.2.26.2: #i22705# Moved printing to PrintManager. Added OuterResizePixel(). 2004/02/25 10:39:00 af 1.2.26.1: #i22705# Modified the handling of stacked shells (e.g. introduction of factories.)
2004-07-13 13:52:47 +00:00
} // end of anonymouse namespace
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
// ====================================================================
CustomHandleManager::CustomHandleManager( ViewShellBase& rViewShellBase )
: mrViewShellBase( rViewShellBase )
{
}
CustomHandleManager::~CustomHandleManager()
{
DBG_ASSERT( maSupplier.empty(), "sd::CustomHandleManager::~CustomHandleManager(), still suppliers attached!" );
}
void CustomHandleManager::registerSupplier( ICustomhandleSupplier* pSupplier )
{
maSupplier.insert( pSupplier );
}
void CustomHandleManager::unRegisterSupplier( ICustomhandleSupplier* pSupplier )
{
maSupplier.erase( pSupplier );
}
void CustomHandleManager::addCustomHandler( SdrView& rSourceView, ViewShell::ShellType eShellType, SdrHdlList& rHandlerList )
{
for( std::set< ICustomhandleSupplier* >::iterator aIter( maSupplier.begin() ); aIter != maSupplier.end(); aIter++ )
{
(*aIter)->addCustomHandler( rSourceView, eShellType, rHandlerList );
}
}
INTEGRATION: CWS components1 (1.29.96); FILE MERGED 2007/03/01 10:13:23 af 1.29.96.17: #i72465# Added the FocusForwardingWindow local class that forwards initial key presses. 2007/02/16 15:58:24 af 1.29.96.16: RESYNC: (1.34-1.35); FILE MERGED 2007/02/16 14:12:41 af 1.29.96.15: #i68075# In Activate() request the update of the tool bar manager asynchronously to avoid reentrance problems of the sfx Dispatcher. 2007/01/31 13:50:52 af 1.29.96.14: #i68075# UpdateLockManager stored as shared_ptr. Made view window and parent window transparent to avoid flickering. 2007/01/29 15:27:08 af 1.29.96.13: #68075# Resolved resync problems. 2007/01/25 15:35:25 af 1.29.96.12: RESYNC: (1.31-1.34); FILE MERGED 2007/01/22 17:15:45 af 1.29.96.11: #i68075 Introduction of XResourceId interface. 2006/11/01 13:20:07 af 1.29.96.10: #i70929# Adaption to changes in ViewShellBase. 2006/10/13 09:12:43 af 1.29.96.9: #i68075# Child windows are now registered at the pane shells. Fixed some warnings. 2006/09/29 15:58:33 af 1.29.96.8: #i68075# Fixed the ResizePixel() method for when the main view shell is missing. 2006/09/25 17:41:57 af 1.29.96.7: RESYNC: (1.29-1.31); FILE MERGED 2006/09/21 09:14:28 af 1.29.96.6: #i68075# Cleanup. 2006/09/15 09:40:43 af 1.29.96.5: #i68075# Introduced the mpViewWindow member as new parent window for UI controls. 2006/09/07 16:26:12 af 1.29.96.4: #i68075# Transition from URL to ResourceId. 2006/09/07 14:51:55 af 1.29.96.3: #i68075# Transition from URL to ResourceId. 2006/08/28 14:47:35 af 1.29.96.2: #i68075# Modified SetPaneVisibility() to take an additional parameter for the view in a new pane. 2006/08/22 12:48:55 af 1.29.96.1: #i68075# Transition to new drawing framework.
2007-04-03 15:28:12 +00:00
} // end of namespace sd