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

1978 lines
75 KiB
C++
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
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 "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 "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/awt/PopupMenuDirection.hpp>
#include <com/sun/star/frame/DispatchHelper.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/FrameSearchFlag.hpp>
#include <com/sun/star/frame/XPopupMenuController.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/util/XUpdatable.hpp>
#include <comphelper/InlineContainer.hxx>
#include <comphelper/propertysequence.hxx>
#include <comphelper/propertyvalue.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
#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
#include <svx/scene3d.hxx>
#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 <vcl/settings.hxx>
#include <osl/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
#include <vcl/msgbox.hxx>
#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;
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 );
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 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 );
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 lcl_insertMenuCommand(
const uno::Reference< awt::XPopupMenu > & xMenu,
sal_Int16 nId, const OUString & rCommand )
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
{
static OUString aEmptyString;
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
xMenu->insertItem( nId, aEmptyString, 0, -1 );
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
xMenu->setCommand( nId, rCommand );
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
}
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( ".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 = ".uno:FormatWall";
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
break;
case OBJECTTYPE_DIAGRAM_FLOOR:
aDispatchCommand = ".uno:FormatFloor";
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
break;
case OBJECTTYPE_PAGE:
aDispatchCommand = ".uno:FormatChartArea";
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
break;
case OBJECTTYPE_LEGEND:
aDispatchCommand = ".uno:FormatLegend";
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
break;
case OBJECTTYPE_TITLE:
aDispatchCommand = ".uno:FormatTitle";
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
break;
case OBJECTTYPE_LEGEND_ENTRY:
aDispatchCommand = ".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
break;
case OBJECTTYPE_AXIS:
case OBJECTTYPE_AXIS_UNITLABEL:
aDispatchCommand = ".uno:FormatAxis";
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
break;
case OBJECTTYPE_GRID:
aDispatchCommand = ".uno:FormatMajorGrid";
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
break;
case OBJECTTYPE_SUBGRID:
aDispatchCommand = ".uno:FormatMinorGrid";
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
break;
case OBJECTTYPE_DATA_LABELS:
aDispatchCommand = ".uno:FormatDataLabels";
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
break;
case OBJECTTYPE_DATA_SERIES:
aDispatchCommand = ".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
break;
case OBJECTTYPE_DATA_LABEL:
aDispatchCommand = ".uno:FormatDataLabel";
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
break;
case OBJECTTYPE_DATA_POINT:
aDispatchCommand = ".uno:FormatDataPoint";
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
break;
case OBJECTTYPE_DATA_AVERAGE_LINE:
aDispatchCommand = ".uno:FormatMeanValue";
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
break;
case OBJECTTYPE_DATA_ERRORS_X:
aDispatchCommand = ".uno:FormatXErrorBars";
break;
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
case OBJECTTYPE_DATA_ERRORS_Y:
aDispatchCommand = ".uno:FormatYErrorBars";
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
break;
case OBJECTTYPE_DATA_ERRORS_Z:
aDispatchCommand = ".uno:FormatZErrorBars";
break;
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
case OBJECTTYPE_DATA_CURVE:
aDispatchCommand = ".uno:FormatTrendline";
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
break;
case OBJECTTYPE_DATA_CURVE_EQUATION:
aDispatchCommand = ".uno:FormatTrendlineEquation";
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
break;
case OBJECTTYPE_DATA_STOCK_RANGE:
aDispatchCommand = ".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
break;
case OBJECTTYPE_DATA_STOCK_LOSS:
aDispatchCommand = ".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
break;
case OBJECTTYPE_DATA_STOCK_GAIN:
aDispatchCommand = ".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
break;
default: //OBJECTTYPE_UNKNOWN
break;
}
return aDispatchCommand;
}
} // anonymous namespace
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, std::exception)
2003-10-06 08:58:36 +00:00
{
SolarMutexGuard aGuard;
2003-10-06 08:58:36 +00:00
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is() && 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
{
Size aLogicSize = m_pChartWindow->PixelToLogic( Size( Width, Height ), MapMode( MAP_100TH_MM ) );
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
2012-02-18 12:37:04 +08:00
//todo: for standalone chart: detect whether we are standalone
//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;
MapMode aNewMapMode(
MAP_100TH_MM,
Point(0,0),
Fraction(nScaleXNumerator, nScaleXDenominator),
Fraction(nScaleYNumerator, nScaleYDenominator) );
m_pChartWindow->SetMapMode(aNewMapMode);
m_pChartWindow->setPosSizePixel( X, Y, Width, Height, static_cast<PosSizeFlags>(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() )
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
{
auto aZoomFactors(::comphelper::InitPropertySequence({
{ "ScaleXNumerator", uno::makeAny( nScaleXNumerator ) },
{ "ScaleXDenominator", uno::makeAny( nScaleXDenominator ) },
{ "ScaleYNumerator", uno::makeAny( nScaleYNumerator ) },
{ "ScaleYDenominator", uno::makeAny( nScaleYDenominator ) }
}));
xProp->setPropertyValue( "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)
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 aRect(Point(0,0), m_pChartWindow->GetOutputSize());
m_pDrawViewWrapper->SetWorkArea( aRect );
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_pChartWindow->Invalidate();
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
}
awt::Rectangle SAL_CALL ChartController::getPosSize()
throw (uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
//@todo
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, std::exception)
2003-10-06 08:58:36 +00:00
{
//@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, std::exception)
2003-10-06 08:58:36 +00:00
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->setEnable( Enable );
}
void SAL_CALL ChartController::setFocus()
throw (uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
//@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, std::exception)
2003-10-06 08:58:36 +00:00
{
//@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, std::exception)
2003-10-06 08:58:36 +00:00
{
//@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, std::exception)
2003-10-06 08:58:36 +00:00
{
//@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, std::exception)
2003-10-06 08:58:36 +00:00
{
//@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, std::exception)
2003-10-06 08:58:36 +00:00
{
//@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, std::exception)
2003-10-06 08:58:36 +00:00
{
//@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, std::exception)
2003-10-06 08:58:36 +00:00
{
//@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, std::exception)
2003-10-06 08:58:36 +00:00
{
//@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, std::exception)
2003-10-06 08:58:36 +00:00
{
//@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, std::exception)
2003-10-06 08:58:36 +00:00
{
//@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, std::exception)
2003-10-06 08:58:36 +00:00
{
//@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, std::exception)
2003-10-06 08:58:36 +00:00
{
//@todo
uno::Reference<awt::XWindow> xWindow = m_xViewWindow;
if(xWindow.is())
xWindow->removePaintListener( xListener );
}
// impl vcl window controller methods
void ChartController::PrePaint(vcl::RenderContext& /*rRenderContext*/)
{
// forward VCLs PrePaint window event to DrawingLayer
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
if (pDrawViewWrapper)
{
pDrawViewWrapper->PrePaint();
}
}
void ChartController::execute_Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect)
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
try
2003-10-06 08:58:36 +00:00
{
uno::Reference<frame::XModel> xModel(getModel());
//OSL_ENSURE( 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())
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::Size aResolution(1000, 1000);
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
{
SolarMutexGuard aGuard;
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
{
aResolution.Width = m_pChartWindow->GetSizePixel().Width();
aResolution.Height = m_pChartWindow->GetSizePixel().Height();
}
}
xProp->setPropertyValue( "Resolution", uno::makeAny( aResolution ));
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
uno::Reference< util::XUpdatable > xUpdatable( m_xChartView, uno::UNO_QUERY );
if (xUpdatable.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
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
{
SolarMutexGuard aGuard;
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
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
if (pDrawViewWrapper)
pDrawViewWrapper->CompleteRedraw(&rRenderContext, vcl::Region(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
}
}
2011-11-29 02:06:57 +09:00
catch( const 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 );
}
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();
}
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
{
SolarMutexGuard aGuard;
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;
sal_uInt64 nDblClkTime = 500;
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_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
}
IMPL_LINK_NOARG_TYPED(ChartController, DoubleClickWaitingHdl, Timer *, void)
{
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();
SolarMutexGuard aGuard;
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_pChartWindow )
{
vcl::Window::PointerState aPointerState( m_pChartWindow->GetPointerState() );
MouseEvent aMouseEvent(
aPointerState.maPos,
1/*nClicks*/,
MouseEventModifiers::NONE,
static_cast< sal_uInt16 >( aPointerState.mnState )/*nButtons*/,
0/*nModifier*/ );
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( 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
void ChartController::execute_MouseButtonDown( const MouseEvent& rMEvt )
{
SolarMutexGuard aGuard;
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
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
if(!m_pChartWindow || !pDrawViewWrapper )
2004-01-06 18:37:12 +00:00
return;
Point aMPos = m_pChartWindow->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
if ( MOUSE_LEFT == rMEvt.GetButtons() )
{
m_pChartWindow->GrabFocus();
m_pChartWindow->CaptureMouse();
2003-10-06 08:58:36 +00:00
}
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 ) ||
// #i12587# support for shapes in chart
( rMEvt.IsRight() && pDrawViewWrapper->PickAnything( rMEvt, SdrMouseEventKind::BUTTONDOWN, 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
SdrHdl* pHitSelectionHdl = nullptr;
//switch from move to resize if handle is hit on a resizable 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;
}
m_aSelection.adaptSelectionToNewPos(
aMPos,
pDrawViewWrapper,
rMEvt.IsRight(),
m_bWaitingForDoubleClick );
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.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
sal_uInt16 nDrgLog = (sal_uInt16)m_pChartWindow->PixelToLogic(Size(DRGPIX,0)).Width();
SdrDragMethod* pDragMethod = nullptr;
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
{
OUString aDragMethodServiceName( ObjectIdentifier::getDragMethodServiceName( m_aSelection.getSelectedCID() ) );
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( aDragMethodServiceName.equals( ObjectIdentifier::getPieSegmentDragMethodServiceName() ) )
pDragMethod = new DragMethod_PieSegment( *pDrawViewWrapper, m_aSelection.getSelectedCID(), getModel() );
}
pDrawViewWrapper->SdrView::BegDragObj(aMPos, nullptr, 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 )
{
SolarMutexGuard aGuard;
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
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
if(!m_pChartWindow || !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
{
pDrawViewWrapper->MovAction( m_pChartWindow->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
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
}
2003-10-06 08:58:36 +00:00
void ChartController::execute_MouseButtonUp( const MouseEvent& rMEvt )
{
ControllerLockGuardUNO 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
{
SolarMutexGuard aGuard;
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
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
if(!m_pChartWindow || !pDrawViewWrapper)
2003-10-28 15:04:41 +00:00
return;
2003-11-22 17:23:40 +00:00
Point aMPos = m_pChartWindow->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
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 );
{
HiddenUndoContext aUndoContext( m_xUndoManager );
// don't want the positioning Undo action to appear in the UI
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();
bool bIsMoveOnly = pDragMethod && pDragMethod->getMoveOnly();
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 );
if( pDrawViewWrapper->EndDragObj() )
{
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.commit();
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() )
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
{
//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;
ObjectType eObjectType = ObjectIdentifier::getObjectType( m_aSelection.getSelectedCID() );
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(
ActionDescriptionProvider::createDescription( eActionType, ObjectNameProvider::getName( eObjectType)),
m_xUndoManager );
bool bChanged = false;
ChartModel* pModel = dynamic_cast<ChartModel*>(getModel().get());
if ( eObjectType == OBJECTTYPE_LEGEND )
bChanged = DiagramHelper::switchDiagramPositioningToExcludingPositioning( *pModel, false , true );
bool bMoved = 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()) );
if( bMoved || 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.commit();
}
}
}
2011-11-29 02:06:57 +09:00
catch( const 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
//toggle between move and rotate
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( 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);
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() )
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() )
{
OUString aCID( m_aSelection.getSelectedCID() );
if ( !aCID.isEmpty() )
{
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 ( dynamic_cast< const SdrTextObj* >(pObj) != nullptr )
{
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()
{
SolarMutexGuard aGuard;
if(m_pChartWindow)
m_pChartWindow->Invalidate();
2003-10-06 08:58:36 +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
bool bIsAction = false;
{
SolarMutexGuard aGuard;
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
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
if(!m_pChartWindow || !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
return;
bIsAction = m_pDrawViewWrapper->IsAction();
}
2003-10-06 08:58:36 +00:00
// pop-up menu
if(rCEvt.GetCommand() == CommandEventId::ContextMenu && !bIsAction)
2003-10-06 08:58:36 +00:00
{
{
SolarMutexGuard aGuard;
if(m_pChartWindow)
m_pChartWindow->ReleaseMouse();
}
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.isSelectionDifferentFromBeforeMouseDown() )
impl_notifySelectionChangeListeners();
2003-10-06 08:58:36 +00:00
css::uno::Reference< css::awt::XPopupMenu > xPopupMenu( m_xCC->getServiceManager()->createInstanceWithContext(
"com.sun.star.awt.PopupMenu", m_xCC ), css::uno::UNO_QUERY );
Point aPos( rCEvt.GetMousePosPixel() );
if( !rCEvt.IsMouseEvent() )
{
SolarMutexGuard aGuard;
if(m_pChartWindow)
aPos = m_pChartWindow->GetPointerState().maPos;
}
2010-03-01 12:22:02 +01:00
if ( isShapeContext() )
{
// #i12587# support for shapes in chart
OUString aMenuName = m_pDrawViewWrapper->IsTextEdit() ? OUString( "drawtext" ) : OUString( "draw" );
css::uno::Sequence< css::uno::Any > aArgs( 3 );
aArgs[0] <<= comphelper::makePropertyValue( "Value", aMenuName );
aArgs[1] <<= comphelper::makePropertyValue( "Frame", m_xFrame );
aArgs[2] <<= comphelper::makePropertyValue( "IsContextMenu", true );
css::uno::Reference< css::frame::XPopupMenuController > xPopupController(
m_xCC->getServiceManager()->createInstanceWithArgumentsAndContext(
"com.sun.star.comp.framework.ResourceMenuController", aArgs, m_xCC ), css::uno::UNO_QUERY );
if ( !xPopupController.is() || !xPopupMenu.is() )
return;
xPopupController->setPopupMenu( xPopupMenu );
xPopupMenu->execute( css::uno::Reference< css::awt::XWindowPeer >( m_xFrame->getContainerWindow(), css::uno::UNO_QUERY ),
css::awt::Rectangle( aPos.X(), aPos.Y(), 0, 0 ),
css::awt::PopupMenuDirection::EXECUTE_DEFAULT );
css::uno::Reference< css::lang::XComponent > xComponent( xPopupController, css::uno::UNO_QUERY );
if ( xComponent.is() )
xComponent->dispose();
2010-03-01 12:22:02 +01:00
}
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
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
if( xPopupMenu.is())
2010-03-01 12:22:02 +01:00
{
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() ) );
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, 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:
2010-03-01 12:22:02 +01:00
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 );
bool bHasXErrorBars = StatisticsHelper::hasErrorBars( xSeries, false );
2010-03-01 12:22:02 +01:00
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( "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
if( bIsPoint )
{
if( bHasDataLabelAtPoint )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:FormatDataLabel" );
2010-03-01 12:22:02 +01:00
if( !bHasDataLabelAtPoint )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertDataLabel" );
2010-03-01 12:22:02 +01:00
else
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DeleteDataLabel" );
2010-03-01 12:22:02 +01:00
if( bSelectedPointIsFormatted )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:ResetDataPoint" );
2010-03-01 12:22:02 +01:00
xPopupMenu->insertSeparator( -1 );
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:FormatDataSeries" );
2010-03-01 12:22:02 +01:00
}
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() == 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( "Japanese" ) >>= bJapaneseStyle;
2010-03-01 12:22:02 +01:00
if( bJapaneseStyle )
{
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:FormatStockLoss" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:FormatStockGain" );
2010-03-01 12:22:02 +01:00
}
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, nUniqueId++, ".uno:FormatDataLabels" );
2010-03-01 12:22:02 +01:00
if( bHasEquation )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:FormatTrendlineEquation" );
2010-03-01 12:22:02 +01:00
if( xMeanValue.is() )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:FormatMeanValue" );
if( bHasXErrorBars )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:FormatXErrorBars" );
2010-03-01 12:22:02 +01:00
if( bHasYErrorBars )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:FormatYErrorBars" );
2010-03-01 12:22:02 +01:00
2011-01-17 17:38:29 +01:00
xPopupMenu->insertSeparator( -1 );
2010-03-01 12:22:02 +01:00
if( !bHasDataLabelsAtSeries )
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertDataLabels" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertTrendline" );
2010-03-01 12:22:02 +01:00
if( !xMeanValue.is() )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertMeanValue" );
if( !bHasXErrorBars )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertXErrorBars" );
2010-03-01 12:22:02 +01:00
if( !bHasYErrorBars )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertYErrorBars" );
2010-03-01 12:22:02 +01:00
if( bHasDataLabelsAtSeries || ( bHasDataLabelsAtPoints && bHasFormattedDataPointsOtherThanSelected ) )
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DeleteDataLabels" );
2010-03-01 12:22:02 +01:00
if( bHasEquation )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DeleteTrendlineEquation" );
2010-03-01 12:22:02 +01:00
if( xMeanValue.is() )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DeleteMeanValue" );
if( bHasXErrorBars )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DeleteXErrorBars" );
2010-03-01 12:22:02 +01:00
if( bHasYErrorBars )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DeleteYErrorBars" );
2010-03-01 12:22:02 +01:00
if( bHasFormattedDataPointsOtherThanSelected )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:ResetAllDataPoints" );
2010-03-01 12:22:02 +01:00
2011-01-17 17:38:29 +01:00
xPopupMenu->insertSeparator( -1 );
2010-03-01 12:22:02 +01:00
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId, ".uno:ArrangeRow" );
2010-03-01 12:22:02 +01:00
uno::Reference< awt::XPopupMenu > xArrangePopupMenu(
m_xCC->getServiceManager()->createInstanceWithContext(
"com.sun.star.awt.PopupMenu", m_xCC ), uno::UNO_QUERY );
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
if( xArrangePopupMenu.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;
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xArrangePopupMenu, nSubId++, ".uno:Forward" );
lcl_insertMenuCommand( xArrangePopupMenu, nSubId, ".uno:Backward" );
2010-03-01 12:22:02 +01:00
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 )
{
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DeleteTrendline" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:FormatTrendlineEquation" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertTrendlineEquation" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertTrendlineEquationAndR2" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertR2Value" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DeleteTrendlineEquation" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DeleteR2Value" );
2010-03-01 12:22:02 +01:00
}
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
{
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertR2Value" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".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
2010-03-01 12:22:02 +01:00
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() ).isEmpty();
2010-03-01 12:22:02 +01:00
if( OBJECTTYPE_AXIS != eObjectType && bIsAxisVisible )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:FormatAxis" );
2010-03-01 12:22:02 +01:00
if( OBJECTTYPE_GRID != eObjectType && bIsMajorGridVisible && !bIsSecondaryAxis )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:FormatMajorGrid" );
2010-03-01 12:22:02 +01:00
if( OBJECTTYPE_SUBGRID != eObjectType && bIsMinorGridVisible && !bIsSecondaryAxis )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:FormatMinorGrid" );
2010-03-01 12:22:02 +01:00
xPopupMenu->insertSeparator( -1 );
if( OBJECTTYPE_AXIS != eObjectType && !bIsAxisVisible )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertAxis" );
2010-03-01 12:22:02 +01:00
if( OBJECTTYPE_GRID != eObjectType && !bIsMajorGridVisible && !bIsSecondaryAxis )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertMajorGrid" );
2010-03-01 12:22:02 +01:00
if( OBJECTTYPE_SUBGRID != eObjectType && !bIsMinorGridVisible && !bIsSecondaryAxis )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertMinorGrid" );
2010-03-01 12:22:02 +01:00
if( !bHasTitle )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertAxisTitle" );
2010-03-01 12:22:02 +01:00
if( bIsAxisVisible )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DeleteAxis" );
2010-03-01 12:22:02 +01:00
if( bIsMajorGridVisible && !bIsSecondaryAxis )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DeleteMajorGrid" );
2010-03-01 12:22:02 +01:00
if( bIsMinorGridVisible && !bIsSecondaryAxis )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DeleteMinorGrid" );
2010-03-01 12:22:02 +01:00
}
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 )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:FormatStockGain" );
2010-03-01 12:22:02 +01:00
else if( OBJECTTYPE_DATA_STOCK_GAIN == eObjectType )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".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
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".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 );
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertTitles" );
2010-03-01 12:22:02 +01:00
if( !bHasLegend )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertLegend" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:InsertRemoveAxes" );
2010-03-01 12:22:02 +01:00
if( bHasLegend )
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DeleteLegend" );
2010-03-01 12:22:02 +01:00
}
2010-03-01 12:22:02 +01:00
xPopupMenu->insertSeparator( -1 );
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DiagramType" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DataRanges" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:DiagramData" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:View3D" );
2010-03-01 12:22:02 +01:00
xPopupMenu->insertSeparator( -1 );
Resolves: #i121542# Unify the Menu API (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2012-12-23 11:29:21 +00:00
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:Cut" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:Copy" );
lcl_insertMenuCommand( xPopupMenu, nUniqueId++, ".uno:Paste" );
2010-03-01 12:22:02 +01:00
::svt::ContextMenuHelper aContextMenuHelper( m_xFrame );
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
}
}
else if( ( rCEvt.GetCommand() == CommandEventId::StartExtTextInput ) ||
( rCEvt.GetCommand() == CommandEventId::ExtTextInput ) ||
( rCEvt.GetCommand() == CommandEventId::EndExtTextInput ) ||
( rCEvt.GetCommand() == CommandEventId::InputContextChange ) )
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
{
//#i84417# enable editing with IME
SolarMutexGuard aGuard;
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
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
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
if(!m_pChartWindow || !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
return bReturn;
// handle accelerators
if( ! m_apAccelExecute.get() && m_xFrame.is() && m_xCC.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
{
m_apAccelExecute = ::svt::AcceleratorExecute::createAcceleratorHelper();
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
OSL_ASSERT( m_apAccelExecute.get());
if( m_apAccelExecute.get() )
m_apAccelExecute->init( m_xCC, m_xFrame );
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
}
vcl::KeyCode aKeyCode( rKEvt.GetKeyCode());
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
sal_uInt16 nCode = aKeyCode.GetCode();
bool bAlternate = aKeyCode.IsMod2();
bool bCtrl = aKeyCode.IsMod1();
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_apAccelExecute.get() )
bReturn = m_apAccelExecute->execute( aKeyCode );
if( bReturn )
return bReturn;
2003-10-28 15:04:41 +00:00
{
SolarMutexGuard aGuard;
if( pDrawViewWrapper->IsTextEdit() )
2003-10-28 15:04:41 +00:00
{
if( pDrawViewWrapper->KeyInput(rKEvt,m_pChartWindow) )
2003-10-28 15:04:41 +00:00
{
bReturn = true;
if( nCode == KEY_ESCAPE )
{
this->EndTextEdit();
}
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
// 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;
OUString aParameter( ObjectIdentifier::getDragParameterString( m_aSelection.getSelectedCID() ));
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
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 && 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
{
// together with Alt-key: 1 px in each direction
SolarMutexGuard aGuard;
if( m_pChartWindow )
{
Size aPixelSize = m_pChartWindow->PixelToLogic( Size( 2, 2 ));
fGrowAmountX = static_cast< double >( aPixelSize.Width());
fGrowAmountY = static_cast< double >( aPixelSize.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
}
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 && 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
{
// together with Alt-key: 1 px
SolarMutexGuard aGuard;
if(m_pChartWindow)
{
Size aPixelSize = m_pChartWindow->PixelToLogic( Size( 1, 1 ));
fShiftAmountX = static_cast< double >( aPixelSize.Width());
fShiftAmountY = static_cast< double >( aPixelSize.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
}
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().isEmpty() )
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
{
//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 );
}
}
}
}
}
}
// dumping the shape
if( !bReturn && bCtrl && nCode == KEY_F12)
{
uno::Reference< qa::XDumper > xChartModel( getModel(), uno::UNO_QUERY );
if(xChartModel.is())
{
OUString aDump = xChartModel->dump();
SAL_WARN("chart2", aDump);
}
}
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
// 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( frame::DispatchHelper::create(m_xCC) );
uno::Sequence< beans::PropertyValue > aArgs;
xDispatchHelper->executeDispatch(
uno::Reference< frame::XDispatchProvider >( m_xFrame, uno::UNO_QUERY ),
".uno:TerminateInplaceActivation",
"_parent",
frame::FrameSearchFlag::PARENT,
aArgs );
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( ! 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 )
{
SolarMutexGuard aGuard;
ScopedVclPtr<InfoBox>::Create( m_pChartWindow, SCH_RESSTR( STR_ACTION_NOTPOSSIBLE ))->Execute();
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-28 15:04:41 +00:00
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,
OUString & rOutQuickHelpText,
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 & 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
OUString aCID;
if( m_pDrawViewWrapper )
{
aCID = SelectionHelper::getHitObjectCID(
aAtLogicPosition, *m_pDrawViewWrapper );
}
bool bResult( !aCID.isEmpty());
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( 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, uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
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 == cppu::UnoType< OUString >::get() )
{
OUString aNewCID;
if ( ( rSelection >>= aNewCID ) && m_aSelection.setSelection( aNewCID ) )
{
bSuccess = true;
}
}
else if ( rType == cppu::UnoType<drawing::XShape>::get() )
{
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
{
SolarMutexGuard aGuard;
if ( m_pDrawViewWrapper && m_pDrawViewWrapper->IsTextEdit() )
{
this->EndTextEdit();
}
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 )
{
m_pChartWindow->Invalidate();
}
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 sal_True;
}
2003-10-06 08:58:36 +00:00
return sal_False;
}
uno::Any SAL_CALL ChartController::getSelection()
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
uno::Any aReturn;
if ( m_aSelection.hasSelection() )
{
OUString aCID( m_aSelection.getSelectedCID() );
if ( !aCID.isEmpty() )
{
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, std::exception)
2003-10-06 08:58:36 +00:00
{
SolarMutexGuard aGuard;
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( 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( cppu::UnoType<view::XSelectionChangeListener>::get(), xListener );
2003-10-06 08:58:36 +00:00
}
void SAL_CALL ChartController::removeSelectionChangeListener( const uno::Reference<view::XSelectionChangeListener> & xListener )
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
SolarMutexGuard aGuard;
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( 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( cppu::UnoType<view::XSelectionChangeListener>::get(), xListener );
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_notifySelectionChangeListeners()
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
{
::cppu::OInterfaceContainerHelper* pIC = m_aLifeTimeManager.m_aListenerContainer
.getContainer( cppu::UnoType<view::XSelectionChangeListener>::get() );
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( 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()
{
{
SolarMutexGuard aGuard;
DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
if( pDrawViewWrapper )
{
pDrawViewWrapper->SetDragMode( m_eDragMode );
m_aSelection.applySelection( 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
}
impl_notifySelectionChangeListeners();
}
bool ChartController::impl_moveOrResizeObject(
const OUString & rCID,
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
eMoveOrResizeType eType,
double fAmountLogicX,
double fAmountLogicY )
{
bool bResult = false;
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( "RelativePosition") >>= aRelPos);
bool bDetermineSize = !bNeedResize || !(xObjProp->getPropertyValue( "RelativeSize") >>= aRelSize);
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( ( 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 );
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
{
ControllerLockGuardUNO aCLGuard( xChartModel );
xObjProp->setPropertyValue( "RelativePosition", uno::makeAny( aRelPos ));
if( bNeedResize || (eObjectType == OBJECTTYPE_DIAGRAM) )//Also set an explicit size at the diagram when an explicit position is set
xObjProp->setPropertyValue( "RelativeSize", uno::makeAny( aRelSize ));
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
}
aUndoGuard.commit();
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 bResult;
}
bool ChartController::impl_DragDataPoint( const OUString & rCID, double fAdditionalOffset )
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 = 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( "Offset" ) >>= fOffset ) &&
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
(( 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( "Offset", uno::makeAny( fOffset ));
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
bResult = true;
}
}
catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
}
return bResult;
}
void ChartController::impl_SetMousePointer( const MouseEvent & rEvent )
{
SolarMutexGuard aGuard;
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 || !m_pChartWindow)
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 aMousePos( m_pChartWindow->PixelToLogic( rEvent.GetPosPixel()));
sal_uInt16 nModifier = rEvent.GetModifier();
bool bLeftDown = rEvent.IsLeft();
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->IsTextEdit() )
{
if( m_pDrawViewWrapper->IsTextEditHit( aMousePos ) )
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_pChartWindow->SetPointer( m_pDrawViewWrapper->GetPreferredPointer(
aMousePos, m_pChartWindow, nModifier, bLeftDown ) );
return;
}
}
else if( m_pDrawViewWrapper->IsAction() )
{
return;//don't change pointer during running action
}
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
SdrHdl* pHitSelectionHdl = nullptr;
if( m_aSelection.isResizeableObjectSelected() )
pHitSelectionHdl = m_pDrawViewWrapper->PickHandle( aMousePos );
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( pHitSelectionHdl )
{
Pointer aPointer = m_pDrawViewWrapper->GetPreferredPointer(
aMousePos, m_pChartWindow, nModifier, bLeftDown );
bool bForceArrowPointer = 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
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 PointerStyle::NSize:
case PointerStyle::SSize:
case PointerStyle::WSize:
case PointerStyle::ESize:
case PointerStyle::NWSize:
case PointerStyle::NESize:
case PointerStyle::SWSize:
case PointerStyle::SESize:
if( ! m_aSelection.isResizeableObjectSelected() )
bForceArrowPointer = true;
break;
case PointerStyle::Move:
if ( !aOID.isDragableObject() )
bForceArrowPointer = true;
break;
case PointerStyle::MovePoint:
case PointerStyle::MoveBezierWeight:
// there is no point-editing in a chart
// the PointerStyle::MoveBezierWeight appears in 3d data points
bForceArrowPointer = true;
break;
default:
break;
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( bForceArrowPointer )
m_pChartWindow->SetPointer( Pointer( PointerStyle::Arrow ));
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_pChartWindow->SetPointer( aPointer );
return;
}
// #i12587# support for shapes in chart
if ( m_eDrawMode == CHARTDRAW_INSERT &&
( !m_pDrawViewWrapper->IsMarkedHit( aMousePos ) || !m_aSelection.isDragableObjectSelected() ) )
{
PointerStyle ePointerStyle = PointerStyle::DrawRect;
SdrObjKind eKind = static_cast< SdrObjKind >( m_pDrawViewWrapper->GetCurrentObjIdentifier() );
switch ( eKind )
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
{
case OBJ_LINE:
{
ePointerStyle = PointerStyle::DrawLine;
}
break;
case OBJ_RECT:
case OBJ_CUSTOMSHAPE:
{
ePointerStyle = PointerStyle::DrawRect;
}
break;
case OBJ_CIRC:
{
ePointerStyle = PointerStyle::DrawEllipse;
}
break;
case OBJ_FREELINE:
{
ePointerStyle = PointerStyle::DrawPolygon;
}
break;
case OBJ_TEXT:
{
ePointerStyle = PointerStyle::DrawText;
}
break;
case OBJ_CAPTION:
{
ePointerStyle = PointerStyle::DrawCaption;
}
break;
default:
{
ePointerStyle = PointerStyle::DrawRect;
}
break;
}
m_pChartWindow->SetPointer( Pointer( ePointerStyle ) );
return;
}
OUString aHitObjectCID(
SelectionHelper::getHitObjectCID(
aMousePos, *m_pDrawViewWrapper, true /*bGetDiagramInsteadOf_Wall*/ ));
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->IsTextEdit() )
{
if( aHitObjectCID.equals(m_aSelection.getSelectedCID()) )
{
m_pChartWindow->SetPointer( Pointer( PointerStyle::Arrow ));
return;
}
}
if( aHitObjectCID.isEmpty() )
{
//additional shape was hit
m_pChartWindow->SetPointer( PointerStyle::Move );
}
else if( ObjectIdentifier::isDragableObject( aHitObjectCID ) )
{
if( (m_eDragMode == SDRDRAG_ROTATE)
&& SelectionHelper::isRotateableObject( aHitObjectCID
, getModel() ) )
m_pChartWindow->SetPointer( Pointer( PointerStyle::Rotate ) );
else
{
ObjectType eHitObjectType = ObjectIdentifier::getObjectType( aHitObjectCID );
if( eHitObjectType == OBJECTTYPE_DATA_POINT )
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( !ObjectIdentifier::areSiblings(aHitObjectCID,m_aSelection.getSelectedCID())
&& !ObjectIdentifier::areIdenticalObjects(aHitObjectCID,m_aSelection.getSelectedCID()) )
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_pChartWindow->SetPointer( Pointer( PointerStyle::Arrow ));
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;
}
}
m_pChartWindow->SetPointer( PointerStyle::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
}
}
else
m_pChartWindow->SetPointer( Pointer( PointerStyle::Arrow ));
2003-10-06 08:58:36 +00:00
}
} //namespace chart
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */