Files
libreoffice/chart2/source/controller/main/ChartController_Window.cxx

2033 lines
78 KiB
C++
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2003-10-06 08:58:36 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2003-10-06 08:58:36 +00:00
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
2003-10-06 08:58:36 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
2003-10-06 08:58:36 +00:00
*
* This file is part of OpenOffice.org.
2003-10-06 08:58:36 +00:00
*
* 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.
2003-10-06 08:58:36 +00:00
*
* 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).
2003-10-06 08:58:36 +00:00
*
* 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.
2003-10-06 08:58:36 +00:00
*
************************************************************************/
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_chart2.hxx"
2003-10-06 08:58:36 +00:00
#include "ChartController.hxx"
#include "PositionAndSizeHelper.hxx"
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
#include "ObjectIdentifier.hxx"
2003-10-06 08:58:36 +00:00
#include "ChartWindow.hxx"
#include "ResId.hxx"
#include "CommonConverters.hxx"
#include "ChartModelHelper.hxx"
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
#include "DiagramHelper.hxx"
#include "TitleHelper.hxx"
#include "UndoGuard.hxx"
#include "ControllerLockGuard.hxx"
#include "ObjectNameProvider.hxx"
#include "Strings.hrc"
#include "SchSlotIds.hxx"
#include "macros.hxx"
#include "DragMethod_PieSegment.hxx"
#include "DragMethod_RotateDiagram.hxx"
#include "ObjectHierarchy.hxx"
#include "chartview/ExplicitValueProvider.hxx"
#include "RelativePositionHelper.hxx"
#include "chartview/DrawModelWrapper.hxx"
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
#include "RegressionCurveHelper.hxx"
#include "StatisticsHelper.hxx"
#include "DataSeriesHelper.hxx"
#include "ContainerHelper.hxx"
#include "AxisHelper.hxx"
#include "LegendHelper.hxx"
#include "servicenames_charttypes.hxx"
#include "MenuResIds.hrc"
#include "DrawCommandDispatch.hxx"
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
#include <com/sun/star/chart2/RelativePosition.hpp>
#include <com/sun/star/chart2/RelativeSize.hpp>
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
#include <com/sun/star/chart2/XRegressionCurveContainer.hpp>
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
#include <com/sun/star/frame/XDispatchHelper.hpp>
#include <com/sun/star/frame/FrameSearchFlag.hpp>
#include <com/sun/star/util/XUpdatable.hpp>
#include <comphelper/InlineContainer.hxx>
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
#include <svtools/contextmenuhelper.hxx>
#include <toolkit/awt/vclxmenu.hxx>
2003-10-28 15:04:41 +00:00
2003-10-06 08:58:36 +00:00
#include <svx/svxids.hrc>
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
#include <svx/ActionDescriptionProvider.hxx>
2003-10-06 08:58:36 +00:00
// header for class E3dObject
#include <svx/obj3d.hxx>
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
// header for class E3dScene
#include <svx/scene3d.hxx>
// header for class SdrDragMethod
#include <svx/svddrgmt.hxx>
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
#include <vcl/svapp.hxx>
#include <vos/mutex.hxx>
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
// for InfoBox
#include <vcl/msgbox.hxx>
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
#include <rtl/math.hxx>
#include <svtools/acceleratorexecute.hxx>
#define DRGPIX 2 // Drag MinMove in Pixel
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
using ::com::sun::star::uno::Reference;
using ::rtl::OUString;
//.............................................................................
namespace chart
{
//.............................................................................
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
namespace
{
bool lcl_GrowAndShiftLogic(
RelativePosition & rInOutRelPos,
RelativeSize & rInOutRelSize,
const awt::Size & rRefSize,
double fGrowLogicX,
double fGrowLogicY )
{
if( rRefSize.Width == 0 ||
rRefSize.Height == 0 )
return false;
double fRelativeGrowX = fGrowLogicX / rRefSize.Width;
double fRelativeGrowY = fGrowLogicY / rRefSize.Height;
return ::chart::RelativePositionHelper::centerGrow(
rInOutRelPos, rInOutRelSize,
fRelativeGrowX, fRelativeGrowY,
/* bCheck = */ true );
}
bool lcl_MoveObjectLogic(
RelativePosition & rInOutRelPos,
RelativeSize & rObjectSize,
const awt::Size & rRefSize,
double fShiftLogicX,
double fShiftLogicY )
{
if( rRefSize.Width == 0 ||
rRefSize.Height == 0 )
return false;
double fRelativeShiftX = fShiftLogicX / rRefSize.Width;
double fRelativeShiftY = fShiftLogicY / rRefSize.Height;
return ::chart::RelativePositionHelper::moveObject(
rInOutRelPos, rObjectSize,
fRelativeShiftX, fRelativeShiftY,
/* bCheck = */ true );
}
void lcl_insertMenuCommand(
const uno::Reference< awt::XPopupMenu > & xMenu,
const uno::Reference< awt::XMenuExtended > & xMenuEx,
sal_Int16 nId, const ::rtl::OUString & rCommand )
{
static ::rtl::OUString aEmptyString;
xMenu->insertItem( nId, aEmptyString, 0, -1 );
xMenuEx->setCommand( nId, rCommand );
}
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
OUString lcl_getFormatCommandForObjectCID( const OUString& rCID )
{
OUString aDispatchCommand( C2U(".uno:FormatSelection") );
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
ObjectType eObjectType = ObjectIdentifier::getObjectType( rCID );
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
switch(eObjectType)
{
case OBJECTTYPE_DIAGRAM:
case OBJECTTYPE_DIAGRAM_WALL:
aDispatchCommand = C2U(".uno:FormatWall");
break;
case OBJECTTYPE_DIAGRAM_FLOOR:
aDispatchCommand = C2U(".uno:FormatFloor");
break;
case OBJECTTYPE_PAGE:
aDispatchCommand = C2U(".uno:FormatChartArea");
break;
case OBJECTTYPE_LEGEND:
aDispatchCommand = C2U(".uno:FormatLegend");
break;
case OBJECTTYPE_TITLE:
aDispatchCommand = C2U(".uno:FormatTitle");
break;
case OBJECTTYPE_LEGEND_ENTRY:
aDispatchCommand = C2U(".uno:FormatDataSeries");
break;
case OBJECTTYPE_AXIS:
case OBJECTTYPE_AXIS_UNITLABEL:
aDispatchCommand = C2U(".uno:FormatAxis");
break;
case OBJECTTYPE_GRID:
aDispatchCommand = C2U(".uno:FormatMajorGrid");
break;
case OBJECTTYPE_SUBGRID:
aDispatchCommand = C2U(".uno:FormatMinorGrid");
break;
case OBJECTTYPE_DATA_LABELS:
aDispatchCommand = C2U(".uno:FormatDataLabels");
break;
case OBJECTTYPE_DATA_SERIES:
aDispatchCommand = C2U(".uno:FormatDataSeries");
break;
case OBJECTTYPE_DATA_LABEL:
aDispatchCommand = C2U(".uno:FormatDataLabel");
break;
case OBJECTTYPE_DATA_POINT:
aDispatchCommand = C2U(".uno:FormatDataPoint");
break;
case OBJECTTYPE_DATA_AVERAGE_LINE:
aDispatchCommand = C2U(".uno:FormatMeanValue");
break;
case OBJECTTYPE_DATA_ERRORS:
case OBJECTTYPE_DATA_ERRORS_X:
case OBJECTTYPE_DATA_ERRORS_Y:
case OBJECTTYPE_DATA_ERRORS_Z:
aDispatchCommand = C2U(".uno:FormatYErrorBars");
break;
case OBJECTTYPE_DATA_CURVE:
aDispatchCommand = C2U(".uno:FormatTrendline");
break;
case OBJECTTYPE_DATA_CURVE_EQUATION:
aDispatchCommand = C2U(".uno:FormatTrendlineEquation");
break;
case OBJECTTYPE_DATA_STOCK_RANGE:
aDispatchCommand = C2U(".uno:FormatSelection");
break;
case OBJECTTYPE_DATA_STOCK_LOSS:
aDispatchCommand = C2U(".uno:FormatStockLoss");
break;
case OBJECTTYPE_DATA_STOCK_GAIN:
aDispatchCommand = C2U(".uno:FormatStockGain");
break;
default: //OBJECTTYPE_UNKNOWN
break;
}
return aDispatchCommand;
}
} // anonymous namespace
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
const short HITPIX=2; //hit-tolerance in pixel
2003-10-06 08:58:36 +00:00
//-----------------------------------------------------------------
// awt::XWindow
//-----------------------------------------------------------------
void SAL_CALL ChartController
::setPosSize( sal_Int32 X, sal_Int32 Y
, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags )
throw (uno::RuntimeException)
{
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
Window* pWindow = m_pChartWindow;
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if(xWindow.is() && pWindow)
{
Size aLogicSize = pWindow->PixelToLogic( Size( Width, Height ), MapMode( MAP_100TH_MM ) );
bool bIsEmbedded = true;
//todo: for standalone chart: detect wether we are standalone
if( bIsEmbedded )
{
//change map mode to fit new size
awt::Size aModelPageSize = ChartModelHelper::getPageSize( getModel() );
sal_Int32 nScaleXNumerator = aLogicSize.Width();
sal_Int32 nScaleXDenominator = aModelPageSize.Width;
sal_Int32 nScaleYNumerator = aLogicSize.Height();
sal_Int32 nScaleYDenominator = aModelPageSize.Height;
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
MapMode aNewMapMode( MAP_100TH_MM, Point(0,0)
, Fraction(nScaleXNumerator,nScaleXDenominator)
, Fraction(nScaleYNumerator,nScaleYDenominator) );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
pWindow->SetMapMode(aNewMapMode);
pWindow->SetPosSizePixel( X, Y, Width, Height, Flags );
//#i75867# poor quality of ole's alternative view with 3D scenes and zoomfactors besides 100%
uno::Reference< beans::XPropertySet > xProp( m_xChartView, uno::UNO_QUERY );
if( xProp.is() )
{
uno::Sequence< beans::PropertyValue > aZoomFactors(4);
aZoomFactors[0].Name = C2U("ScaleXNumerator");
aZoomFactors[0].Value = uno::makeAny( nScaleXNumerator );
aZoomFactors[1].Name = C2U("ScaleXDenominator");
aZoomFactors[1].Value = uno::makeAny( nScaleXDenominator );
aZoomFactors[2].Name = C2U("ScaleYNumerator");
aZoomFactors[2].Value = uno::makeAny( nScaleYNumerator );
aZoomFactors[3].Name = C2U("ScaleYDenominator");
aZoomFactors[3].Value = uno::makeAny( nScaleYDenominator );
xProp->setPropertyValue( C2U("ZoomFactors"), uno::makeAny( aZoomFactors ));
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
//a correct work area is at least necessary for correct values in the position and size dialog and for dragging area
if(m_pDrawViewWrapper)
{
Rectangle aRect(Point(0,0), pWindow->GetOutputSize());
m_pDrawViewWrapper->SetWorkArea( aRect );
}
}
else
{
//change visarea
ChartModelHelper::setPageSize( awt::Size( aLogicSize.Width(), aLogicSize.Height() ), getModel() );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
pWindow->SetPosSizePixel( X, Y, Width, Height, Flags );
}
pWindow->Invalidate();
}
2003-10-06 08:58:36 +00:00
}
awt::Rectangle SAL_CALL ChartController
::getPosSize()
throw (uno::RuntimeException)
{
//@todo
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
awt::Rectangle aRet(0,0,0,0);
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
2003-10-06 08:58:36 +00:00
if(xWindow.is())
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
aRet = xWindow->getPosSize();
return aRet;
2003-10-06 08:58:36 +00:00
}
void SAL_CALL ChartController
::setVisible( sal_Bool Visible )
throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->setVisible( Visible );
}
void SAL_CALL ChartController
::setEnable( sal_Bool Enable )
throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->setEnable( Enable );
}
void SAL_CALL ChartController
::setFocus() throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->setFocus();
}
void SAL_CALL ChartController
::addWindowListener( const uno::Reference<
awt::XWindowListener >& xListener )
throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->addWindowListener( xListener );
}
void SAL_CALL ChartController
::removeWindowListener( const uno::Reference<
awt::XWindowListener >& xListener )
throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->removeWindowListener( xListener );
}
void SAL_CALL ChartController
::addFocusListener( const uno::Reference<
awt::XFocusListener >& xListener )
throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->addFocusListener( xListener );
}
void SAL_CALL ChartController
::removeFocusListener( const uno::Reference<
awt::XFocusListener >& xListener )
throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->removeFocusListener( xListener );
}
void SAL_CALL ChartController
::addKeyListener( const uno::Reference<
awt::XKeyListener >& xListener )
throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->addKeyListener( xListener );
}
void SAL_CALL ChartController
::removeKeyListener( const uno::Reference<
awt::XKeyListener >& xListener )
throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->removeKeyListener( xListener );
}
void SAL_CALL ChartController
::addMouseListener( const uno::Reference<
awt::XMouseListener >& xListener )
throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->addMouseListener( xListener );
}
void SAL_CALL ChartController
::removeMouseListener( const uno::Reference<
awt::XMouseListener >& xListener )
throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->removeMouseListener( xListener );
}
void SAL_CALL ChartController
::addMouseMotionListener( const uno::Reference<
awt::XMouseMotionListener >& xListener )
throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->addMouseMotionListener( xListener );
}
void SAL_CALL ChartController
::removeMouseMotionListener( const uno::Reference<
awt::XMouseMotionListener >& xListener )
throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->removeMouseMotionListener( xListener );
}
void SAL_CALL ChartController
::addPaintListener( const uno::Reference<
awt::XPaintListener >& xListener )
throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->addPaintListener( xListener );
}
void SAL_CALL ChartController
::removePaintListener( const uno::Reference<
awt::XPaintListener >& xListener )
throw (uno::RuntimeException)
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->removePaintListener( xListener );
}
//-----------------------------------------------------------------
// impl vcl window controller methods
//-----------------------------------------------------------------
void ChartController::PrePaint()
{
// forward VCLs PrePaint window event to DrawingLayer
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
if(pDrawViewWrapper)
{
pDrawViewWrapper->PrePaint();
}
}
2003-10-06 08:58:36 +00:00
void ChartController::execute_Paint( const Rectangle& rRect )
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
try
2003-10-06 08:58:36 +00:00
{
uno::Reference< frame::XModel > xModel( getModel() );
//DBG_ASSERT( xModel.is(), "ChartController::execute_Paint: have no model to paint");
if( !xModel.is() )
return;
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
//better performance for big data
uno::Reference< beans::XPropertySet > xProp( m_xChartView, uno::UNO_QUERY );
if( xProp.is() )
{
awt::Size aResolution(1000,1000);
{
::vos::OGuard aGuard( Application::GetSolarMutex());
if( m_pChartWindow )
{
aResolution.Width = m_pChartWindow->GetSizePixel().Width();
aResolution.Height = m_pChartWindow->GetSizePixel().Height();
}
}
xProp->setPropertyValue( C2U("Resolution"), uno::makeAny( aResolution ));
}
//
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
uno::Reference< util::XUpdatable > xUpdatable( m_xChartView, uno::UNO_QUERY );
if( xUpdatable.is() )
xUpdatable->update();
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
Window* pWindow = m_pChartWindow;
{
::vos::OGuard aGuard( Application::GetSolarMutex());
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
if(pDrawViewWrapper)
pDrawViewWrapper->CompleteRedraw(pWindow, Region(rRect) );
}
}
catch( uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
catch( ... )
{
}
2003-10-06 08:58:36 +00:00
}
bool isDoubleClick( const MouseEvent& rMEvt )
{
return rMEvt.GetClicks() == 2 && rMEvt.IsLeft() &&
!rMEvt.IsMod1() && !rMEvt.IsMod2() && !rMEvt.IsShift();
}
2003-12-08 16:14:12 +00:00
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
void ChartController::startDoubleClickWaiting()
2003-12-08 16:14:12 +00:00
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
m_bWaitingForDoubleClick = true;
ULONG nDblClkTime = 500;
if( m_pChartWindow )
2003-12-08 16:14:12 +00:00
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
const MouseSettings& rMSettings = m_pChartWindow->GetSettings().GetMouseSettings();
nDblClkTime = rMSettings.GetDoubleClickTime();
2003-12-08 16:14:12 +00:00
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
m_aDoubleClickTimer.SetTimeout( nDblClkTime );
m_aDoubleClickTimer.Start();
2003-12-08 16:14:12 +00:00
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
void ChartController::stopDoubleClickWaiting()
2003-12-08 16:14:12 +00:00
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
m_aDoubleClickTimer.Stop();
m_bWaitingForDoubleClick = false;
2003-12-08 16:14:12 +00:00
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
IMPL_LINK( ChartController, DoubleClickWaitingHdl, void*, EMPTYARG )
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
m_bWaitingForDoubleClick = false;
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if( !m_bWaitingForMouseUp && m_aSelection.maybeSwitchSelectionAfterSingleClickWasEnsured() )
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
this->impl_selectObjectAndNotiy();
if( m_pChartWindow )
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
Window::PointerState aPointerState( m_pChartWindow->GetPointerState() );
MouseEvent aMouseEvent( aPointerState.maPos,1/*nClicks*/,
0/*nMode*/, static_cast< USHORT >( aPointerState.mnState )/*nButtons*/,
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
0/*nModifier*/ );
impl_SetMousePointer( aMouseEvent );
}
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
return 0;
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
//------------------------------------------------------------------------
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
void ChartController::execute_MouseButtonDown( const MouseEvent& rMEvt )
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
::vos::OGuard aGuard( Application::GetSolarMutex());
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
m_bWaitingForMouseUp = true;
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if( isDoubleClick(rMEvt) )
stopDoubleClickWaiting();
else
startDoubleClickWaiting();
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
m_aSelection.remindSelectionBeforeMouseDown();
2003-10-28 15:04:41 +00:00
2003-10-06 08:58:36 +00:00
Window* pWindow = m_pChartWindow;
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if(!pWindow || !pDrawViewWrapper )
2004-01-06 18:37:12 +00:00
return;
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
Point aMPos = pWindow->PixelToLogic(rMEvt.GetPosPixel());
2003-10-06 08:58:36 +00:00
if ( MOUSE_LEFT == rMEvt.GetButtons() )
{
pWindow->GrabFocus();
pWindow->CaptureMouse();
}
2003-11-22 17:23:40 +00:00
if( pDrawViewWrapper->IsTextEdit() )
2003-10-28 15:04:41 +00:00
{
SdrViewEvent aVEvt;
if ( pDrawViewWrapper->IsTextEditHit( aMPos, HITPIX ) ||
// #i12587# support for shapes in chart
( rMEvt.IsRight() && pDrawViewWrapper->PickAnything( rMEvt, SDRMOUSEBUTTONDOWN, aVEvt ) == SDRHIT_MARKEDOBJECT ) )
2003-10-28 15:04:41 +00:00
{
2003-11-22 17:23:40 +00:00
pDrawViewWrapper->MouseButtonDown(rMEvt,m_pChartWindow);
2003-10-28 15:04:41 +00:00
return;
}
else
{
this->EndTextEdit();
}
}
2003-10-06 08:58:36 +00:00
//abort running action
if( pDrawViewWrapper->IsAction() )
{
if( rMEvt.IsRight() )
pDrawViewWrapper->BckAction();
return;
}
2003-11-22 17:23:40 +00:00
if( isDoubleClick(rMEvt) ) //do not change selection if double click
return;//double click is handled further in mousebutton up
2003-12-08 16:14:12 +00:00
SdrHdl* pHitSelectionHdl = 0;
//switch from move to resize if handle is hit on a resizeable object
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if( m_aSelection.isResizeableObjectSelected() )
pHitSelectionHdl = pDrawViewWrapper->PickHandle( aMPos );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
//only change selection if no selection handles are hit
if( !pHitSelectionHdl )
2003-10-06 08:58:36 +00:00
{
// #i12587# support for shapes in chart
if ( m_eDrawMode == CHARTDRAW_INSERT &&
( !pDrawViewWrapper->IsMarkedHit( aMPos ) || !m_aSelection.isDragableObjectSelected() ) )
{
if ( m_aSelection.hasSelection() )
{
m_aSelection.clearSelection();
}
if ( !pDrawViewWrapper->IsAction() )
{
if ( pDrawViewWrapper->GetCurrentObjIdentifier() == OBJ_CAPTION )
{
Size aCaptionSize( 2268, 1134 );
pDrawViewWrapper->BegCreateCaptionObj( aMPos, aCaptionSize );
}
else
{
pDrawViewWrapper->BegCreateObj( aMPos);
}
SdrObject* pObj = pDrawViewWrapper->GetCreateObj();
DrawCommandDispatch* pDrawCommandDispatch = m_aDispatchContainer.getDrawCommandDispatch();
if ( pObj && m_pDrawModelWrapper && pDrawCommandDispatch )
{
SfxItemSet aSet( m_pDrawModelWrapper->GetItemPool() );
pDrawCommandDispatch->setAttributes( pObj );
pDrawCommandDispatch->setLineEnds( aSet );
pObj->SetMergedItemSet( aSet );
}
}
impl_SetMousePointer( rMEvt );
return;
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
m_aSelection.adaptSelectionToNewPos( aMPos, pDrawViewWrapper
, rMEvt.IsRight(), m_bWaitingForDoubleClick );
if( !m_aSelection.isRotateableObjectSelected( getModel() ) )
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
{
m_eDragMode = SDRDRAG_MOVE;
pDrawViewWrapper->SetDragMode(m_eDragMode);
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
m_aSelection.applySelection(pDrawViewWrapper);
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if( m_aSelection.isDragableObjectSelected()
&& !rMEvt.IsRight() )
2003-10-06 08:58:36 +00:00
{
2003-11-22 17:23:40 +00:00
//start drag
2003-10-06 08:58:36 +00:00
USHORT nDrgLog = (USHORT)pWindow->PixelToLogic(Size(DRGPIX,0)).Width();
SdrDragMethod* pDragMethod = NULL;
2003-12-08 16:14:12 +00:00
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
//change selection to 3D scene if rotate mode
SdrDragMode eDragMode = pDrawViewWrapper->GetDragMode();
if( SDRDRAG_ROTATE==eDragMode )
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
E3dScene* pScene = SelectionHelper::getSceneToRotate( pDrawViewWrapper->getNamedSdrObject( m_aSelection.getSelectedCID() ) );
if( pScene )
{
DragMethod_RotateDiagram::RotationDirection eRotationDirection(DragMethod_RotateDiagram::ROTATIONDIRECTION_FREE);
if(pHitSelectionHdl)
{
SdrHdlKind eKind = pHitSelectionHdl->GetKind();
if( eKind==HDL_UPPER || eKind==HDL_LOWER )
eRotationDirection = DragMethod_RotateDiagram::ROTATIONDIRECTION_X;
else if( eKind==HDL_LEFT || eKind==HDL_RIGHT )
eRotationDirection = DragMethod_RotateDiagram::ROTATIONDIRECTION_Y;
else if( eKind==HDL_UPLFT || eKind==HDL_UPRGT || eKind==HDL_LWLFT || eKind==HDL_LWRGT )
eRotationDirection = DragMethod_RotateDiagram::ROTATIONDIRECTION_Z;
}
pDragMethod = new DragMethod_RotateDiagram( *pDrawViewWrapper, m_aSelection.getSelectedCID(), getModel(), eRotationDirection );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
}
}
else
{
rtl::OUString aDragMethodServiceName( ObjectIdentifier::getDragMethodServiceName( m_aSelection.getSelectedCID() ) );
if( aDragMethodServiceName.equals( ObjectIdentifier::getPieSegmentDragMethodServiceName() ) )
pDragMethod = new DragMethod_PieSegment( *pDrawViewWrapper, m_aSelection.getSelectedCID(), getModel() );
}
2003-12-08 16:14:12 +00:00
pDrawViewWrapper->SdrView::BegDragObj(aMPos, NULL, pHitSelectionHdl, nDrgLog, pDragMethod);
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
impl_SetMousePointer( rMEvt );
2003-10-06 08:58:36 +00:00
}
void ChartController::execute_MouseMove( const MouseEvent& rMEvt )
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
::vos::OGuard aGuard( Application::GetSolarMutex());
2003-10-06 08:58:36 +00:00
Window* pWindow = m_pChartWindow;
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if(!pWindow || !pDrawViewWrapper)
2003-10-06 08:58:36 +00:00
return;
2003-10-28 15:04:41 +00:00
if( m_pDrawViewWrapper->IsTextEdit() )
{
if( m_pDrawViewWrapper->MouseMove(rMEvt,m_pChartWindow) )
return;
}
2003-10-06 08:58:36 +00:00
if(pDrawViewWrapper->IsAction())
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
{
2003-10-06 08:58:36 +00:00
pDrawViewWrapper->MovAction( pWindow->PixelToLogic( rMEvt.GetPosPixel() ) );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
}
2003-10-06 08:58:36 +00:00
//?? pDrawViewWrapper->GetPageView()->DragPoly();
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
impl_SetMousePointer( rMEvt );
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
void ChartController::execute_Tracking( const TrackingEvent& /* rTEvt */ )
2003-10-06 08:58:36 +00:00
{
}
//-----------------
2003-10-06 08:58:36 +00:00
void ChartController::execute_MouseButtonUp( const MouseEvent& rMEvt )
{
ControllerLockGuard aCLGuard( getModel() );
bool bMouseUpWithoutMouseDown = !m_bWaitingForMouseUp;
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
m_bWaitingForMouseUp = false;
bool bNotifySelectionChange = false;
2003-10-28 15:04:41 +00:00
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
::vos::OGuard aGuard( Application::GetSolarMutex());
Window* pWindow = m_pChartWindow;
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
if(!pWindow || !pDrawViewWrapper)
2003-10-28 15:04:41 +00:00
return;
2003-11-22 17:23:40 +00:00
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
Point aMPos = pWindow->PixelToLogic(rMEvt.GetPosPixel());
if(pDrawViewWrapper->IsTextEdit())
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if( pDrawViewWrapper->MouseButtonUp(rMEvt,m_pChartWindow) )
return;
}
// #i12587# support for shapes in chart
if ( m_eDrawMode == CHARTDRAW_INSERT && pDrawViewWrapper->IsCreateObj() )
{
pDrawViewWrapper->EndCreateObj( SDRCREATE_FORCEEND );
impl_switchDiagramPositioningToExcludingPositioning();
if ( pDrawViewWrapper->AreObjectsMarked() )
{
if ( pDrawViewWrapper->GetCurrentObjIdentifier() == OBJ_TEXT )
{
executeDispatch_EditText();
}
else
{
SdrObject* pObj = pDrawViewWrapper->getSelectedObject();
if ( pObj )
{
uno::Reference< drawing::XShape > xShape( pObj->getUnoShape(), uno::UNO_QUERY );
if ( xShape.is() )
{
m_aSelection.setSelection( xShape );
m_aSelection.applySelection( pDrawViewWrapper );
}
}
}
}
else
{
m_aSelection.adaptSelectionToNewPos( aMPos, pDrawViewWrapper, rMEvt.IsRight(), m_bWaitingForDoubleClick );
m_aSelection.applySelection( pDrawViewWrapper );
setDrawMode( CHARTDRAW_SELECT );
}
}
else if ( pDrawViewWrapper->IsDragObj() )
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
{
bool bDraggingDone = false;
SdrDragMethod* pDragMethod = pDrawViewWrapper->SdrView::GetDragMethod();
CWS-TOOLING: integrate CWS aw059 2008-12-16 16:15:40 +0100 aw r265557 : #i95645# avoid expensive tries to stream in graphic data when stream is at end anyways 2008-12-15 16:49:58 +0100 wg r265512 : i97278 2008-12-12 16:02:15 +0100 aw r265427 : #i95645# new formulation was wrong in two places; thanks go to THB. Thanks! 2008-12-12 15:49:06 +0100 aw r265425 : #i95645# refined formulation of AA on/off constraints for VCLCanvas 2008-12-12 14:51:26 +0100 aw r265420 : #i95645# workaround for DrawTransparent of button hilighting when remote displayed; somehow GDI+ does bad dithering in that case 2008-12-12 13:23:00 +0100 aw r265414 : removed temporary build hack; it made it's way in using the rebase; with SVN the rebase is not based on pure checkouts, but uses local changes. 2008-12-11 19:35:59 +0100 aw r265352 : #i95645# need to switch off AA for WNT and UNX, the VCLCanvas is currently not able to handle AA correctly 2008-12-11 16:05:17 +0100 thb r265327 : #i95645# Changed defaults to on; as for the while svx dialog is not changed 2008-12-10 13:40:38 +0100 aw r265180 : #i95645# changed pixel snap to basegfx::fround 2008-12-10 13:25:45 +0100 aw r265177 : corrected linux warning 2008-12-10 12:28:02 +0100 aw r265167 : #i95645# added support for pixel snap/linux resp. no AA for mac (also pixel snap) when AA is switched off to the basegfx::B2DPolyPolygon painting VCL methods; needed for e.g. selection in SC and SW 2008-12-09 18:44:39 +0100 aw r265136 : #i95645# corrected filled path construction 2008-12-09 18:12:40 +0100 aw r265133 : #i95645# added support for non-AAd transparent paints 2008-12-09 18:11:58 +0100 aw r265132 : #i95645# forced selection without AA 2008-12-09 18:11:29 +0100 aw r265131 : #i88893# smoothed/corrected SW selection rects for transparent selection, forced selection without AA 2008-12-09 15:21:39 +0100 aw r265094 : #i95645# corrected FormControl full drag 2008-12-09 15:11:26 +0100 aw r265093 : #i95645# make gdiplus usages more safe when no line or fill color is selected 2008-12-09 14:30:09 +0100 aw r265085 : #i95645# added GDIPlus support 2008-12-09 13:41:06 +0100 aw r265081 : #i95645# added simple AA using GDIPlis to VCL 2008-12-09 13:40:46 +0100 aw r265080 : #i95645# added simple AA using GDIPlis to VCL 2008-12-09 13:40:29 +0100 aw r265079 : #i95645# added simple AA using GDIPlis to VCL 2008-12-09 13:33:16 +0100 aw r265078 : #i95645# changes to requirements, discussed with FPE 2008-12-08 14:11:39 +0100 aw r264995 : #i95646# added missing extra-wireframe for SdrDragObjOwn implementations when object has no border 2008-12-08 14:11:00 +0100 aw r264994 : #i95646# corrected RenderMarkerArrayPrimitive2D OutDev usage in VclProcessor2D 2008-12-08 12:15:10 +0100 ufi r264987 : aw059 2008-12-08 12:14:40 +0100 ufi r264986 : aw059 2008-12-05 13:16:18 +0100 aw r264905 : CWS-TOOLING: rebase CWS aw059 to trunk@264807 (milestone: DEV300:m37) 2008-12-04 11:29:48 +0100 aw r264827 : #i95645# corrected warning 2008-12-03 14:43:39 +0100 aw r264783 : #i95645# simplified overlay manager and objects to stl vector; added stuff to render some more overlay to primitive renderer to get AA support for WIN32 2008-12-03 14:42:43 +0100 aw r264782 : #i95645# added test for WIN32 for AA if cairo canvas is available 2008-12-03 14:42:13 +0100 aw r264781 : #i95645# removed unused options for writer selection overlay 2008-12-03 14:41:51 +0100 aw r264780 : #i95645# removed unused options for calc overlay 2008-12-03 14:41:21 +0100 aw r264779 : #i95645# small corrections in canvas renderer 2008-12-02 18:32:31 +0100 aw r264730 : #i95646# merged cairo version from THB's CWS cairosource01 2008-12-02 15:25:45 +0100 aw r264705 : #i95645# added helpers for the MarkerArrayPrimitive2D change which support buffered creation of the most used markers 2008-12-02 12:50:01 +0100 aw r264690 : #i95645# added a non-saved method IsAAPossibleOnThisSystem to SvtOptionsDrawinglayer to quickly test if AA can be offered on the system, added buffering of that check. 2008-12-02 12:48:51 +0100 aw r264689 : #i95645# unified MarkerArrayPrimitive2D to work bitmap-orientated, adapted usages. Added buffered preparation for needed markers. Minor adaptions for AA 2008-12-02 12:47:53 +0100 aw r264688 : #i95645# unified MarkerArrayPrimitive2D to no longer work on a enum and types of markers, but to use a BitmapEx (or any other Bitmap object) which will be displayed centerd and in discrete coordinates at positions. Adapted decomposition and all usages. Corrected minor stuff with grid primitive 2008-11-28 17:11:12 +0100 thb r264565 : #i95645# Added two more lists to config; to be able to differentiate canvas capabilities 2008-11-28 17:03:27 +0100 thb r264563 : #i95645# Added two more lists to config; to be able to differentiate canvas capabilities 2008-11-28 17:00:07 +0100 thb r264562 : #i95645# Added two more lists to config; to be able to differentiate canvas capabilities 2008-11-28 16:59:51 +0100 thb r264561 : #i95645# Added two more lists to config; to be able to differentiate canvas capabilities 2008-11-27 19:13:42 +0100 aw r264519 : #i95646# optimized getLength() a little bit 2008-11-27 19:12:50 +0100 aw r264518 : #i95646# corrected AA expansion of invalidate frame; buffered discrete distance at OM 2008-11-27 18:50:05 +0100 aw r264516 : #i95646# corrected fit to frame texts for WIN32 2008-11-27 15:32:15 +0100 aw r264496 : #i95646# helplines corrected 2008-11-27 15:32:05 +0100 aw r264495 : #i95646# helplines corrected 2008-11-27 15:01:30 +0100 aw r264492 : #i95646# enable AA support for old polygons, especially to get support for MetaFile output 2008-11-27 14:33:28 +0100 aw r264489 : #i95646# AA support for wireframe overlays 2008-11-27 13:40:54 +0100 aw r264485 : #i95646# added full repaint when AA option changes 2008-11-27 13:29:19 +0100 aw r264482 : #i95646# corrected handling of bSolidDragging config entries 2008-11-27 13:29:08 +0100 aw r264481 : #i95646# corrected handling of bSolidDragging config entries 2008-11-27 11:30:12 +0100 aw r264469 : #i95646# corrected IsAAPossibleOnThisSystem implementation 2008-11-26 16:33:04 +0100 aw r264420 : #i95646# adapted OfaViewTabPage to use disable mechanism for AA and HWAccel 2008-11-26 15:49:19 +0100 aw r264406 : #i95646# added DlgEdObj::getFullDragClone() to create specialized simple SdrUnoObj clones for solid dragging 2008-11-26 15:48:11 +0100 aw r264405 : #i95646# changed derivation of ViewObjectContactOfUnoControl to get a valid isPrimitiveVisible() implementation 2008-11-26 14:11:37 +0100 aw r264385 : #i88893# added new look for selection in sw 2008-11-26 11:32:33 +0100 aw r264360 : corrected compiler warning 2008-11-25 18:46:29 +0100 aw r264328 : #i95646# snapshot with FullDrag clones 2008-11-25 18:46:07 +0100 aw r264327 : #i95646# snapshot with FullDrag clones 2008-11-25 18:45:43 +0100 aw r264326 : #i95646# snapshot with FullDrag clones 2008-11-25 18:19:04 +0100 thb r264324 : #i96585# Added missing inline specifier 2008-11-25 13:16:25 +0100 aw r264285 : #i95646# next snapshot 2008-11-25 13:15:33 +0100 aw r264284 : #i95646# next snapshot 2008-11-25 13:15:12 +0100 aw r264283 : #i95646# next snapshot 2008-11-25 13:14:51 +0100 aw r264282 : #i95646# next snapshot 2008-11-20 13:40:49 +0100 aw r264045 : #i95646# stable snapshot 2008-11-20 13:40:29 +0100 aw r264044 : #i95646# stable snapshot 2008-11-20 13:40:06 +0100 aw r264043 : #i95646# stable snapshot 2008-11-20 13:39:45 +0100 aw r264042 : #i95646# stable snapshot 2008-11-18 11:53:39 +0100 aw r263758 : #i95646# snapshot for linux test build 2008-11-18 11:52:54 +0100 aw r263757 : #i95646# snapshot for linux test build 2008-11-18 11:52:02 +0100 aw r263756 : #i95646# snapshot for linux test build 2008-11-14 18:17:49 +0100 aw r263692 : #i95646# snapshot with most stuff working 2008-11-14 18:14:26 +0100 aw r263691 : #i95646# snapshot with most stuff working 2008-11-14 18:12:50 +0100 aw r263690 : #i95646# snapshot with most stuff working 2008-11-14 18:12:16 +0100 aw r263689 : #i95646# snapshot with most stuff working 2008-11-14 18:11:41 +0100 aw r263688 : #i95646# snapshot with most stuff working 2008-11-07 18:44:22 +0100 aw r263479 : #i95968# better support PrefMapMode; special for MAP_PIXEL was missing 2008-11-05 17:39:15 +0100 aw r263356 : #i95644# #i95645# #i95646# bigger change done, saving for another experiment 2008-11-05 17:39:02 +0100 aw r263355 : #i95644# #i95645# #i95646# bigger change done, saving for another experiment 2008-11-05 12:28:32 +0100 aw r263350 : #i95644# #i95645# #i95646# in-between state before bigger change 2008-11-05 12:27:51 +0100 aw r263349 : #i95644# #i95645# #i95646# in-between state before bigger change 2008-11-05 12:26:58 +0100 aw r263348 : #i95644# #i95645# #i95646# in-between state before bigger change 2008-11-05 12:26:17 +0100 aw r263347 : #i95644# #i95645# #i95646# in-between state before bigger change 2008-11-05 12:25:55 +0100 aw r263346 : #i95644# #i95645# #i95646# in-between state before bigger change
2009-01-05 13:44:12 +00:00
bool bIsMoveOnly = pDragMethod ? pDragMethod->getMoveOnly() : false;
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
DragMethod_Base* pChartDragMethod = dynamic_cast< DragMethod_Base* >(pDragMethod);
if( pChartDragMethod )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
UndoGuard aUndoGuard( pChartDragMethod->getUndoDescription(),
m_xUndoManager, getModel() );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if( pDrawViewWrapper->EndDragObj(false) )
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
bDraggingDone = true;
aUndoGuard.commitAction();
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
}
}
if( !bDraggingDone && pDrawViewWrapper->EndDragObj(false) )
{
try
{
//end move or size
SdrObject* pObj = pDrawViewWrapper->getSelectedObject();
if( pObj )
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
Rectangle aObjectRect = pObj->GetSnapRect();
awt::Size aPageSize( ChartModelHelper::getPageSize( getModel() ) );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
Rectangle aPageRect( 0,0,aPageSize.Width,aPageSize.Height );
const E3dObject* pE3dObject = dynamic_cast< const E3dObject*>( pObj );
if( pE3dObject )
aObjectRect = pE3dObject->GetScene()->GetSnapRect();
ActionDescriptionProvider::ActionType eActionType(ActionDescriptionProvider::MOVE);
if( !bIsMoveOnly && m_aSelection.isResizeableObjectSelected() )
eActionType = ActionDescriptionProvider::RESIZE;
UndoGuard aUndoGuard(
ActionDescriptionProvider::createDescription(
eActionType,
ObjectNameProvider::getName( ObjectIdentifier::getObjectType( m_aSelection.getSelectedCID() ))),
m_xUndoManager, getModel() );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
bool bChanged = PositionAndSizeHelper::moveObject( m_aSelection.getSelectedCID()
, getModel()
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
, awt::Rectangle(aObjectRect.getX(),aObjectRect.getY(),aObjectRect.getWidth(),aObjectRect.getHeight())
, awt::Rectangle(aPageRect.getX(),aPageRect.getY(),aPageRect.getWidth(),aPageRect.getHeight()) );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if( bChanged )
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
bDraggingDone = true;
aUndoGuard.commitAction();
}
}
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
catch( uno::Exception & ex )
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
ASSERT_EXCEPTION( ex );
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
//all wanted model changes will take effect
//and all unwanted view modifications are cleaned
2003-10-06 08:58:36 +00:00
}
2003-11-22 17:23:40 +00:00
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if( !bDraggingDone ) //mouse wasn't moved while dragging
2003-12-08 16:14:12 +00:00
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
bool bClickedTwiceOnDragableObject = SelectionHelper::isDragableObjectHitTwice( aMPos, m_aSelection.getSelectedCID(), *pDrawViewWrapper );
bool bIsRotateable = m_aSelection.isRotateableObjectSelected( getModel() );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
//toggel between move and rotate
if( bIsRotateable && bClickedTwiceOnDragableObject && SDRDRAG_MOVE==m_eDragMode )
m_eDragMode=SDRDRAG_ROTATE;
else
m_eDragMode=SDRDRAG_MOVE;
pDrawViewWrapper->SetDragMode(m_eDragMode);
if( !m_bWaitingForDoubleClick && m_aSelection.maybeSwitchSelectionAfterSingleClickWasEnsured() )
{
this->impl_selectObjectAndNotiy();
}
2003-12-08 16:14:12 +00:00
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
else
m_aSelection.resetPossibleSelectionAfterSingleClickWasEnsured();
2003-10-06 08:58:36 +00:00
}
else if( isDoubleClick(rMEvt) && !bMouseUpWithoutMouseDown /*#i106966#*/ )
{
Point aMousePixel = rMEvt.GetPosPixel();
execute_DoubleClick( &aMousePixel );
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
//@todo ForcePointer(&rMEvt);
pWindow->ReleaseMouse();
if( m_aSelection.isSelectionDifferentFromBeforeMouseDown() )
bNotifySelectionChange = true;
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
impl_SetMousePointer( rMEvt );
if(bNotifySelectionChange)
impl_notifySelectionChangeListeners();
2003-10-06 08:58:36 +00:00
}
void ChartController::execute_DoubleClick( const Point* pMousePixel )
2003-10-06 08:58:36 +00:00
{
bool bEditText = false;
if ( m_aSelection.hasSelection() )
{
::rtl::OUString aCID( m_aSelection.getSelectedCID() );
if ( aCID.getLength() )
{
ObjectType eObjectType = ObjectIdentifier::getObjectType( aCID );
if ( OBJECTTYPE_TITLE == eObjectType )
{
bEditText = true;
}
}
else
{
// #i12587# support for shapes in chart
SdrObject* pObj = DrawViewWrapper::getSdrObject( m_aSelection.getSelectedAdditionalShape() );
if ( pObj && pObj->ISA( SdrTextObj ) )
{
bEditText = true;
}
}
}
if ( bEditText )
{
executeDispatch_EditText( pMousePixel );
}
2003-10-28 15:04:41 +00:00
else
{
2003-10-28 15:04:41 +00:00
executeDispatch_ObjectProperties();
}
2003-10-06 08:58:36 +00:00
}
void ChartController::execute_Resize()
{
m_pChartWindow->Invalidate();
}
void ChartController::execute_Activate()
{
///// pDrawViewWrapper->SetEditMode(TRUE);
}
void ChartController::execute_Deactivate()
{
/*
pDrawViewWrapper->SetEditMode(FALSE);
this->ReleaseMouse();
*/
}
void ChartController::execute_GetFocus()
{
}
void ChartController::execute_LoseFocus()
{
//this->ReleaseMouse();
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
2003-10-06 08:58:36 +00:00
void ChartController::execute_Command( const CommandEvent& rCEvt )
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
Window* pWindow = m_pChartWindow;
bool bIsAction = false;
{
::vos::OGuard aGuard( Application::GetSolarMutex());
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
if(!pWindow || !pDrawViewWrapper)
return;
bIsAction = m_pDrawViewWrapper->IsAction();
}
2003-10-06 08:58:36 +00:00
// pop-up menu
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if(rCEvt.GetCommand() == COMMAND_CONTEXTMENU && !bIsAction)
2003-10-06 08:58:36 +00:00
{
m_pChartWindow->ReleaseMouse();
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if( m_aSelection.isSelectionDifferentFromBeforeMouseDown() )
impl_notifySelectionChangeListeners();
2003-10-06 08:58:36 +00:00
2010-03-01 12:22:02 +01:00
if ( isShapeContext() )
{
// #i12587# support for shapes in chart
PopupMenu aContextMenu( SchResId( m_pDrawViewWrapper->IsTextEdit() ?
RID_CONTEXTMENU_SHAPEEDIT : RID_CONTEXTMENU_SHAPE ) );
::svt::ContextMenuHelper aContextMenuHelper( m_xFrame );
Point aPos( rCEvt.GetMousePosPixel() );
if( !rCEvt.IsMouseEvent() )
{
aPos = m_pChartWindow->GetPointerState().maPos;
}
aContextMenuHelper.completeAndExecute( aPos, aContextMenu );
}
else
2003-10-06 08:58:36 +00:00
{
2010-03-01 12:22:02 +01:00
// todo: the context menu should be specified by an xml file in uiconfig
uno::Reference< awt::XPopupMenu > xPopupMenu(
m_xCC->getServiceManager()->createInstanceWithContext(
C2U("com.sun.star.awt.PopupMenu"), m_xCC ), uno::UNO_QUERY );
uno::Reference< awt::XMenuExtended > xMenuEx( xPopupMenu, uno::UNO_QUERY );
if( xPopupMenu.is() && xMenuEx.is())
{
sal_Int16 nUniqueId = 1;
ObjectType eObjectType = ObjectIdentifier::getObjectType( m_aSelection.getSelectedCID() );
Reference< XDiagram > xDiagram = ChartModelHelper::findDiagram( getModel() );
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
2010-03-01 12:22:02 +01:00
OUString aFormatCommand( lcl_getFormatCommandForObjectCID( m_aSelection.getSelectedCID() ) );
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, aFormatCommand );
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
2010-03-01 12:22:02 +01:00
//some commands for dataseries and points:
//-----
if( OBJECTTYPE_DATA_SERIES == eObjectType || OBJECTTYPE_DATA_POINT == eObjectType )
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
{
2010-03-01 12:22:02 +01:00
bool bIsPoint = ( OBJECTTYPE_DATA_POINT == eObjectType );
uno::Reference< XDataSeries > xSeries = ObjectIdentifier::getDataSeriesForCID( m_aSelection.getSelectedCID(), getModel() );
2010-03-01 12:22:02 +01:00
uno::Reference< chart2::XRegressionCurveContainer > xCurveCnt( xSeries, uno::UNO_QUERY );
Reference< chart2::XRegressionCurve > xTrendline( RegressionCurveHelper::getFirstCurveNotMeanValueLine( xCurveCnt ) );
bool bHasEquation = RegressionCurveHelper::hasEquation( xTrendline );
Reference< chart2::XRegressionCurve > xMeanValue( RegressionCurveHelper::getMeanValueLine( xCurveCnt ) );
bool bHasYErrorBars = StatisticsHelper::hasErrorBars( xSeries, true );
bool bHasDataLabelsAtSeries = DataSeriesHelper::hasDataLabelsAtSeries( xSeries );
bool bHasDataLabelsAtPoints = DataSeriesHelper::hasDataLabelsAtPoints( xSeries );
bool bHasDataLabelAtPoint = false;
sal_Int32 nPointIndex = -1;
if( bIsPoint )
{
nPointIndex = ObjectIdentifier::getIndexFromParticleOrCID( m_aSelection.getSelectedCID() );
bHasDataLabelAtPoint = DataSeriesHelper::hasDataLabelAtPoint( xSeries, nPointIndex );
}
bool bSelectedPointIsFormatted = false;
bool bHasFormattedDataPointsOtherThanSelected = false;
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
2010-03-01 12:22:02 +01:00
Reference< beans::XPropertySet > xSeriesProperties( xSeries, uno::UNO_QUERY );
if( xSeriesProperties.is() )
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
{
2010-03-01 12:22:02 +01:00
uno::Sequence< sal_Int32 > aAttributedDataPointIndexList;
if( xSeriesProperties->getPropertyValue( C2U( "AttributedDataPoints" ) ) >>= aAttributedDataPointIndexList )
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
{
2010-03-01 12:22:02 +01:00
if( aAttributedDataPointIndexList.hasElements() )
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
{
2010-03-01 12:22:02 +01:00
if( bIsPoint )
{
::std::vector< sal_Int32 > aIndices( ContainerHelper::SequenceToVector( aAttributedDataPointIndexList ) );
::std::vector< sal_Int32 >::iterator aIt = ::std::find( aIndices.begin(), aIndices.end(), nPointIndex );
if( aIt != aIndices.end())
bSelectedPointIsFormatted = true;
else
bHasFormattedDataPointsOtherThanSelected = true;
}
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
else
bHasFormattedDataPointsOtherThanSelected = true;
}
}
}
2010-03-01 12:22:02 +01:00
//const sal_Int32 nIdBeforeFormat = nUniqueId;
if( bIsPoint )
{
if( bHasDataLabelAtPoint )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatDataLabel") );
if( !bHasDataLabelAtPoint )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertDataLabel") );
else
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DeleteDataLabel") );
if( bSelectedPointIsFormatted )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:ResetDataPoint"));
xPopupMenu->insertSeparator( -1 );
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatDataSeries") );
}
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
2010-03-01 12:22:02 +01:00
Reference< chart2::XChartType > xChartType( DiagramHelper::getChartTypeOfSeries( xDiagram, xSeries ) );
if( xChartType->getChartType().equals(CHART2_SERVICE_NAME_CHARTTYPE_CANDLESTICK) )
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
{
2010-03-01 12:22:02 +01:00
try
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
{
2010-03-01 12:22:02 +01:00
Reference< beans::XPropertySet > xChartTypeProp( xChartType, uno::UNO_QUERY );
if( xChartTypeProp.is() )
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
{
2010-03-01 12:22:02 +01:00
bool bJapaneseStyle = false;
xChartTypeProp->getPropertyValue( C2U( "Japanese" ) ) >>= bJapaneseStyle;
if( bJapaneseStyle )
{
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatStockLoss") );
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatStockGain") );
}
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
}
}
2010-03-01 12:22:02 +01:00
catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
}
2010-03-01 12:22:02 +01:00
if( bHasDataLabelsAtSeries )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatDataLabels") );
if( xTrendline.is() )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatTrendline") );
if( bHasEquation )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatTrendlineEquation") );
if( xMeanValue.is() )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatMeanValue") );
if( bHasYErrorBars )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatYErrorBars") );
//if( nIdBeforeFormat != nUniqueId )
xPopupMenu->insertSeparator( -1 );
//const sal_Int32 nIdBeforeInsert = nUniqueId;
if( !bHasDataLabelsAtSeries )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertDataLabels") );
if( !xTrendline.is() )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertTrendline") );
else if( !bHasEquation )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertTrendlineEquation") );
if( !xMeanValue.is() )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertMeanValue") );
if( !bHasYErrorBars )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertYErrorBars") );
//if( nIdBeforeInsert != nUniqueId )
// xPopupMenu->insertSeparator( -1 );
//const sal_Int32 nIdBeforeDelete = nUniqueId;
if( bHasDataLabelsAtSeries || ( bHasDataLabelsAtPoints && bHasFormattedDataPointsOtherThanSelected ) )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DeleteDataLabels") );
if( xTrendline.is() )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DeleteTrendline") );
if( bHasEquation )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DeleteTrendlineEquation") );
if( xMeanValue.is() )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DeleteMeanValue") );
if( bHasYErrorBars )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DeleteYErrorBars") );
if( bHasFormattedDataPointsOtherThanSelected )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:ResetAllDataPoints"));
//if( nIdBeforeDelete != nUniqueId )
xPopupMenu->insertSeparator( -1 );
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId, C2U(".uno:ArrangeRow"));
uno::Reference< awt::XPopupMenu > xArrangePopupMenu(
m_xCC->getServiceManager()->createInstanceWithContext(
C2U("com.sun.star.awt.PopupMenu"), m_xCC ), uno::UNO_QUERY );
uno::Reference< awt::XMenuExtended > xArrangeMenuEx( xArrangePopupMenu, uno::UNO_QUERY );
if( xArrangePopupMenu.is() && xArrangeMenuEx.is())
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
{
2010-03-01 12:22:02 +01:00
sal_Int16 nSubId = nUniqueId + 1;
lcl_insertMenuCommand( xArrangePopupMenu, xArrangeMenuEx, nSubId++, C2U(".uno:Forward") );
lcl_insertMenuCommand( xArrangePopupMenu, xArrangeMenuEx, nSubId, C2U(".uno:Backward") );
xPopupMenu->setPopupMenu( nUniqueId, xArrangePopupMenu );
nUniqueId = nSubId;
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
}
2010-03-01 12:22:02 +01:00
++nUniqueId;
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
}
2010-03-01 12:22:02 +01:00
else if( OBJECTTYPE_DATA_CURVE == eObjectType )
{
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatTrendlineEquation") );
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertTrendlineEquation") );
2010-03-01 12:22:02 +01:00
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertTrendlineEquationAndR2") );
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertR2Value") );
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DeleteTrendlineEquation") );
2010-03-01 12:22:02 +01:00
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DeleteR2Value") );
}
else if( OBJECTTYPE_DATA_CURVE_EQUATION == eObjectType )
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
{
2010-03-01 12:22:02 +01:00
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertR2Value") );
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DeleteR2Value") );
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
}
2010-03-01 12:22:02 +01:00
//some commands for axes: and grids
//-----
else if( OBJECTTYPE_AXIS == eObjectType || OBJECTTYPE_GRID == eObjectType || OBJECTTYPE_SUBGRID == eObjectType )
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
{
Reference< XAxis > xAxis = ObjectIdentifier::getAxisForCID( m_aSelection.getSelectedCID(), getModel() );
2010-03-01 12:22:02 +01:00
if( xAxis.is() && xDiagram.is() )
{
sal_Int32 nDimensionIndex = -1;
sal_Int32 nCooSysIndex = -1;
sal_Int32 nAxisIndex = -1;
AxisHelper::getIndicesForAxis( xAxis, xDiagram, nCooSysIndex, nDimensionIndex, nAxisIndex );
bool bIsSecondaryAxis = nAxisIndex!=0;
bool bIsAxisVisible = AxisHelper::isAxisVisible( xAxis );
bool bIsMajorGridVisible = AxisHelper::isGridShown( nDimensionIndex, nCooSysIndex, true /*bMainGrid*/, xDiagram );
bool bIsMinorGridVisible = AxisHelper::isGridShown( nDimensionIndex, nCooSysIndex, false /*bMainGrid*/, xDiagram );
bool bHasTitle = false;
uno::Reference< XTitled > xTitled( xAxis, uno::UNO_QUERY );
if( xTitled.is())
bHasTitle = TitleHelper::getCompleteString( xTitled->getTitleObject() ).getLength()>0;
if( OBJECTTYPE_AXIS != eObjectType && bIsAxisVisible )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatAxis") );
if( OBJECTTYPE_GRID != eObjectType && bIsMajorGridVisible && !bIsSecondaryAxis )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatMajorGrid") );
if( OBJECTTYPE_SUBGRID != eObjectType && bIsMinorGridVisible && !bIsSecondaryAxis )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatMinorGrid") );
xPopupMenu->insertSeparator( -1 );
if( OBJECTTYPE_AXIS != eObjectType && !bIsAxisVisible )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertAxis") );
if( OBJECTTYPE_GRID != eObjectType && !bIsMajorGridVisible && !bIsSecondaryAxis )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertMajorGrid") );
if( OBJECTTYPE_SUBGRID != eObjectType && !bIsMinorGridVisible && !bIsSecondaryAxis )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertMinorGrid") );
if( !bHasTitle )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertAxisTitle") );
if( bIsAxisVisible )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DeleteAxis") );
if( bIsMajorGridVisible && !bIsSecondaryAxis )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DeleteMajorGrid") );
if( bIsMinorGridVisible && !bIsSecondaryAxis )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DeleteMinorGrid") );
}
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
}
2010-03-01 12:22:02 +01:00
if( OBJECTTYPE_DATA_STOCK_LOSS == eObjectType )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatStockGain") );
else if( OBJECTTYPE_DATA_STOCK_GAIN == eObjectType )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:FormatStockLoss") );
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
2010-03-01 12:22:02 +01:00
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:TransformDialog"));
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
2010-03-01 12:22:02 +01:00
if( OBJECTTYPE_PAGE == eObjectType || OBJECTTYPE_DIAGRAM == eObjectType
|| OBJECTTYPE_DIAGRAM_WALL == eObjectType
|| OBJECTTYPE_DIAGRAM_FLOOR == eObjectType
|| OBJECTTYPE_UNKNOWN == eObjectType )
{
if( OBJECTTYPE_UNKNOWN != eObjectType )
xPopupMenu->insertSeparator( -1 );
bool bHasLegend = LegendHelper::hasLegend( xDiagram );
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertTitles") );
if( !bHasLegend )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertLegend") );
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:InsertRemoveAxes") );
if( bHasLegend )
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DeleteLegend") );
}
//-----
xPopupMenu->insertSeparator( -1 );
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DiagramType"));
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DataRanges"));
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:DiagramData"));
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:View3D"));
xPopupMenu->insertSeparator( -1 );
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:Cut"));
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:Copy"));
lcl_insertMenuCommand( xPopupMenu, xMenuEx, nUniqueId++, C2U(".uno:Paste"));
::svt::ContextMenuHelper aContextMenuHelper( m_xFrame );
Point aPos( rCEvt.GetMousePosPixel() );
if( !rCEvt.IsMouseEvent() )
aPos = m_pChartWindow->GetPointerState().maPos;
aContextMenuHelper.completeAndExecute( aPos, xPopupMenu );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
}
2003-10-06 08:58:36 +00:00
}
}
CWS-TOOLING: integrate CWS chart35 2009-02-20 12:33:54 +0100 nn r268312 : correct line ends 2009-01-19 12:50:45 +0100 iha r266491 : #i91800# style:text-position='0' is wrongly imported 2009-01-19 11:59:09 +0100 iha r266486 : #i91037# Position of Datalabels in 3D Bar-Charts are crossing the edge 2009-01-16 16:45:50 +0100 iha r266435 : #i93802# clockwise does not work on solars sparc 2009-01-16 13:23:37 +0100 iha r266414 : #i91037# Position of Datalabels in 3D Bar-Charts are crossing the edge 2009-01-15 14:09:27 +0100 iha r266370 : #i98102# checkbox show equation should not be checked initially 2009-01-14 17:41:33 +0100 iha r266323 : #i97133# #i97318# chart type is not detected correctly in case of invisible series 2009-01-14 16:23:06 +0100 iha r266316 : #i97133# #i97318# chart type is not detected correctly in case of invisible series 2009-01-14 13:43:38 +0100 iha r266298 : #i84417# Unable to edit existing chart title with clipboard 2009-01-14 13:43:04 +0100 iha r266297 : #i84417# Unable to edit existing chart title with IME 2009-01-14 13:14:15 +0100 dr r266293 : do not set CharEscapement property if not needed 2009-01-14 00:48:46 +0100 er r266262 : #i81383# changed ASC and JIS to use transliteration provided by i18n transliteration; patch from <bluedwarf> 2009-01-14 00:28:06 +0100 er r266261 : #i97536# silence gcc's unbracketed && || warnings 2009-01-13 22:43:45 +0100 er r266259 : #i97905# corrected IndexKey order 2009-01-13 20:36:15 +0100 er r266254 : #i97905# add SKK/EUR conversion (plus MTL/EUR and CYP/EUR) 2009-01-13 20:31:17 +0100 er r266253 : #i97905# updated locale data; contributed by <brko> 2009-01-13 11:57:08 +0100 iha r266204 : #i84103# cannot set data in xy diagram in draw 2009-01-12 20:29:37 +0100 nn r266181 : #i97680# GetStylesContainer: handle non-available style family 2009-01-12 19:53:19 +0100 nn r266180 : #i98000# don't get initial zoom value via SfxViewFrame::Current 2009-01-12 16:11:19 +0100 iha r266166 : #i71686# XY charts without valid x values are not imported correctly from Excel 2009-01-09 17:10:20 +0100 iha r266102 : #i95051# truncated asian strings on scale tabpage 2009-01-09 15:58:46 +0100 iha r266094 : #i89430# truncated asian strings in smooth lines dialog 2009-01-09 13:09:14 +0100 iha r266076 : #i94813# importing pie chart with multiline categories crashes
2009-03-03 11:39:43 +00:00
else if( ( rCEvt.GetCommand() == COMMAND_STARTEXTTEXTINPUT ) ||
( rCEvt.GetCommand() == COMMAND_EXTTEXTINPUT ) ||
( rCEvt.GetCommand() == COMMAND_ENDEXTTEXTINPUT ) ||
( rCEvt.GetCommand() == COMMAND_INPUTCONTEXTCHANGE ) )
{
//#i84417# enable editing with IME
if( m_pDrawViewWrapper )
m_pDrawViewWrapper->Command( rCEvt, m_pChartWindow );
}
2003-10-06 08:58:36 +00:00
}
2003-10-28 15:04:41 +00:00
bool ChartController::execute_KeyInput( const KeyEvent& rKEvt )
{
bool bReturn=false;
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
Window* pWindow = m_pChartWindow;
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
if(!pWindow || !pDrawViewWrapper)
return bReturn;
// handle accelerators
if( ! m_apAccelExecute.get() && m_xFrame.is() && m_xCC.is() && m_xCC->getServiceManager().is() )
{
m_apAccelExecute.reset( ::svt::AcceleratorExecute::createAcceleratorHelper());
OSL_ASSERT( m_apAccelExecute.get());
if( m_apAccelExecute.get() )
m_apAccelExecute->init(
uno::Reference< lang::XMultiServiceFactory >( m_xCC->getServiceManager(), uno::UNO_QUERY ), m_xFrame );
}
KeyCode aKeyCode( rKEvt.GetKeyCode());
sal_uInt16 nCode = aKeyCode.GetCode();
// bool bShift = aKeyCode.IsShift();
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
bool bAlternate = aKeyCode.IsMod2();
if( m_apAccelExecute.get() )
bReturn = m_apAccelExecute->execute( aKeyCode );
if( bReturn )
return bReturn;
if( pDrawViewWrapper->IsTextEdit() )
2003-10-28 15:04:41 +00:00
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if( pDrawViewWrapper->KeyInput(rKEvt,pWindow) )
2003-10-28 15:04:41 +00:00
{
bReturn = true;
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if( nCode == KEY_ESCAPE )
2003-10-28 15:04:41 +00:00
{
this->EndTextEdit();
}
}
}
//if( m_pDrawViewWrapper->IsAction() );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
// keyboard accessibility
ObjectType eObjectType = ObjectIdentifier::getObjectType( m_aSelection.getSelectedCID() );
if( ! bReturn )
{
// Natvigation (Tab/F3/Home/End)
uno::Reference< XChartDocument > xChartDoc( getModel(), uno::UNO_QUERY );
ObjectKeyNavigation aObjNav( m_aSelection.getSelectedOID(), xChartDoc, ExplicitValueProvider::getExplicitValueProvider( m_xChartView ));
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
awt::KeyEvent aKeyEvent( ::svt::AcceleratorExecute::st_VCLKey2AWTKey( aKeyCode ));
bReturn = aObjNav.handleKeyEvent( aKeyEvent );
if( bReturn )
{
ObjectIdentifier aNewOID = aObjNav.getCurrentSelection();
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
uno::Any aNewSelection;
if ( aNewOID.isValid() && !ObjectHierarchy::isRootNode( aNewOID ) )
{
aNewSelection = aNewOID.getAny();
}
if ( m_eDragMode == SDRDRAG_ROTATE && !SelectionHelper::isRotateableObject( aNewOID.getObjectCID(), getModel() ) )
{
m_eDragMode = SDRDRAG_MOVE;
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
bReturn = select( aNewSelection );
}
}
2003-10-28 15:04:41 +00:00
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
// Position and Size (+/-/arrow-keys) or pie segment dragging
if( ! bReturn )
{
// pie segment dragging
// note: could also be done for data series
if( eObjectType == OBJECTTYPE_DATA_POINT &&
ObjectIdentifier::getDragMethodServiceName( m_aSelection.getSelectedCID() ).equals(
ObjectIdentifier::getPieSegmentDragMethodServiceName()))
{
bool bDrag = false;
bool bDragInside = false;
if( nCode == KEY_ADD ||
nCode == KEY_SUBTRACT )
{
bDrag = true;
bDragInside = ( nCode == KEY_SUBTRACT );
}
else if(
nCode == KEY_LEFT ||
nCode == KEY_RIGHT ||
nCode == KEY_UP ||
nCode == KEY_DOWN )
{
bDrag = true;
rtl::OUString aParameter( ObjectIdentifier::getDragParameterString( m_aSelection.getSelectedCID() ));
sal_Int32 nOffsetPercentDummy( 0 );
awt::Point aMinimumPosition( 0, 0 );
awt::Point aMaximumPosition( 0, 0 );
ObjectIdentifier::parsePieSegmentDragParameterString(
aParameter, nOffsetPercentDummy, aMinimumPosition, aMaximumPosition );
aMaximumPosition.Y -= aMinimumPosition.Y;
aMaximumPosition.X -= aMinimumPosition.X;
bDragInside =
(nCode == KEY_RIGHT && (aMaximumPosition.X < 0)) ||
(nCode == KEY_LEFT && (aMaximumPosition.X > 0)) ||
(nCode == KEY_DOWN && (aMaximumPosition.Y < 0)) ||
(nCode == KEY_UP && (aMaximumPosition.Y > 0));
}
if( bDrag )
{
double fAmount = bAlternate ? 0.01 : 0.05;
if( bDragInside )
fAmount *= -1.0;
bReturn = impl_DragDataPoint( m_aSelection.getSelectedCID(), fAmount );
}
}
else
{
// size
if( nCode == KEY_ADD ||
nCode == KEY_SUBTRACT )
{
if( eObjectType == OBJECTTYPE_DIAGRAM )
{
// default 1 mm in each direction
double fGrowAmountX = 200.0;
double fGrowAmountY = 200.0;
if( bAlternate && pWindow )
{
// together with Alt-key: 1 px in each direction
Size aPixelSize = pWindow->PixelToLogic( Size( 2, 2 ));
fGrowAmountX = static_cast< double >( aPixelSize.Width());
fGrowAmountY = static_cast< double >( aPixelSize.Height());
}
if( nCode == KEY_SUBTRACT )
{
fGrowAmountX = -fGrowAmountX;
fGrowAmountY = -fGrowAmountY;
}
bReturn = impl_moveOrResizeObject(
m_aSelection.getSelectedCID(), CENTERED_RESIZE_OBJECT, fGrowAmountX, fGrowAmountY );
}
}
// position
else if( nCode == KEY_LEFT ||
nCode == KEY_RIGHT ||
nCode == KEY_UP ||
nCode == KEY_DOWN )
{
if( m_aSelection.isDragableObjectSelected() )
{
// default 1 mm
double fShiftAmountX = 100.0;
double fShiftAmountY = 100.0;
if( bAlternate && pWindow )
{
// together with Alt-key: 1 px
Size aPixelSize = pWindow->PixelToLogic( Size( 1, 1 ));
fShiftAmountX = static_cast< double >( aPixelSize.Width());
fShiftAmountY = static_cast< double >( aPixelSize.Height());
}
switch( nCode )
{
case KEY_LEFT:
fShiftAmountX = -fShiftAmountX;
fShiftAmountY = 0.0;
break;
case KEY_RIGHT:
fShiftAmountY = 0.0;
break;
case KEY_UP:
fShiftAmountX = 0.0;
fShiftAmountY = -fShiftAmountY;
break;
case KEY_DOWN:
fShiftAmountX = 0.0;
break;
}
if( m_aSelection.getSelectedCID().getLength() )
{
//move chart objects
bReturn = impl_moveOrResizeObject(
m_aSelection.getSelectedCID(), MOVE_OBJECT, fShiftAmountX, fShiftAmountY );
}
else
{
//move additional shapes
uno::Reference< drawing::XShape > xShape( m_aSelection.getSelectedAdditionalShape() );
if( xShape.is() )
{
awt::Point aPos( xShape->getPosition() );
awt::Size aSize( xShape->getSize() );
awt::Size aPageSize( ChartModelHelper::getPageSize( getModel() ) );
aPos.X = static_cast< long >( static_cast< double >( aPos.X ) + fShiftAmountX );
aPos.Y = static_cast< long >( static_cast< double >( aPos.Y ) + fShiftAmountY );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if( aPos.X + aSize.Width > aPageSize.Width )
aPos.X = aPageSize.Width - aSize.Width;
if( aPos.X < 0 )
aPos.X = 0;
if( aPos.Y + aSize.Height > aPageSize.Height )
aPos.Y = aPageSize.Height - aSize.Height;
if( aPos.Y < 0 )
aPos.Y = 0;
xShape->setPosition( aPos );
}
}
}
}
}
}
// text edit
if( ! bReturn &&
nCode == KEY_F2 )
{
if( OBJECTTYPE_TITLE == eObjectType )
{
executeDispatch_EditText();
bReturn = true;
}
}
// deactivate inplace mode (this code should be unnecessary, but
// unfortunately is not)
if( ! bReturn &&
nCode == KEY_ESCAPE )
{
uno::Reference< frame::XDispatchHelper > xDispatchHelper(
m_xCC->getServiceManager()->createInstanceWithContext(
C2U("com.sun.star.frame.DispatchHelper"), m_xCC ), uno::UNO_QUERY );
if( xDispatchHelper.is())
{
uno::Sequence< beans::PropertyValue > aArgs;
xDispatchHelper->executeDispatch(
uno::Reference< frame::XDispatchProvider >( m_xFrame, uno::UNO_QUERY ),
C2U(".uno:TerminateInplaceActivation"),
C2U("_parent"),
frame::FrameSearchFlag::PARENT,
aArgs );
bReturn = true;
}
}
if( ! bReturn &&
(nCode == KEY_DELETE || nCode == KEY_BACKSPACE ))
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
{
bReturn = executeDispatch_Delete();
if( ! bReturn )
{
InfoBox( m_pChartWindow, String(SchResId( STR_ACTION_NOTPOSSIBLE ))).Execute();
}
}
/* old chart:
// Ctrl-Shift-R: Repaint
2003-10-28 15:04:41 +00:00
if (!bReturn && GetWindow())
{
KeyCode aKeyCode = rKEvt.GetKeyCode();
if (aKeyCode.IsMod1() && aKeyCode.IsShift()
&& aKeyCode.GetCode() == KEY_R)
{
// 3D-Kontext wieder zerstoeren
GetWindow()->Invalidate();
bReturn = TRUE;
}
}
*/
return bReturn;
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
bool ChartController::requestQuickHelp(
::Point aAtLogicPosition,
bool bIsBalloonHelp,
::rtl::OUString & rOutQuickHelpText,
awt::Rectangle & rOutEqualRect )
{
uno::Reference< frame::XModel > xChartModel;
if( m_aModel.is())
xChartModel.set( getModel() );
if( !xChartModel.is())
return false;
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
// help text
::rtl::OUString aCID;
if( m_pDrawViewWrapper )
{
aCID = SelectionHelper::getHitObjectCID(
aAtLogicPosition, *m_pDrawViewWrapper );
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
bool bResult( aCID.getLength());
if( bResult )
{
// get help text
rOutQuickHelpText = ObjectNameProvider::getHelpText( aCID, xChartModel, bIsBalloonHelp /* bVerbose */ );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
// set rectangle
ExplicitValueProvider * pValueProvider(
ExplicitValueProvider::getExplicitValueProvider( m_xChartView ));
if( pValueProvider )
rOutEqualRect = pValueProvider->getRectangleOfObject( aCID, true );
}
return bResult;
}
2003-10-06 08:58:36 +00:00
//-----------------------------------------------------------------
// XSelectionSupplier (optional interface)
//-----------------------------------------------------------------
sal_Bool SAL_CALL ChartController
::select( const uno::Any& rSelection )
throw( lang::IllegalArgumentException )
{
bool bSuccess = false;
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if ( rSelection.hasValue() )
{
const uno::Type& rType = rSelection.getValueType();
if ( rType == ::getCppuType( static_cast< const ::rtl::OUString* >( 0 ) ) )
{
::rtl::OUString aNewCID;
if ( ( rSelection >>= aNewCID ) && m_aSelection.setSelection( aNewCID ) )
{
bSuccess = true;
}
}
else if ( rType == ::getCppuType( static_cast< const uno::Reference< drawing::XShape >* >( 0 ) ) )
{
uno::Reference< drawing::XShape > xShape;
if ( ( rSelection >>= xShape ) && m_aSelection.setSelection( xShape ) )
{
bSuccess = true;
}
}
}
else
{
if ( m_aSelection.hasSelection() )
{
m_aSelection.clearSelection();
bSuccess = true;
}
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if ( bSuccess )
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
{
this->impl_selectObjectAndNotiy();
return sal_True;
}
2003-10-06 08:58:36 +00:00
return sal_False;
}
uno::Any SAL_CALL ChartController
::getSelection() throw(uno::RuntimeException)
{
uno::Any aReturn;
if ( m_aSelection.hasSelection() )
{
::rtl::OUString aCID( m_aSelection.getSelectedCID() );
if ( aCID.getLength() )
{
aReturn = uno::makeAny( aCID );
}
else
{
// #i12587# support for shapes in chart
aReturn = uno::makeAny( m_aSelection.getSelectedAdditionalShape() );
}
}
return aReturn;
2003-10-06 08:58:36 +00:00
}
void SAL_CALL ChartController
::addSelectionChangeListener( const uno::Reference<
view::XSelectionChangeListener > & xListener )
throw(uno::RuntimeException)
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
::vos::OGuard aGuard( Application::GetSolarMutex());
if( impl_isDisposedOrSuspended() )//@todo? allow adding of listeners in suspend mode?
return; //behave passive if already disposed or suspended
//--add listener
m_aLifeTimeManager.m_aListenerContainer.addInterface( ::getCppuType((const uno::Reference< view::XSelectionChangeListener >*)0), xListener );
2003-10-06 08:58:36 +00:00
}
void SAL_CALL ChartController
::removeSelectionChangeListener( const uno::Reference<
view::XSelectionChangeListener > & xListener )
throw(uno::RuntimeException)
{
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
::vos::OGuard aGuard( Application::GetSolarMutex());
if( impl_isDisposedOrSuspended() ) //@todo? allow removing of listeners in suspend mode?
return; //behave passive if already disposed or suspended
//--remove listener
m_aLifeTimeManager.m_aListenerContainer.removeInterface( ::getCppuType((const uno::Reference< view::XSelectionChangeListener >*)0), xListener );
}
void ChartController
::impl_notifySelectionChangeListeners()
{
::cppu::OInterfaceContainerHelper* pIC = m_aLifeTimeManager.m_aListenerContainer
.getContainer( ::getCppuType((const uno::Reference< view::XSelectionChangeListener >*)0) );
if( pIC )
{
uno::Reference< view::XSelectionSupplier > xSelectionSupplier(this);
lang::EventObject aEvent( xSelectionSupplier );
::cppu::OInterfaceIteratorHelper aIt( *pIC );
while( aIt.hasMoreElements() )
2010-03-26 10:43:05 +01:00
{
uno::Reference< view::XSelectionChangeListener > xListener( aIt.next(), uno::UNO_QUERY );
if( xListener.is() )
xListener->selectionChanged( aEvent );
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
}
}
void ChartController::impl_selectObjectAndNotiy()
{
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
if( pDrawViewWrapper )
{
pDrawViewWrapper->SetDragMode( m_eDragMode );
m_aSelection.applySelection( m_pDrawViewWrapper );
}
impl_notifySelectionChangeListeners();
}
bool ChartController::impl_moveOrResizeObject(
const ::rtl::OUString & rCID,
eMoveOrResizeType eType,
double fAmountLogicX,
double fAmountLogicY )
{
bool bResult = false;
bool bNeedShift = true;
bool bNeedResize = ( eType == CENTERED_RESIZE_OBJECT );
uno::Reference< frame::XModel > xChartModel( getModel() );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
uno::Reference< beans::XPropertySet > xObjProp(
ObjectIdentifier::getObjectPropertySet( rCID, xChartModel ));
if( xObjProp.is())
{
awt::Size aRefSize = ChartModelHelper::getPageSize( xChartModel );
chart2::RelativePosition aRelPos;
chart2::RelativeSize aRelSize;
bool bDeterminePos = !(xObjProp->getPropertyValue( C2U("RelativePosition")) >>= aRelPos);
bool bDetermineSize = !bNeedResize || !(xObjProp->getPropertyValue( C2U("RelativeSize")) >>= aRelSize);
if( ( bDeterminePos || bDetermineSize ) &&
( aRefSize.Width > 0 && aRefSize.Height > 0 ) )
{
ExplicitValueProvider * pValueProvider(
ExplicitValueProvider::getExplicitValueProvider( m_xChartView ));
if( pValueProvider )
{
awt::Rectangle aRect( pValueProvider->getRectangleOfObject( rCID ));
double fWidth = static_cast< double >( aRefSize.Width );
double fHeight = static_cast< double >( aRefSize.Height );
if( bDetermineSize )
{
aRelSize.Primary = static_cast< double >( aRect.Width ) / fWidth;
aRelSize.Secondary = static_cast< double >( aRect.Height ) / fHeight;
}
if( bDeterminePos )
{
if( bNeedResize && aRelSize.Primary > 0.0 && aRelSize.Secondary > 0.0 )
{
aRelPos.Primary = (static_cast< double >( aRect.X ) / fWidth) +
(aRelSize.Primary / 2.0);
aRelPos.Secondary = (static_cast< double >( aRect.Y ) / fHeight) +
(aRelSize.Secondary / 2.0);
aRelPos.Anchor = drawing::Alignment_CENTER;
}
else
{
aRelPos.Primary = static_cast< double >( aRect.X ) / fWidth;
aRelPos.Secondary = static_cast< double >( aRect.Y ) / fHeight;
aRelPos.Anchor = drawing::Alignment_TOP_LEFT;
}
}
}
}
if( eType == CENTERED_RESIZE_OBJECT )
bResult = lcl_GrowAndShiftLogic( aRelPos, aRelSize, aRefSize, fAmountLogicX, fAmountLogicY );
else if( eType == MOVE_OBJECT )
bResult = lcl_MoveObjectLogic( aRelPos, aRelSize, aRefSize, fAmountLogicX, fAmountLogicY );
if( bResult )
{
ActionDescriptionProvider::ActionType eActionType(ActionDescriptionProvider::MOVE);
if( bNeedResize )
eActionType = ActionDescriptionProvider::RESIZE;
2008-10-01 07:35:04 +00:00
ObjectType eObjectType = ObjectIdentifier::getObjectType( rCID );
UndoGuard aUndoGuard( ActionDescriptionProvider::createDescription(
eActionType, ObjectNameProvider::getName( eObjectType )), m_xUndoManager, xChartModel );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
{
ControllerLockGuard aCLGuard( xChartModel );
if( bNeedShift )
xObjProp->setPropertyValue( C2U("RelativePosition"), uno::makeAny( aRelPos ));
2008-10-01 07:35:04 +00:00
if( bNeedResize || (eObjectType == OBJECTTYPE_DIAGRAM) )//Also set an explicat size at the diagram when an explicit position is set
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
xObjProp->setPropertyValue( C2U("RelativeSize"), uno::makeAny( aRelSize ));
}
aUndoGuard.commitAction();
}
}
return bResult;
}
bool ChartController::impl_DragDataPoint( const ::rtl::OUString & rCID, double fAdditionalOffset )
{
bool bResult = false;
if( fAdditionalOffset < -1.0 || fAdditionalOffset > 1.0 || fAdditionalOffset == 0.0 )
return bResult;
sal_Int32 nDataPointIndex = ObjectIdentifier::getIndexFromParticleOrCID( rCID );
uno::Reference< chart2::XDataSeries > xSeries(
ObjectIdentifier::getDataSeriesForCID( rCID, getModel() ));
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
if( xSeries.is())
{
try
{
uno::Reference< beans::XPropertySet > xPointProp( xSeries->getDataPointByIndex( nDataPointIndex ));
double fOffset = 0.0;
if( xPointProp.is() &&
(xPointProp->getPropertyValue( C2U("Offset" )) >>= fOffset ) &&
(( fAdditionalOffset > 0.0 && fOffset < 1.0 ) || (fOffset > 0.0)) )
{
fOffset += fAdditionalOffset;
if( fOffset > 1.0 )
fOffset = 1.0;
else if( fOffset < 0.0 )
fOffset = 0.0;
xPointProp->setPropertyValue( C2U("Offset"), uno::makeAny( fOffset ));
bResult = true;
}
}
catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
}
return bResult;
}
void ChartController::impl_SetMousePointer( const MouseEvent & rEvent )
{
::vos::OGuard aGuard( Application::GetSolarMutex());
Window* pWindow = m_pChartWindow;
if( m_pDrawViewWrapper && pWindow )
{
Point aMousePos( pWindow->PixelToLogic( rEvent.GetPosPixel()));
sal_uInt16 nModifier = rEvent.GetModifier();
BOOL bLeftDown = rEvent.IsLeft();
if ( m_pDrawViewWrapper->IsTextEdit() )
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
{
if( m_pDrawViewWrapper->IsTextEditHit( aMousePos, HITPIX) )
{
pWindow->SetPointer( m_pDrawViewWrapper->GetPreferedPointer(
aMousePos, pWindow, nModifier, bLeftDown ) );
return;
}
}
else if( m_pDrawViewWrapper->IsAction() )
{
return;//don't change pointer during running action
}
SdrHdl* pHitSelectionHdl = 0;
if( m_aSelection.isResizeableObjectSelected() )
pHitSelectionHdl = m_pDrawViewWrapper->PickHandle( aMousePos );
if( pHitSelectionHdl )
{
Pointer aPointer = m_pDrawViewWrapper->GetPreferedPointer(
aMousePos, pWindow, nModifier, bLeftDown );
bool bForceArrowPointer = false;
ObjectIdentifier aOID( m_aSelection.getSelectedOID() );
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
switch( aPointer.GetStyle())
{
case POINTER_NSIZE:
case POINTER_SSIZE:
case POINTER_WSIZE:
case POINTER_ESIZE:
case POINTER_NWSIZE:
case POINTER_NESIZE:
case POINTER_SWSIZE:
case POINTER_SESIZE:
if( ! m_aSelection.isResizeableObjectSelected() )
bForceArrowPointer = true;
break;
case POINTER_MOVE:
if ( !aOID.isDragableObject() )
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
bForceArrowPointer = true;
break;
case POINTER_MOVEPOINT:
case POINTER_MOVEBEZIERWEIGHT:
// there is no point-editing in a chart
// the POINTER_MOVEBEZIERWEIGHT appears in 3d data points
bForceArrowPointer = true;
break;
default:
break;
}
if( bForceArrowPointer )
pWindow->SetPointer( Pointer( POINTER_ARROW ));
else
pWindow->SetPointer( aPointer );
}
else
{
// #i12587# support for shapes in chart
if ( m_eDrawMode == CHARTDRAW_INSERT &&
( !m_pDrawViewWrapper->IsMarkedHit( aMousePos ) || !m_aSelection.isDragableObjectSelected() ) )
{
PointerStyle ePointerStyle = POINTER_DRAW_RECT;
SdrObjKind eKind = static_cast< SdrObjKind >( m_pDrawViewWrapper->GetCurrentObjIdentifier() );
switch ( eKind )
{
case OBJ_LINE:
{
ePointerStyle = POINTER_DRAW_LINE;
}
break;
case OBJ_RECT:
case OBJ_CUSTOMSHAPE:
{
ePointerStyle = POINTER_DRAW_RECT;
}
break;
case OBJ_CIRC:
{
ePointerStyle = POINTER_DRAW_ELLIPSE;
}
break;
case OBJ_FREELINE:
{
ePointerStyle = POINTER_DRAW_POLYGON;
}
break;
case OBJ_TEXT:
{
ePointerStyle = POINTER_DRAW_TEXT;
}
break;
case OBJ_CAPTION:
{
ePointerStyle = POINTER_DRAW_CAPTION;
}
break;
default:
{
ePointerStyle = POINTER_DRAW_RECT;
}
break;
}
pWindow->SetPointer( Pointer( ePointerStyle ) );
return;
}
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
::rtl::OUString aHitObjectCID(
SelectionHelper::getHitObjectCID(
aMousePos, *m_pDrawViewWrapper, true /*bGetDiagramInsteadOf_Wall*/ ));
if( m_pDrawViewWrapper->IsTextEdit() )
{
if( aHitObjectCID.equals(m_aSelection.getSelectedCID()) )
{
pWindow->SetPointer( Pointer( POINTER_ARROW ));
return;
}
}
if( !aHitObjectCID.getLength() )
{
//additional shape was hit
pWindow->SetPointer( POINTER_MOVE );
}
else if( ObjectIdentifier::isDragableObject( aHitObjectCID ) )
{
if( (m_eDragMode == SDRDRAG_ROTATE)
&& SelectionHelper::isRotateableObject( aHitObjectCID
, getModel() ) )
INTEGRATION: CWS chart2mst3 (1.17.4); FILE MERGED 2007/04/27 09:30:51 iha 1.17.4.89: #i76656# correct Undo Strings for moving and resizing 2007/03/07 16:43:37 iha 1.17.4.88: don't move on floor 2007/03/07 15:40:27 iha 1.17.4.87: correct tip help on chart wall and floor 2007/02/09 13:51:42 iha 1.17.4.86: #i72826# rotate around z-axis with mouse 2007/02/09 12:28:32 bm 1.17.4.85: #i72841# message box that pops up when a non-deleteable object gets a delete-request 2007/02/08 18:05:04 iha 1.17.4.84: #i73262# Fast Doubleclick from Selection into another not work 2007/02/02 12:11:31 iha 1.17.4.83: notify correct current selection state before opening context menu 2007/02/02 11:31:23 iha 1.17.4.82: imlemented cut 2007/02/01 17:04:14 iha 1.17.4.81: remove superfluous code from old context menu 2007/02/01 16:53:49 iha 1.17.4.80: remove superfluous code from old context menu 2007/02/01 16:14:18 iha 1.17.4.79: added separator to contextmenu according to spec 2007/01/22 17:32:56 iha 1.17.4.78: remove slot .uno:AutoFormat 2006/12/14 19:43:36 iha 1.17.4.77: #i71857# correct values in position and size dialog + fixed dragging 2006/12/11 21:49:18 iha 1.17.4.76: #i71857# initial pos and size dlg shows wrong values 2006/11/30 19:16:12 iha 1.17.4.75: #71964# corrected context menu position when triggered via keys 2006/11/26 12:09:52 bm 1.17.4.74: PickHandle( Point, Window ) changed to PickHandle( Point ) 2006/11/26 11:47:12 bm 1.17.4.73: includes for solar mutex missing, deprecated context menu code removed 2006/11/24 21:42:23 iha 1.17.4.72: incompatibel changes for aw024 2006/11/22 17:24:25 iha 1.17.4.71: RESYNC: (1.21-1.22); FILE MERGED 2006/11/09 15:34:39 iha 1.17.4.70: #i16280# better performance for charts with many data (bar,column,line,area,xy,net charts) 2006/10/24 13:24:14 iha 1.17.4.69: remove unused out parameter for CID 2006/10/24 08:07:05 bm 1.17.4.68: SelectionHelper::isDragableObjectHitTwice: the CID is passed as non-const reference (in-out parameter). So do not pass a temporary 2006/10/23 15:20:25 iha 1.17.4.67: rotation mode x-only and y-only 2006/10/23 14:41:06 iha 1.17.4.66: display correct mousepointer 2006/10/20 21:17:59 iha 1.17.4.65: implement selection of additional shapes 2006/10/19 14:27:52 bm 1.17.4.64: enable context menus via dispatcher 2006/10/18 17:08:06 bm 1.17.4.63: RESYNC: (1.20-1.21); FILE MERGED 2006/10/16 15:49:41 bm 1.17.4.62: impl_SetMousePointer: disable special cursor for POINTER_MOVEBEZIERWEIGHT. That happens for blue handles in the 3d bar selection 2006/10/13 14:42:26 bm 1.17.4.61: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/09 16:36:35 bm 1.17.4.60: test code checked in by error, removed. 2006/10/05 16:34:46 bm 1.17.4.59: #i69317# submenu ids must also be unique in global scope 2006/10/05 15:41:46 bm 1.17.4.58: #i69317# implement usage of contextmenuhelper. To activate define the USE_CONTEXT_MENU_HELPER variable. When it works remove the old code. 2006/09/28 16:46:29 bm 1.17.4.57: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:27 bm 1.17.4.56: #i67808# allow deleting the legend and the titles with the delete key 2006/08/25 15:08:34 bm 1.17.4.55: added command names for popup menu as comment to ease later switch to XPopupMenu (implementing XMenuExtended that takes commands) 2006/08/04 10:11:08 iha 1.17.4.54: don't crash on paint 2006/08/02 11:16:25 bm 1.17.4.53: #i27352# implement quick help 2006/05/02 11:14:20 bm 1.17.4.52: #i62831# check moved objects for out-of-bounds 2006/03/19 20:03:20 iha 1.17.4.51: set dragmode before selecting 2006/03/19 16:12:13 iha 1.17.4.50: do not block ckicking data series etc. while diagram is selected 2006/03/19 15:33:54 iha 1.17.4.49: correct selection handling of datapoints and series 2006/03/19 10:43:14 iha 1.17.4.48: reselect pie and donut segments after dragging 2006/03/18 20:53:35 iha 1.17.4.47: correct selection handling for rotating diagram 2006/03/12 01:22:30 iha 1.17.4.46: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 13:52:57 bm 1.17.4.45: pie segment dragging with cursor keys 2006/02/28 12:59:10 bm 1.17.4.44: pie segment offset per keyboard 2006/02/24 15:57:30 bm 1.17.4.43: keyboard accessibility 2006/02/23 17:38:13 bm 1.17.4.42: keyboard accessibility: resize diagram with +/- 2006/02/22 18:17:59 bm 1.17.4.41: Keyboard accessibility 2006/01/27 09:51:20 bm 1.17.4.40: InlineContainer.hxx moved to comphelper 2006/01/20 11:33:39 iha 1.17.4.39: removed some performance debug code here better integrate it in the according submathods 2006/01/17 17:16:52 bm 1.17.4.38: allow deselect with an empty Any in select() 2006/01/14 14:31:41 iha 1.17.4.37: cut,copy state requested 2006/01/11 15:11:00 iha 1.17.4.36: don't use implementation details of the ObjectIdentifier somewhere else 2005/12/21 21:29:09 iha 1.17.4.35: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/12/03 18:50:21 iha 1.17.4.34: enable pie segment dragging + moved diagram rotation dragmethod and adpated to new dragmethod base 2005/11/30 16:10:30 iha 1.17.4.33: menu changes 2005/11/28 14:20:07 iha 1.17.4.32: menu changes 2005/11/22 10:53:22 bm 1.17.4.31: use correct undo strings 2005/11/16 11:52:48 iha 1.17.4.30: undo for rotating diagram 2005/11/16 10:55:39 iha 1.17.4.29: undo for moving and sizing objects 2005/11/15 14:13:47 iha 1.17.4.28: remove explicit view-dirty-setting after draging as model changes are now notified 2005/11/02 13:49:19 bm 1.17.4.27: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/07 11:34:42 bm 1.17.4.26: RESYNC: (1.19-1.20); FILE MERGED 2005/09/02 14:25:30 iha 1.17.4.25: update view after resize 2005/07/23 00:01:19 iha 1.17.4.24: include axis title sizes in diagram position to support old api and fileformat 2005/07/19 10:10:22 iha 1.17.4.23: false throw 2005/07/08 12:23:35 iha 1.17.4.22: removed unused includes 2005/07/07 15:19:30 iha 1.17.4.21: implement interface XSelectionSupplier 2005/07/07 08:35:30 iha 1.17.4.20: implement interface XSelectionSupplier 2005/07/05 15:54:05 iha 1.17.4.19: redefine diagram size 2005/06/09 15:51:58 iha 1.17.4.18: support positions and sizes via view for old api wrapper 2005/06/03 14:38:18 iha 1.17.4.17: set correct size 2005/05/31 19:00:39 iha 1.17.4.16: create old api without controller 2005/04/19 17:39:22 iha 1.17.4.15: make more failsave 2005/04/04 11:23:23 bm 1.17.4.14: handle accelerator keys 2005/03/18 01:20:11 bm 1.17.4.13: RESYNC: (1.18-1.19); FILE MERGED 2004/09/17 11:37:09 iha 1.17.4.12: implement api redesign - dimension property 2004/09/16 14:49:12 iha 1.17.4.11: implement api redesign 2004/08/31 13:23:41 iha 1.17.4.10: enable context menu again 2004/08/26 15:54:57 iha 1.17.4.9: View independent loading - different setting of page size 2004/08/25 16:35:14 iha 1.17.4.8: removed unused code 2004/08/24 14:00:24 iha 1.17.4.7: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:24 bm 1.17.4.6: RESYNC: (1.17-1.18); FILE MERGED 2004/06/01 19:02:46 iha 1.17.4.5: new 3D view/effects dialog 2004/04/26 17:35:14 iha 1.17.4.4: #i27367# protect view access with solar mutex 2004/04/26 11:15:29 iha 1.17.4.3: #i27367# offer access to created shapes for old api 2004/03/05 15:03:06 iha 1.17.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:08:56 iha 1.17.4.1: handle lifetime of the ChartWindow correct
2007-05-22 17:04:30 +00:00
pWindow->SetPointer( Pointer( POINTER_ROTATE ) );
else
{
ObjectType eHitObjectType = ObjectIdentifier::getObjectType( aHitObjectCID );
if( eHitObjectType == OBJECTTYPE_DATA_POINT )
{
if( !ObjectIdentifier::areSiblings(aHitObjectCID,m_aSelection.getSelectedCID())
&& !ObjectIdentifier::areIdenticalObjects(aHitObjectCID,m_aSelection.getSelectedCID()) )
{
pWindow->SetPointer( Pointer( POINTER_ARROW ));
return;
}
}
pWindow->SetPointer( POINTER_MOVE );
}
}
else
pWindow->SetPointer( Pointer( POINTER_ARROW ));
}
}
2003-10-06 08:58:36 +00:00
}
//.............................................................................
} //namespace chart
//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */