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

1643 lines
56 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 .
*/
#include <sal/config.h>
#include <set>
2003-10-06 08:58:36 +00:00
#include "ChartController.hxx"
#include "servicenames.hxx"
#include "ResId.hxx"
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
#include "dlg_DataSource.hxx"
#include "ChartModelHelper.hxx"
#include "ControllerCommandDispatch.hxx"
#include "Strings.hrc"
#include "chartview/ExplicitValueProvider.hxx"
#include "ChartViewHelper.hxx"
2003-10-06 08:58:36 +00:00
#include "ChartWindow.hxx"
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
#include "chartview/DrawModelWrapper.hxx"
2003-10-06 08:58:36 +00:00
#include "DrawViewWrapper.hxx"
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
#include "ObjectIdentifier.hxx"
2003-11-04 14:35:09 +00:00
#include "DiagramHelper.hxx"
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
#include "ControllerLockGuard.hxx"
#include "UndoGuard.hxx"
#include "ChartDropTargetHelper.hxx"
2003-10-06 08:58:36 +00:00
#include "macros.hxx"
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
#include "dlg_CreationWizard.hxx"
2003-10-06 08:58:36 +00:00
#include "dlg_ChartType.hxx"
#include "AccessibleChartView.hxx"
#include "DrawCommandDispatch.hxx"
#include "ShapeController.hxx"
#include "UndoActions.hxx"
#include "ViewElementListProvider.hxx"
2003-10-06 08:58:36 +00:00
#include <cppuhelper/supportsservice.hxx>
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
#include <com/sun/star/awt/PosSize.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/chart2/data/XDataReceiver.hpp>
#include <com/sun/star/frame/XLoadable.hpp>
#include <com/sun/star/frame/XController2.hpp>
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
#include <com/sun/star/util/XCloneable.hpp>
#include <com/sun/star/embed/XEmbeddedClient.hpp>
#include <com/sun/star/util/XModeChangeBroadcaster.hpp>
#include <com/sun/star/util/XModifyBroadcaster.hpp>
#include <com/sun/star/frame/LayoutManagerEvents.hpp>
#include <com/sun/star/document/XUndoManagerSupplier.hpp>
#include <com/sun/star/document/XUndoAction.hpp>
#include <com/sun/star/ui/XSidebar.hpp>
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
#include <com/sun/star/chart2/XCoordinateSystemContainer.hpp>
2003-10-06 08:58:36 +00:00
#include <svx/sidebar/SelectionChangeHandler.hxx>
2003-10-06 08:58:36 +00:00
#include <vcl/msgbox.hxx>
#include <toolkit/awt/vclxwindow.hxx>
#include <toolkit/helper/vclunohelper.hxx>
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
#include <sfx2/sidebar/SidebarController.hxx>
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
2003-10-06 08:58:36 +00:00
// this is needed to properly destroy the unique_ptr to the AcceleratorExecute
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
// object in the DTOR
#include <svtools/acceleratorexecute.hxx>
#include <svx/ActionDescriptionProvider.hxx>
#include <tools/diagnose_ex.h>
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
// enable the following define to let the controller listen to model changes and
// react on this by rebuilding the view
#define TEST_ENABLE_MODIFY_LISTENER
2003-10-06 08:58:36 +00:00
namespace chart
{
using namespace ::com::sun::star;
using namespace ::com::sun::star::accessibility;
using namespace ::com::sun::star::chart2;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
2003-10-06 08:58:36 +00:00
ChartController::ChartController(uno::Reference<uno::XComponentContext> const & xContext) :
m_aLifeTimeManager( nullptr ),
m_bSuspended( false ),
m_xCC(xContext), //@todo is it allowed to hold this context??
m_xFrame( nullptr ),
m_aModelMutex(),
m_aModel( nullptr, m_aModelMutex ),
m_pChartWindow( nullptr ),
m_xViewWindow(),
m_xChartView(),
m_pDrawModelWrapper(),
m_pDrawViewWrapper(nullptr),
m_eDragMode(SdrDragMode::Move),
m_bWaitingForDoubleClick(false),
m_bWaitingForMouseUp(false),
m_bConnectingToView(false),
m_bDisposed(false),
m_xUndoManager( nullptr ),
m_aDispatchContainer( m_xCC, this ),
m_eDrawMode( CHARTDRAW_SELECT ),
mpSelectionChangeHandler(new svx::sidebar::SelectionChangeHandler(
[this]() { return this->GetContextName(); },
this, vcl::EnumContext::Context_Cell))
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
m_aDoubleClickTimer.SetTimeoutHdl( LINK( this, ChartController, DoubleClickWaitingHdl ) );
2003-10-06 08:58:36 +00:00
}
ChartController::~ChartController()
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
stopDoubleClickWaiting();
2003-10-06 08:58:36 +00:00
}
ChartController::TheModel::TheModel( const uno::Reference< frame::XModel > & xModel ) :
m_xModel( xModel ),
m_xCloseable( nullptr ),
m_bOwnership( true )
2003-10-06 08:58:36 +00:00
{
m_xCloseable =
uno::Reference< util::XCloseable >( xModel, uno::UNO_QUERY );
}
ChartController::TheModel::~TheModel()
{
}
void ChartController::TheModel::SetOwnership( bool bGetsOwnership )
2003-10-06 08:58:36 +00:00
{
m_bOwnership = bGetsOwnership;
}
void ChartController::TheModel::addListener( ChartController* pController )
{
if(m_xCloseable.is())
{
//if you need to be able to veto against the destruction of the model
// you must add as a close listener
//otherwise you 'can' add as closelistener or 'must' add as dispose event listener
m_xCloseable->addCloseListener(
static_cast<util::XCloseListener*>(pController) );
}
else if( m_xModel.is() )
{
//we need to add as dispose event listener
m_xModel->addEventListener(
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
static_cast<util::XCloseListener*>(pController) );
2003-10-06 08:58:36 +00:00
}
}
void ChartController::TheModel::removeListener( ChartController* pController )
{
if(m_xCloseable.is())
m_xCloseable->removeCloseListener(
static_cast<util::XCloseListener*>(pController) );
else if( m_xModel.is() )
m_xModel->removeEventListener(
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
static_cast<util::XCloseListener*>(pController) );
2003-10-06 08:58:36 +00:00
}
void ChartController::TheModel::tryTermination()
{
if(!m_bOwnership)
return;
try
{
if(m_xCloseable.is())
{
try
{
//@todo ? are we allowed to use sal_True here if we have the explicit ownership?
//I think yes, because there might be other closelistners later in the list which might be interested still
//but make sure that we do not throw the CloseVetoException here ourselves
2003-10-06 08:58:36 +00:00
//so stop listening before trying to terminate or check the source of queryclosing event
m_xCloseable->close(true);
2003-10-06 08:58:36 +00:00
m_bOwnership = false;
}
2011-11-29 02:06:57 +09:00
catch( const util::CloseVetoException& )
2003-10-06 08:58:36 +00:00
{
2014-04-11 08:39:07 +02:00
//since we have indicated to give up the ownership with parameter true in close call
2003-10-06 08:58:36 +00:00
//the one who has thrown the CloseVetoException is the new owner
SAL_WARN_IF( m_bOwnership, "chart2.main", "a well known owner has caught a CloseVetoException after calling close(true)");
2003-10-06 08:58:36 +00:00
m_bOwnership = false;
return;
}
}
else if( m_xModel.is() )
{
//@todo correct??
m_xModel->dispose();
return;
}
}
2011-11-29 02:06:57 +09:00
catch(const uno::Exception& ex)
2003-10-06 08:58:36 +00:00
{
(void)(ex); // no warning in non-debug builds
OSL_FAIL( OString( OString("Termination of model failed: ")
+ OUStringToOString( ex.Message, RTL_TEXTENCODING_ASCII_US ) ).getStr() );
2003-10-06 08:58:36 +00:00
}
}
ChartController::TheModelRef::TheModelRef( TheModel* pTheModel, osl::Mutex& rMutex ) :
m_pTheModel(pTheModel),
m_rModelMutex(rMutex)
2003-10-06 08:58:36 +00:00
{
osl::Guard< osl::Mutex > aGuard( m_rModelMutex );
2003-10-06 08:58:36 +00:00
if(m_pTheModel)
m_pTheModel->acquire();
}
ChartController::TheModelRef::TheModelRef( const TheModelRef& rTheModel, ::osl::Mutex& rMutex ) :
m_rModelMutex(rMutex)
2003-10-06 08:58:36 +00:00
{
osl::Guard< osl::Mutex > aGuard( m_rModelMutex );
2003-10-06 08:58:36 +00:00
m_pTheModel=rTheModel.operator->();
if(m_pTheModel)
m_pTheModel->acquire();
}
ChartController::TheModelRef& ChartController::TheModelRef::operator=(TheModel* pTheModel)
{
osl::Guard< osl::Mutex > aGuard( m_rModelMutex );
2003-10-06 08:58:36 +00:00
if(m_pTheModel==pTheModel)
return *this;
if(m_pTheModel)
m_pTheModel->release();
m_pTheModel=pTheModel;
if(m_pTheModel)
m_pTheModel->acquire();
return *this;
}
ChartController::TheModelRef& ChartController::TheModelRef::operator=(const TheModelRef& rTheModel)
{
osl::Guard< osl::Mutex > aGuard( m_rModelMutex );
2003-10-06 08:58:36 +00:00
TheModel* pNew=rTheModel.operator->();
if(m_pTheModel==pNew)
return *this;
if(m_pTheModel)
m_pTheModel->release();
m_pTheModel=pNew;
if(m_pTheModel)
m_pTheModel->acquire();
return *this;
}
ChartController::TheModelRef::~TheModelRef()
{
osl::Guard< osl::Mutex > aGuard( m_rModelMutex );
2003-10-06 08:58:36 +00:00
if(m_pTheModel)
m_pTheModel->release();
}
bool ChartController::TheModelRef::is() const
2003-10-06 08:58:36 +00:00
{
return (m_pTheModel != nullptr);
2003-10-06 08:58:36 +00:00
}
namespace {
css::uno::Reference<css::chart2::XChartType> getChartType(
const css::uno::Reference<css::chart2::XChartDocument>& xChartDoc)
{
Reference <chart2::XDiagram > xDiagram = xChartDoc->getFirstDiagram();
Reference< chart2::XCoordinateSystemContainer > xCooSysContainer( xDiagram, uno::UNO_QUERY_THROW );
Sequence< Reference< chart2::XCoordinateSystem > > xCooSysSequence( xCooSysContainer->getCoordinateSystems());
Reference< chart2::XChartTypeContainer > xChartTypeContainer( xCooSysSequence[0], uno::UNO_QUERY_THROW );
Sequence< Reference< chart2::XChartType > > xChartTypeSequence( xChartTypeContainer->getChartTypes() );
return xChartTypeSequence[0];
}
}
OUString ChartController::GetContextName()
{
if (m_bDisposed)
return OUString();
uno::Any aAny = getSelection();
if (!aAny.hasValue())
return OUString("Chart");
OUString aCID;
aAny >>= aCID;
if (aCID.isEmpty())
return OUString("Chart");
ObjectType eObjectID = ObjectIdentifier::getObjectType(aCID);
css::uno::Reference<css::chart2::XChartType> xChartType = getChartType(css::uno::Reference<css::chart2::XChartDocument>(getModel(), uno::UNO_QUERY_THROW));
switch (eObjectID)
{
case OBJECTTYPE_DATA_SERIES:
return OUString("Series");
break;
case OBJECTTYPE_DATA_ERRORS_X:
case OBJECTTYPE_DATA_ERRORS_Y:
case OBJECTTYPE_DATA_ERRORS_Z:
return OUString("ErrorBar");
case OBJECTTYPE_AXIS:
return OUString("Axis");
case OBJECTTYPE_GRID:
return OUString("Grid");
case OBJECTTYPE_DIAGRAM:
if (xChartType->getChartType() == "com.sun.star.chart2.PieChartType")
return OUString("ChartElements");
break;
case OBJECTTYPE_DATA_CURVE:
case OBJECTTYPE_DATA_AVERAGE_LINE:
return OUString("Trendline");
default:
break;
}
return OUString("Chart");
}
2003-10-06 08:58:36 +00:00
// private methods
bool ChartController::impl_isDisposedOrSuspended() const
2003-10-06 08:58:36 +00:00
{
if( m_aLifeTimeManager.impl_isDisposed() )
return true;
2003-10-06 08:58:36 +00:00
if( m_bSuspended )
{
OSL_FAIL( "This Controller is suspended" );
return true;
2003-10-06 08:58:36 +00:00
}
return false;
2003-10-06 08:58:36 +00:00
}
// lang::XServiceInfo
OUString SAL_CALL ChartController::getImplementationName()
throw( css::uno::RuntimeException, std::exception )
{
return getImplementationName_Static();
}
OUString ChartController::getImplementationName_Static()
{
return OUString(CHART_CONTROLLER_SERVICE_IMPLEMENTATION_NAME);
}
sal_Bool SAL_CALL ChartController::supportsService( const OUString& rServiceName )
throw( css::uno::RuntimeException, std::exception )
{
return cppu::supportsService(this, rServiceName);
}
css::uno::Sequence< OUString > SAL_CALL ChartController::getSupportedServiceNames()
throw( css::uno::RuntimeException, std::exception )
{
return getSupportedServiceNames_Static();
}
2003-10-06 08:58:36 +00:00
uno::Sequence< OUString > ChartController::getSupportedServiceNames_Static()
2003-10-06 08:58:36 +00:00
{
uno::Sequence< OUString > aSNS( 2 );
2003-10-06 08:58:36 +00:00
aSNS.getArray()[ 0 ] = CHART_CONTROLLER_SERVICE_NAME;
aSNS.getArray()[ 1 ] = "com.sun.star.frame.Controller";
2003-10-06 08:58:36 +00:00
//// @todo : add additional services if you support any further
return aSNS;
}
namespace {
uno::Reference<ui::XSidebar> getSidebarFromModel(const uno::Reference<frame::XModel>& xModel)
{
uno::Reference<container::XChild> xChild(xModel, uno::UNO_QUERY);
if (!xChild.is())
return nullptr;
uno::Reference<frame::XModel> xParent (xChild->getParent(), uno::UNO_QUERY);
if (!xParent.is())
return nullptr;
uno::Reference<frame::XController2> xController(xParent->getCurrentController(), uno::UNO_QUERY);
if (!xController.is())
return nullptr;
uno::Reference<ui::XSidebarProvider> xSidebarProvider (xController->getSidebar(), uno::UNO_QUERY);
if (!xSidebarProvider.is())
return nullptr;
uno::Reference<ui::XSidebar> xSidebar(xSidebarProvider->getSidebar(), uno::UNO_QUERY);
return xSidebar;
}
}
2003-10-06 08:58:36 +00:00
// XController
void SAL_CALL ChartController::attachFrame(
const uno::Reference<frame::XFrame>& xFrame )
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
SolarMutexGuard aGuard;
2003-10-06 08:58:36 +00:00
if( impl_isDisposedOrSuspended() ) //@todo? allow attaching the frame while suspended?
return; //behave passive if already disposed or suspended
mpSelectionChangeHandler->Connect();
uno::Reference<ui::XSidebar> xSidebar = getSidebarFromModel(getModel());
if (xSidebar.is())
{
sfx2::sidebar::SidebarController* pSidebar = dynamic_cast<sfx2::sidebar::SidebarController*>(xSidebar.get());
sfx2::sidebar::SidebarController::registerSidebarForFrame(pSidebar, this);
pSidebar->updateModel(getModel());
css::lang::EventObject aEvent;
mpSelectionChangeHandler->selectionChanged(aEvent);
}
2003-10-06 08:58:36 +00:00
if(m_xFrame.is()) //what happens, if we do have a Frame already??
{
//@todo? throw exception?
OSL_FAIL( "there is already a frame attached to the controller" );
2003-10-06 08:58:36 +00:00
return;
}
//--attach frame
m_xFrame = xFrame; //the frameloader is responsible to call xFrame->setComponent
//add as disposelistener to the frame (due to persistent reference) ??...:
//the frame is considered to be owner of this controller and will live longer than we do
//the frame or the disposer of the frame has the duty to call suspend and dispose on this object
//so we do not need to add as lang::XEventListener for DisposingEvents right?
//@todo nothing right???
//create view @todo is this the correct place here??
vcl::Window* pParent = nullptr;
2003-10-06 08:58:36 +00:00
//get the window parent from the frame to use as parent for our new window
if(xFrame.is())
{
uno::Reference< awt::XWindow > xContainerWindow = xFrame->getContainerWindow();
VCLXWindow* pParentComponent = VCLXWindow::GetImplementation(xContainerWindow);
assert(pParentComponent);
if (pParentComponent)
pParentComponent->setVisible(true);
2003-10-06 08:58:36 +00:00
pParent = VCLUnoHelper::GetWindow( xContainerWindow );
}
if(m_pChartWindow)
{
//@todo delete ...
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
m_pChartWindow->clear();
m_apDropTargetHelper.reset();
2003-10-06 08:58:36 +00:00
}
{
// calls to VCL
SolarMutexGuard aSolarGuard;
m_pChartWindow = VclPtr<ChartWindow>::Create(this,pParent,pParent?pParent->GetStyle():0);
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
m_pChartWindow->SetBackground();//no Background
m_xViewWindow.set( m_pChartWindow->GetComponentInterface(), uno::UNO_QUERY );
2003-10-06 08:58:36 +00:00
m_pChartWindow->Show();
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
m_apDropTargetHelper.reset(
new ChartDropTargetHelper( m_pChartWindow->GetDropTarget(),
uno::Reference< chart2::XChartDocument >( getModel(), uno::UNO_QUERY )));
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
impl_createDrawViewController();
}
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
//create the menu
{
uno::Reference< beans::XPropertySet > xPropSet( xFrame, uno::UNO_QUERY );
if( xPropSet.is() )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
try
2003-10-06 08:58:36 +00:00
{
uno::Reference< css::frame::XLayoutManager > xLayoutManager;
xPropSet->getPropertyValue( "LayoutManager" ) >>= xLayoutManager;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if ( xLayoutManager.is() )
{
xLayoutManager->lock();
xLayoutManager->requestElement( "private:resource/menubar/menubar" );
//@todo: createElement should become unnecessary, remove when #i79198# is fixed
xLayoutManager->createElement( "private:resource/toolbar/standardbar" );
xLayoutManager->requestElement( "private:resource/toolbar/standardbar" );
//@todo: createElement should become unnecessary, remove when #i79198# is fixed
xLayoutManager->createElement( "private:resource/toolbar/toolbar" );
xLayoutManager->requestElement( "private:resource/toolbar/toolbar" );
// #i12587# support for shapes in chart
xLayoutManager->createElement( "private:resource/toolbar/drawbar" );
xLayoutManager->requestElement( "private:resource/toolbar/drawbar" );
xLayoutManager->requestElement( "private:resource/statusbar/statusbar" );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
xLayoutManager->unlock();
// add as listener to get notified when
m_xLayoutManagerEventBroadcaster.set( xLayoutManager, uno::UNO_QUERY );
if( m_xLayoutManagerEventBroadcaster.is())
m_xLayoutManagerEventBroadcaster->addLayoutManagerEventListener( this );
}
}
2011-11-29 02:06:57 +09:00
catch( const uno::Exception & ex )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
ASSERT_EXCEPTION( ex );
2003-10-06 08:58:36 +00:00
}
}
}
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
//XModeChangeListener
void SAL_CALL ChartController::modeChanged( const util::ModeChangeEvent& rEvent )
throw (uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
//adjust controller to view status changes
if( rEvent.NewMode == "dirty" )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
//the view has become dirty, we should repaint it if we have a window
SolarMutexGuard aGuard;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if( m_pChartWindow )
CWS-TOOLING: integrate CWS dr70 2009-06-09 13:52:02 +0200 dr r272770 : #i101930# SXC import broken 2009-06-05 11:50:16 +0200 dr r272675 : #i10000# compiler warning 2009-06-05 11:24:39 +0200 dr r272674 : #i10000# compiler warning 2009-06-05 10:35:22 +0200 dr r272668 : #i10000# compiler warning 2009-06-04 16:53:32 +0200 dr r272646 : CWS-TOOLING: rebase CWS dr70 to trunk@272291 (milestone: DEV300:m49) 2009-06-04 14:50:45 +0200 dr r272633 : #i10000# compiler warning 2009-06-03 18:50:57 +0200 dr r272603 : #i101930# fix ODS export of uninit'ed notes, do not craete note captions in UpdatePendingRowHeights 2009-05-28 11:11:17 +0200 dr r272384 : #i101930# note captions must be created before changing row/column size 2009-05-27 15:48:44 +0200 iha r272356 : #i101925# metafile creation is requested superfluously during inplace editing 2009-05-27 15:46:44 +0200 iha r272355 : #i101925# metafile creation is requested superfluously during inplace editing 2009-05-27 15:06:58 +0200 iha r272349 : #i101928# superfluous paint calls while entering and editing charts 2009-05-27 15:01:08 +0200 iha r272348 : #i101928# superfluous paint calls while entering and editing charts 2009-05-26 14:43:39 +0200 dr r272303 : #i101930# import performance: invisible cell notes cache caption data 2009-05-22 18:44:19 +0200 dr r272205 : #i101930# preparations for uninitialized notes (performance), adapted ODF import filter 2009-05-14 19:50:43 +0200 dr r271918 : #i101930# 'recycle' the shapes already created while loading cell notes 2009-05-06 16:07:45 +0200 dr r271598 : #i100827# improve performance of HTML query filter, patch by mmeeks, slightly modified 2009-05-06 11:02:38 +0200 dr r271577 : #i100827# improve performance of HTML query filter, patch by mmeeks 2009-05-06 10:50:13 +0200 dr r271575 : #i86650# improve performance of HTML query filter 2009-05-05 10:09:44 +0200 nn r271502 : #i101428# better handling of non-existing view data 2009-04-29 16:42:57 +0200 nn r271384 : #i101428# after loading, update row heights per sheet on demand
2009-07-03 12:42:53 +00:00
m_pChartWindow->ForceInvalidate();
2003-10-06 08:58:36 +00:00
}
else if( rEvent.NewMode == "invalid" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
//the view is about to become invalid so end all actions on it
impl_invalidateAccessible();
SolarMutexGuard aGuard;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if( m_pDrawViewWrapper && m_pDrawViewWrapper->IsTextEdit() )
this->EndTextEdit();
if( m_pDrawViewWrapper )
CWS-TOOLING: integrate CWS dr70 2009-06-09 13:52:02 +0200 dr r272770 : #i101930# SXC import broken 2009-06-05 11:50:16 +0200 dr r272675 : #i10000# compiler warning 2009-06-05 11:24:39 +0200 dr r272674 : #i10000# compiler warning 2009-06-05 10:35:22 +0200 dr r272668 : #i10000# compiler warning 2009-06-04 16:53:32 +0200 dr r272646 : CWS-TOOLING: rebase CWS dr70 to trunk@272291 (milestone: DEV300:m49) 2009-06-04 14:50:45 +0200 dr r272633 : #i10000# compiler warning 2009-06-03 18:50:57 +0200 dr r272603 : #i101930# fix ODS export of uninit'ed notes, do not craete note captions in UpdatePendingRowHeights 2009-05-28 11:11:17 +0200 dr r272384 : #i101930# note captions must be created before changing row/column size 2009-05-27 15:48:44 +0200 iha r272356 : #i101925# metafile creation is requested superfluously during inplace editing 2009-05-27 15:46:44 +0200 iha r272355 : #i101925# metafile creation is requested superfluously during inplace editing 2009-05-27 15:06:58 +0200 iha r272349 : #i101928# superfluous paint calls while entering and editing charts 2009-05-27 15:01:08 +0200 iha r272348 : #i101928# superfluous paint calls while entering and editing charts 2009-05-26 14:43:39 +0200 dr r272303 : #i101930# import performance: invisible cell notes cache caption data 2009-05-22 18:44:19 +0200 dr r272205 : #i101930# preparations for uninitialized notes (performance), adapted ODF import filter 2009-05-14 19:50:43 +0200 dr r271918 : #i101930# 'recycle' the shapes already created while loading cell notes 2009-05-06 16:07:45 +0200 dr r271598 : #i100827# improve performance of HTML query filter, patch by mmeeks, slightly modified 2009-05-06 11:02:38 +0200 dr r271577 : #i100827# improve performance of HTML query filter, patch by mmeeks 2009-05-06 10:50:13 +0200 dr r271575 : #i86650# improve performance of HTML query filter 2009-05-05 10:09:44 +0200 nn r271502 : #i101428# better handling of non-existing view data 2009-04-29 16:42:57 +0200 nn r271384 : #i101428# after loading, update row heights per sheet on demand
2009-07-03 12:42:53 +00:00
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
m_pDrawViewWrapper->UnmarkAll();
CWS-TOOLING: integrate CWS dr70 2009-06-09 13:52:02 +0200 dr r272770 : #i101930# SXC import broken 2009-06-05 11:50:16 +0200 dr r272675 : #i10000# compiler warning 2009-06-05 11:24:39 +0200 dr r272674 : #i10000# compiler warning 2009-06-05 10:35:22 +0200 dr r272668 : #i10000# compiler warning 2009-06-04 16:53:32 +0200 dr r272646 : CWS-TOOLING: rebase CWS dr70 to trunk@272291 (milestone: DEV300:m49) 2009-06-04 14:50:45 +0200 dr r272633 : #i10000# compiler warning 2009-06-03 18:50:57 +0200 dr r272603 : #i101930# fix ODS export of uninit'ed notes, do not craete note captions in UpdatePendingRowHeights 2009-05-28 11:11:17 +0200 dr r272384 : #i101930# note captions must be created before changing row/column size 2009-05-27 15:48:44 +0200 iha r272356 : #i101925# metafile creation is requested superfluously during inplace editing 2009-05-27 15:46:44 +0200 iha r272355 : #i101925# metafile creation is requested superfluously during inplace editing 2009-05-27 15:06:58 +0200 iha r272349 : #i101928# superfluous paint calls while entering and editing charts 2009-05-27 15:01:08 +0200 iha r272348 : #i101928# superfluous paint calls while entering and editing charts 2009-05-26 14:43:39 +0200 dr r272303 : #i101930# import performance: invisible cell notes cache caption data 2009-05-22 18:44:19 +0200 dr r272205 : #i101930# preparations for uninitialized notes (performance), adapted ODF import filter 2009-05-14 19:50:43 +0200 dr r271918 : #i101930# 'recycle' the shapes already created while loading cell notes 2009-05-06 16:07:45 +0200 dr r271598 : #i100827# improve performance of HTML query filter, patch by mmeeks, slightly modified 2009-05-06 11:02:38 +0200 dr r271577 : #i100827# improve performance of HTML query filter, patch by mmeeks 2009-05-06 10:50:13 +0200 dr r271575 : #i86650# improve performance of HTML query filter 2009-05-05 10:09:44 +0200 nn r271502 : #i101428# better handling of non-existing view data 2009-04-29 16:42:57 +0200 nn r271384 : #i101428# after loading, update row heights per sheet on demand
2009-07-03 12:42:53 +00:00
m_pDrawViewWrapper->HideSdrPage();
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
else
{
//the view was rebuild so we can start some actions on it again
if( !m_bConnectingToView )
{
if(m_pChartWindow && m_aModel.is() )
{
m_bConnectingToView = true;
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
GetDrawModelWrapper();
if(m_pDrawModelWrapper)
{
{
SolarMutexGuard aGuard;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if( m_pDrawViewWrapper )
m_pDrawViewWrapper->ReInit();
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
//reselect object
if( m_aSelection.hasSelection() )
this->impl_selectObjectAndNotiy();
else
ChartModelHelper::triggerRangeHighlighting( getModel() );
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
impl_initializeAccessible();
2003-10-06 08:58:36 +00:00
{
SolarMutexGuard aGuard;
if( m_pChartWindow )
m_pChartWindow->Invalidate();
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
m_bConnectingToView = false;
}
}
2003-10-06 08:58:36 +00:00
}
}
sal_Bool SAL_CALL ChartController::attachModel( const uno::Reference< frame::XModel > & xModel )
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
impl_invalidateAccessible();
2003-10-06 08:58:36 +00:00
//is called to attach the controller to a new model.
//return true if attach was successfully, false otherwise (e.g. if you do not work with a model)
chart2: ChartController: fix CommandDispatchContainer access locking crashes on concurrent setModel() and getDispatchForURL() in JunitTest_chart2_unoapi: Thread 13: 7 in (anonymous namespace)::Frame::isActionLocked (this=0x2b66c0e4a090) at /home/tinderbox/master/framework/source/services/frame.cxx:2596 8 in (anonymous namespace)::Frame::close (this=0x2b66c0e4a090, bDeliverOwnership=0 '\000') at /home/tinderbox/master/framework/source/services/frame.cxx:1772 9 in chart::ChartController::notifyClosing (this=0x2b668ae41058, rSource=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:872 10 in apphelper::CloseableLifeTimeManager::impl_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:360 11 in apphelper::CloseableLifeTimeManager::g_close_endTryClose_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:311 12 in chart::ChartModel::close (this=0x2b669a0b1c28, bDeliverOwnership=1 '\001') at /home/tinderbox/master/chart2/source/model/main/ChartModel.cxx:659 Thread 1: 4 in std::__debug::map<rtl::OUString, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch>, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch> > > >::find (this=0x2b668ae41248, __x=...) at /usr/include/c++/4.8.3/debug/map.h:382 No locals. 5 in chart::CommandDispatchContainer::getDispatchForURL (this=0x2b668ae41248, rURL=...) at /home/tinderbox/master/chart2/source/controller/main/CommandDispatchContainer.cxx:80 6 in chart::ChartController::queryDispatch (this=0x2b668ae41058, rURL=..., rTargetFrameName=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:1003 No locals. 7 in framework::DispatchProvider::implts_queryFrameDispatch (this=0x2b66a3fd21e8, xFrame=..., aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:374 8 in framework::DispatchProvider::queryDispatch (this=0x2b66a3fd21e8, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:111 9 in framework::InterceptionHelper::queryDispatch (this=0x2b668a61bc08, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/interceptionhelper.cxx:78 10 in (anonymous namespace)::Frame::queryDispatch (this=0x2b66c0e4a090, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/services/frame.cxx:2227 11 in svt::ToolboxController::bindListener (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:529 12 in svt::ToolboxController::update (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:232 13 in framework::ToolBarManager::UpdateControllers (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:440 14 in framework::ToolBarManager::AsyncUpdateControllersHdl (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2110 15 in framework::ToolBarManager::LinkStubAsyncUpdateControllersHdl (pThis=0x2b669a0a1728, pCaller=0x2b669a0a1890) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2097 16 in Link::Call (this=0x2b669a0a18b0, pCaller=0x2b669a0a1890) at /home/tinderbox/master/include/tools/link.hxx:139 17 in Timer::Timeout (this=0x2b669a0a1890) at /home/tinderbox/master/vcl/source/app/timer.cxx:276 Change-Id: I17ef63db8f7c288460e00031e8e8a5c3e4d086b3
2014-11-28 18:39:52 +01:00
SolarMutexResettableGuard aGuard;
2003-10-06 08:58:36 +00:00
if( impl_isDisposedOrSuspended() ) //@todo? allow attaching a new model while suspended?
return false; //behave passive if already disposed or suspended
chart2: ChartController: fix CommandDispatchContainer access locking crashes on concurrent setModel() and getDispatchForURL() in JunitTest_chart2_unoapi: Thread 13: 7 in (anonymous namespace)::Frame::isActionLocked (this=0x2b66c0e4a090) at /home/tinderbox/master/framework/source/services/frame.cxx:2596 8 in (anonymous namespace)::Frame::close (this=0x2b66c0e4a090, bDeliverOwnership=0 '\000') at /home/tinderbox/master/framework/source/services/frame.cxx:1772 9 in chart::ChartController::notifyClosing (this=0x2b668ae41058, rSource=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:872 10 in apphelper::CloseableLifeTimeManager::impl_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:360 11 in apphelper::CloseableLifeTimeManager::g_close_endTryClose_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:311 12 in chart::ChartModel::close (this=0x2b669a0b1c28, bDeliverOwnership=1 '\001') at /home/tinderbox/master/chart2/source/model/main/ChartModel.cxx:659 Thread 1: 4 in std::__debug::map<rtl::OUString, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch>, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch> > > >::find (this=0x2b668ae41248, __x=...) at /usr/include/c++/4.8.3/debug/map.h:382 No locals. 5 in chart::CommandDispatchContainer::getDispatchForURL (this=0x2b668ae41248, rURL=...) at /home/tinderbox/master/chart2/source/controller/main/CommandDispatchContainer.cxx:80 6 in chart::ChartController::queryDispatch (this=0x2b668ae41058, rURL=..., rTargetFrameName=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:1003 No locals. 7 in framework::DispatchProvider::implts_queryFrameDispatch (this=0x2b66a3fd21e8, xFrame=..., aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:374 8 in framework::DispatchProvider::queryDispatch (this=0x2b66a3fd21e8, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:111 9 in framework::InterceptionHelper::queryDispatch (this=0x2b668a61bc08, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/interceptionhelper.cxx:78 10 in (anonymous namespace)::Frame::queryDispatch (this=0x2b66c0e4a090, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/services/frame.cxx:2227 11 in svt::ToolboxController::bindListener (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:529 12 in svt::ToolboxController::update (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:232 13 in framework::ToolBarManager::UpdateControllers (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:440 14 in framework::ToolBarManager::AsyncUpdateControllersHdl (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2110 15 in framework::ToolBarManager::LinkStubAsyncUpdateControllersHdl (pThis=0x2b669a0a1728, pCaller=0x2b669a0a1890) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2097 16 in Link::Call (this=0x2b669a0a18b0, pCaller=0x2b669a0a1890) at /home/tinderbox/master/include/tools/link.hxx:139 17 in Timer::Timeout (this=0x2b669a0a1890) at /home/tinderbox/master/vcl/source/app/timer.cxx:276 Change-Id: I17ef63db8f7c288460e00031e8e8a5c3e4d086b3
2014-11-28 18:39:52 +01:00
aGuard.clear();
2003-10-06 08:58:36 +00:00
TheModelRef aNewModelRef( new TheModel( xModel), m_aModelMutex);
TheModelRef aOldModelRef(m_aModel,m_aModelMutex);
m_aModel = aNewModelRef;
//--handle relations to the old model if any
if( aOldModelRef.is() )
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
uno::Reference< util::XModeChangeBroadcaster > xViewBroadcaster( m_xChartView, uno::UNO_QUERY );
if( xViewBroadcaster.is() )
xViewBroadcaster->removeModeChangeListener(this);
m_pDrawModelWrapper.reset();
2003-10-06 08:58:36 +00:00
aOldModelRef->removeListener( this );
#ifdef TEST_ENABLE_MODIFY_LISTENER
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
uno::Reference< util::XModifyBroadcaster > xMBroadcaster( aOldModelRef->getModel(),uno::UNO_QUERY );
if( xMBroadcaster.is())
xMBroadcaster->removeModifyListener( this );
#endif
2003-10-06 08:58:36 +00:00
}
//--handle relations to the new model
aNewModelRef->addListener( this );
chart2: ChartController: fix CommandDispatchContainer access locking crashes on concurrent setModel() and getDispatchForURL() in JunitTest_chart2_unoapi: Thread 13: 7 in (anonymous namespace)::Frame::isActionLocked (this=0x2b66c0e4a090) at /home/tinderbox/master/framework/source/services/frame.cxx:2596 8 in (anonymous namespace)::Frame::close (this=0x2b66c0e4a090, bDeliverOwnership=0 '\000') at /home/tinderbox/master/framework/source/services/frame.cxx:1772 9 in chart::ChartController::notifyClosing (this=0x2b668ae41058, rSource=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:872 10 in apphelper::CloseableLifeTimeManager::impl_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:360 11 in apphelper::CloseableLifeTimeManager::g_close_endTryClose_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:311 12 in chart::ChartModel::close (this=0x2b669a0b1c28, bDeliverOwnership=1 '\001') at /home/tinderbox/master/chart2/source/model/main/ChartModel.cxx:659 Thread 1: 4 in std::__debug::map<rtl::OUString, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch>, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch> > > >::find (this=0x2b668ae41248, __x=...) at /usr/include/c++/4.8.3/debug/map.h:382 No locals. 5 in chart::CommandDispatchContainer::getDispatchForURL (this=0x2b668ae41248, rURL=...) at /home/tinderbox/master/chart2/source/controller/main/CommandDispatchContainer.cxx:80 6 in chart::ChartController::queryDispatch (this=0x2b668ae41058, rURL=..., rTargetFrameName=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:1003 No locals. 7 in framework::DispatchProvider::implts_queryFrameDispatch (this=0x2b66a3fd21e8, xFrame=..., aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:374 8 in framework::DispatchProvider::queryDispatch (this=0x2b66a3fd21e8, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:111 9 in framework::InterceptionHelper::queryDispatch (this=0x2b668a61bc08, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/interceptionhelper.cxx:78 10 in (anonymous namespace)::Frame::queryDispatch (this=0x2b66c0e4a090, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/services/frame.cxx:2227 11 in svt::ToolboxController::bindListener (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:529 12 in svt::ToolboxController::update (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:232 13 in framework::ToolBarManager::UpdateControllers (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:440 14 in framework::ToolBarManager::AsyncUpdateControllersHdl (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2110 15 in framework::ToolBarManager::LinkStubAsyncUpdateControllersHdl (pThis=0x2b669a0a1728, pCaller=0x2b669a0a1890) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2097 16 in Link::Call (this=0x2b669a0a18b0, pCaller=0x2b669a0a1890) at /home/tinderbox/master/include/tools/link.hxx:139 17 in Timer::Timeout (this=0x2b669a0a1890) at /home/tinderbox/master/vcl/source/app/timer.cxx:276 Change-Id: I17ef63db8f7c288460e00031e8e8a5c3e4d086b3
2014-11-28 18:39:52 +01:00
aGuard.reset(); // lock for m_aDispatchContainer access
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
// set new model at dispatchers
m_aDispatchContainer.setModel( aNewModelRef->getModel());
ControllerCommandDispatch * pDispatch = new ControllerCommandDispatch( m_xCC, this, &m_aDispatchContainer );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
pDispatch->initialize();
// the dispatch container will return "this" for all commands returned by
// impl_getAvailableCommands(). That means, for those commands dispatch()
// is called here at the ChartController.
m_aDispatchContainer.setChartDispatch( pDispatch, impl_getAvailableCommands() );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
DrawCommandDispatch* pDrawDispatch = new DrawCommandDispatch( m_xCC, this );
pDrawDispatch->initialize();
m_aDispatchContainer.setDrawCommandDispatch( pDrawDispatch );
ShapeController* pShapeController = new ShapeController( m_xCC, this );
pShapeController->initialize();
m_aDispatchContainer.setShapeController( pShapeController );
chart2: ChartController: fix CommandDispatchContainer access locking crashes on concurrent setModel() and getDispatchForURL() in JunitTest_chart2_unoapi: Thread 13: 7 in (anonymous namespace)::Frame::isActionLocked (this=0x2b66c0e4a090) at /home/tinderbox/master/framework/source/services/frame.cxx:2596 8 in (anonymous namespace)::Frame::close (this=0x2b66c0e4a090, bDeliverOwnership=0 '\000') at /home/tinderbox/master/framework/source/services/frame.cxx:1772 9 in chart::ChartController::notifyClosing (this=0x2b668ae41058, rSource=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:872 10 in apphelper::CloseableLifeTimeManager::impl_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:360 11 in apphelper::CloseableLifeTimeManager::g_close_endTryClose_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:311 12 in chart::ChartModel::close (this=0x2b669a0b1c28, bDeliverOwnership=1 '\001') at /home/tinderbox/master/chart2/source/model/main/ChartModel.cxx:659 Thread 1: 4 in std::__debug::map<rtl::OUString, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch>, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch> > > >::find (this=0x2b668ae41248, __x=...) at /usr/include/c++/4.8.3/debug/map.h:382 No locals. 5 in chart::CommandDispatchContainer::getDispatchForURL (this=0x2b668ae41248, rURL=...) at /home/tinderbox/master/chart2/source/controller/main/CommandDispatchContainer.cxx:80 6 in chart::ChartController::queryDispatch (this=0x2b668ae41058, rURL=..., rTargetFrameName=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:1003 No locals. 7 in framework::DispatchProvider::implts_queryFrameDispatch (this=0x2b66a3fd21e8, xFrame=..., aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:374 8 in framework::DispatchProvider::queryDispatch (this=0x2b66a3fd21e8, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:111 9 in framework::InterceptionHelper::queryDispatch (this=0x2b668a61bc08, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/interceptionhelper.cxx:78 10 in (anonymous namespace)::Frame::queryDispatch (this=0x2b66c0e4a090, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/services/frame.cxx:2227 11 in svt::ToolboxController::bindListener (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:529 12 in svt::ToolboxController::update (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:232 13 in framework::ToolBarManager::UpdateControllers (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:440 14 in framework::ToolBarManager::AsyncUpdateControllersHdl (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2110 15 in framework::ToolBarManager::LinkStubAsyncUpdateControllersHdl (pThis=0x2b669a0a1728, pCaller=0x2b669a0a1890) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2097 16 in Link::Call (this=0x2b669a0a18b0, pCaller=0x2b669a0a1890) at /home/tinderbox/master/include/tools/link.hxx:139 17 in Timer::Timeout (this=0x2b669a0a1890) at /home/tinderbox/master/vcl/source/app/timer.cxx:276 Change-Id: I17ef63db8f7c288460e00031e8e8a5c3e4d086b3
2014-11-28 18:39:52 +01:00
aGuard.clear();
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
#ifdef TEST_ENABLE_MODIFY_LISTENER
uno::Reference< util::XModifyBroadcaster > xMBroadcaster( aNewModelRef->getModel(),uno::UNO_QUERY );
if( xMBroadcaster.is())
xMBroadcaster->addModifyListener( this );
#endif
2003-10-06 08:58:36 +00:00
// #i119999# Do not do this per default to allow the user to deselect the chart OLE with a single press to ESC
// select chart area per default:
// select( uno::makeAny( ObjectIdentifier::createClassifiedIdentifier( OBJECTTYPE_PAGE, OUString() ) ) );
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
uno::Reference< lang::XMultiServiceFactory > xFact( getModel(), uno::UNO_QUERY );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if( xFact.is())
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
m_xChartView = xFact->createInstance( CHART_VIEW_SERVICE_NAME );
GetDrawModelWrapper();
uno::Reference< util::XModeChangeBroadcaster > xViewBroadcaster( m_xChartView, uno::UNO_QUERY );
if( xViewBroadcaster.is() )
xViewBroadcaster->addModeChangeListener(this);
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
//the frameloader is responsible to call xModel->connectController
{
chart2: ChartController: fix CommandDispatchContainer access locking crashes on concurrent setModel() and getDispatchForURL() in JunitTest_chart2_unoapi: Thread 13: 7 in (anonymous namespace)::Frame::isActionLocked (this=0x2b66c0e4a090) at /home/tinderbox/master/framework/source/services/frame.cxx:2596 8 in (anonymous namespace)::Frame::close (this=0x2b66c0e4a090, bDeliverOwnership=0 '\000') at /home/tinderbox/master/framework/source/services/frame.cxx:1772 9 in chart::ChartController::notifyClosing (this=0x2b668ae41058, rSource=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:872 10 in apphelper::CloseableLifeTimeManager::impl_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:360 11 in apphelper::CloseableLifeTimeManager::g_close_endTryClose_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:311 12 in chart::ChartModel::close (this=0x2b669a0b1c28, bDeliverOwnership=1 '\001') at /home/tinderbox/master/chart2/source/model/main/ChartModel.cxx:659 Thread 1: 4 in std::__debug::map<rtl::OUString, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch>, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch> > > >::find (this=0x2b668ae41248, __x=...) at /usr/include/c++/4.8.3/debug/map.h:382 No locals. 5 in chart::CommandDispatchContainer::getDispatchForURL (this=0x2b668ae41248, rURL=...) at /home/tinderbox/master/chart2/source/controller/main/CommandDispatchContainer.cxx:80 6 in chart::ChartController::queryDispatch (this=0x2b668ae41058, rURL=..., rTargetFrameName=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:1003 No locals. 7 in framework::DispatchProvider::implts_queryFrameDispatch (this=0x2b66a3fd21e8, xFrame=..., aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:374 8 in framework::DispatchProvider::queryDispatch (this=0x2b66a3fd21e8, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:111 9 in framework::InterceptionHelper::queryDispatch (this=0x2b668a61bc08, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/interceptionhelper.cxx:78 10 in (anonymous namespace)::Frame::queryDispatch (this=0x2b66c0e4a090, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/services/frame.cxx:2227 11 in svt::ToolboxController::bindListener (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:529 12 in svt::ToolboxController::update (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:232 13 in framework::ToolBarManager::UpdateControllers (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:440 14 in framework::ToolBarManager::AsyncUpdateControllersHdl (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2110 15 in framework::ToolBarManager::LinkStubAsyncUpdateControllersHdl (pThis=0x2b669a0a1728, pCaller=0x2b669a0a1890) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2097 16 in Link::Call (this=0x2b669a0a18b0, pCaller=0x2b669a0a1890) at /home/tinderbox/master/include/tools/link.hxx:139 17 in Timer::Timeout (this=0x2b669a0a1890) at /home/tinderbox/master/vcl/source/app/timer.cxx:276 Change-Id: I17ef63db8f7c288460e00031e8e8a5c3e4d086b3
2014-11-28 18:39:52 +01:00
SolarMutexGuard aGuard2;
if( m_pChartWindow )
m_pChartWindow->Invalidate();
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
uno::Reference< document::XUndoManagerSupplier > xSuppUndo( getModel(), uno::UNO_QUERY_THROW );
m_xUndoManager.set( xSuppUndo->getUndoManager(), uno::UNO_QUERY_THROW );
return true;
2003-10-06 08:58:36 +00:00
}
uno::Reference< frame::XFrame > SAL_CALL ChartController::getFrame()
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
//provides access to owner frame of this controller
//return the frame containing this controller
return m_xFrame;
}
uno::Reference< frame::XModel > SAL_CALL ChartController::getModel()
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
//provides access to currently attached model
//returns the currently attached model
//return nothing, if you do not have a model
TheModelRef aModelRef( m_aModel, m_aModelMutex);
if(aModelRef.is())
return aModelRef->getModel();
return uno::Reference< frame::XModel > ();
}
uno::Any SAL_CALL ChartController::getViewData()
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
//provides access to current view status
//set of data that can be used to restore the current view status at later time
// by using XController::restoreViewData()
SolarMutexGuard aGuard;
2003-10-06 08:58:36 +00:00
if( impl_isDisposedOrSuspended() )
return uno::Any(); //behave passive if already disposed or suspended //@todo? or throw an exception??
//-- collect current view state
uno::Any aRet;
//// @todo integrate specialized implementation
return aRet;
}
void SAL_CALL ChartController::restoreViewData(
const uno::Any& /* Value */ )
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
//restores the view status using the data gotten from a previous call to XController::getViewData()
SolarMutexGuard aGuard;
2003-10-06 08:58:36 +00:00
if( impl_isDisposedOrSuspended() )
return; //behave passive if already disposed or suspended //@todo? or throw an exception??
//// @todo integrate specialized implementation
}
sal_Bool SAL_CALL ChartController::suspend( sal_Bool bSuspend )
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
//is called to prepare the controller for closing the view
//bSuspend==true: force the controller to suspend his work
//bSuspend==false try to reactivate the controller
//returns true if request was accepted and of course successfully finished, false otherwise
//we may show dialogs here to ask the user for saving changes ... @todo?
SolarMutexGuard aGuard;
2003-10-06 08:58:36 +00:00
if( m_aLifeTimeManager.impl_isDisposed() )
return false; //behave passive if already disposed, return false because request was not accepted //@todo? correct
2003-10-06 08:58:36 +00:00
if(bool(bSuspend) == m_bSuspended)
2003-10-06 08:58:36 +00:00
{
OSL_FAIL( "new suspend mode equals old suspend mode" );
return true;
2003-10-06 08:58:36 +00:00
}
//change suspend mode
if(bSuspend)
{
m_bSuspended = bSuspend;
return true;
2003-10-06 08:58:36 +00:00
}
else
{
m_bSuspended = bSuspend;
}
return true;
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
void ChartController::impl_createDrawViewController()
{
SolarMutexGuard aGuard;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if(!m_pDrawViewWrapper)
{
if( m_pDrawModelWrapper )
{
m_pDrawViewWrapper = new DrawViewWrapper(&m_pDrawModelWrapper->getSdrModel(),m_pChartWindow);
m_pDrawViewWrapper->attachParentReferenceDevice( getModel() );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
}
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
void ChartController::impl_deleteDrawViewController()
{
if( m_pDrawViewWrapper )
{
SolarMutexGuard aGuard;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if( m_pDrawViewWrapper->IsTextEdit() )
this->EndTextEdit();
DELETEZ( m_pDrawViewWrapper );
}
}
2003-10-06 08:58:36 +00:00
// XComponent (base of XController)
void SAL_CALL ChartController::dispose()
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
m_bDisposed = true;
if (getModel().is())
{
uno::Reference<ui::XSidebar> xSidebar = getSidebarFromModel(getModel());
if (sfx2::sidebar::SidebarController* pSidebar = dynamic_cast<sfx2::sidebar::SidebarController*>(xSidebar.get()))
{
sfx2::sidebar::SidebarController::unregisterSidebarForFrame(pSidebar, this);
}
}
mpSelectionChangeHandler->selectionChanged(css::lang::EventObject());
mpSelectionChangeHandler->Disconnect();
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
try
{
//This object should release all resources and references in the
//easiest possible manner
//This object must notify all registered listeners using the method
//<member>XEventListener::disposing</member>
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
//hold no mutex
if( !m_aLifeTimeManager.dispose() )
return;
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
// OSL_ENSURE( m_bSuspended, "dispose was called but controller is not suspended" );
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->stopDoubleClickWaiting();
2003-10-06 08:58:36 +00:00
//end range highlighting
if( m_aModel.is())
{
uno::Reference< view::XSelectionChangeListener > xSelectionChangeListener;
uno::Reference< chart2::data::XDataReceiver > xDataReceiver( getModel(), uno::UNO_QUERY );
if( xDataReceiver.is() )
xSelectionChangeListener.set( xDataReceiver->getRangeHighlighter(), uno::UNO_QUERY );
if( xSelectionChangeListener.is() )
{
uno::Reference< frame::XController > xController( this );
uno::Reference< lang::XComponent > xComp( xController, uno::UNO_QUERY );
lang::EventObject aEvent( xComp );
xSelectionChangeListener->disposing( aEvent );
}
}
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
//--release all resources and references
{
uno::Reference< chart2::X3DChartWindowProvider > x3DWindowProvider(getModel(), uno::UNO_QUERY_THROW);
x3DWindowProvider->setWindow(0);
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
uno::Reference< util::XModeChangeBroadcaster > xViewBroadcaster( m_xChartView, uno::UNO_QUERY );
if( xViewBroadcaster.is() )
xViewBroadcaster->removeModeChangeListener(this);
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
impl_invalidateAccessible();
SolarMutexGuard aSolarGuard;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
impl_deleteDrawViewController();
m_pDrawModelWrapper.reset();
m_apDropTargetHelper.reset();
//the accessible view is disposed within window destructor of m_pChartWindow
m_pChartWindow->clear();
m_pChartWindow = nullptr;//m_pChartWindow is deleted via UNO due to dispose of m_xViewWindow (triggered by Framework (Controller pretends to be XWindow also))
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
m_xViewWindow->dispose();
m_xChartView.clear();
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
// remove as listener to layout manager events
if( m_xLayoutManagerEventBroadcaster.is())
{
m_xLayoutManagerEventBroadcaster->removeLayoutManagerEventListener( this );
m_xLayoutManagerEventBroadcaster.set( nullptr );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
m_xFrame.clear();
m_xUndoManager.clear();
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
TheModelRef aModelRef( m_aModel, m_aModelMutex);
m_aModel = nullptr;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if( aModelRef.is())
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
uno::Reference< frame::XModel > xModel( aModelRef->getModel() );
if(xModel.is())
xModel->disconnectController( uno::Reference< frame::XController >( this ));
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
aModelRef->removeListener( this );
#ifdef TEST_ENABLE_MODIFY_LISTENER
try
{
uno::Reference< util::XModifyBroadcaster > xMBroadcaster( aModelRef->getModel(),uno::UNO_QUERY );
if( xMBroadcaster.is())
xMBroadcaster->removeModifyListener( this );
}
catch( const uno::Exception & ex )
{
ASSERT_EXCEPTION( ex );
}
#endif
aModelRef->tryTermination();
}
//// @todo integrate specialized implementation
//e.g. release further resources and references
chart2: ChartController: fix CommandDispatchContainer access locking crashes on concurrent setModel() and getDispatchForURL() in JunitTest_chart2_unoapi: Thread 13: 7 in (anonymous namespace)::Frame::isActionLocked (this=0x2b66c0e4a090) at /home/tinderbox/master/framework/source/services/frame.cxx:2596 8 in (anonymous namespace)::Frame::close (this=0x2b66c0e4a090, bDeliverOwnership=0 '\000') at /home/tinderbox/master/framework/source/services/frame.cxx:1772 9 in chart::ChartController::notifyClosing (this=0x2b668ae41058, rSource=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:872 10 in apphelper::CloseableLifeTimeManager::impl_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:360 11 in apphelper::CloseableLifeTimeManager::g_close_endTryClose_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:311 12 in chart::ChartModel::close (this=0x2b669a0b1c28, bDeliverOwnership=1 '\001') at /home/tinderbox/master/chart2/source/model/main/ChartModel.cxx:659 Thread 1: 4 in std::__debug::map<rtl::OUString, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch>, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch> > > >::find (this=0x2b668ae41248, __x=...) at /usr/include/c++/4.8.3/debug/map.h:382 No locals. 5 in chart::CommandDispatchContainer::getDispatchForURL (this=0x2b668ae41248, rURL=...) at /home/tinderbox/master/chart2/source/controller/main/CommandDispatchContainer.cxx:80 6 in chart::ChartController::queryDispatch (this=0x2b668ae41058, rURL=..., rTargetFrameName=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:1003 No locals. 7 in framework::DispatchProvider::implts_queryFrameDispatch (this=0x2b66a3fd21e8, xFrame=..., aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:374 8 in framework::DispatchProvider::queryDispatch (this=0x2b66a3fd21e8, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:111 9 in framework::InterceptionHelper::queryDispatch (this=0x2b668a61bc08, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/interceptionhelper.cxx:78 10 in (anonymous namespace)::Frame::queryDispatch (this=0x2b66c0e4a090, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/services/frame.cxx:2227 11 in svt::ToolboxController::bindListener (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:529 12 in svt::ToolboxController::update (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:232 13 in framework::ToolBarManager::UpdateControllers (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:440 14 in framework::ToolBarManager::AsyncUpdateControllersHdl (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2110 15 in framework::ToolBarManager::LinkStubAsyncUpdateControllersHdl (pThis=0x2b669a0a1728, pCaller=0x2b669a0a1890) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2097 16 in Link::Call (this=0x2b669a0a18b0, pCaller=0x2b669a0a1890) at /home/tinderbox/master/include/tools/link.hxx:139 17 in Timer::Timeout (this=0x2b669a0a1890) at /home/tinderbox/master/vcl/source/app/timer.cxx:276 Change-Id: I17ef63db8f7c288460e00031e8e8a5c3e4d086b3
2014-11-28 18:39:52 +01:00
SolarMutexGuard g;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
m_aDispatchContainer.DisposeAndClear();
}
catch( const uno::Exception & ex )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
ASSERT_EXCEPTION( ex );
2003-10-06 08:58:36 +00:00
}
}
void SAL_CALL ChartController::addEventListener(
const uno::Reference<lang::XEventListener>& xListener )
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
SolarMutexGuard aGuard;
2003-10-06 08:58:36 +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<lang::XEventListener>::get(), xListener );
2003-10-06 08:58:36 +00:00
}
void SAL_CALL ChartController::removeEventListener(
const uno::Reference<lang::XEventListener>& xListener )
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
SolarMutexGuard aGuard;
if( m_aLifeTimeManager.impl_isDisposed(false) )
2003-10-06 08:58:36 +00:00
return; //behave passive if already disposed or suspended
//--remove listener
m_aLifeTimeManager.m_aListenerContainer.removeInterface( cppu::UnoType<lang::XEventListener>::get(), xListener );
2003-10-06 08:58:36 +00:00
}
// util::XCloseListener
void SAL_CALL ChartController::queryClosing(
const lang::EventObject& rSource,
sal_Bool /*bGetsOwnership*/ )
throw(util::CloseVetoException, uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
//do not use the m_aControllerMutex here because this call is not allowed to block
TheModelRef aModelRef( m_aModel, m_aModelMutex);
if( !aModelRef.is() )
return;
if( !(aModelRef->getModel() == rSource.Source) )
{
OSL_FAIL( "queryClosing was called on a controller from an unknown source" );
2003-10-06 08:58:36 +00:00
return;
}
//@ todo prepare to closing model -> don't start any further hindering actions
2003-10-06 08:58:36 +00:00
}
void SAL_CALL ChartController::notifyClosing(
const lang::EventObject& rSource )
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
//Listener should deregister himself and release all references to the closing object.
2003-10-06 08:58:36 +00:00
TheModelRef aModelRef( m_aModel, m_aModelMutex);
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if( impl_releaseThisModel( rSource.Source ) )
{
//--stop listening to the closing model
aModelRef->removeListener( this );
// #i79087# If the model using this controller is closed, the frame is
// expected to be closed as well
Reference< util::XCloseable > xFrameCloseable( m_xFrame, uno::UNO_QUERY );
if( xFrameCloseable.is())
{
try
{
xFrameCloseable->close( false /* DeliverOwnership */ );
m_xFrame.clear();
}
2011-11-29 02:06:57 +09:00
catch( const util::CloseVetoException & )
{
// closing was vetoed
}
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
}
bool ChartController::impl_releaseThisModel(
const uno::Reference< uno::XInterface > & xModel )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
bool bReleaseModel = false;
2003-10-06 08:58:36 +00:00
{
::osl::Guard< ::osl::Mutex > aGuard( m_aModelMutex );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if( m_aModel.is() && m_aModel->getModel() == xModel )
2003-10-06 08:58:36 +00:00
{
m_aModel = nullptr;
m_xUndoManager.clear();
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
bReleaseModel = true;
2003-10-06 08:58:36 +00:00
}
}
if( bReleaseModel )
chart2: ChartController: fix CommandDispatchContainer access locking crashes on concurrent setModel() and getDispatchForURL() in JunitTest_chart2_unoapi: Thread 13: 7 in (anonymous namespace)::Frame::isActionLocked (this=0x2b66c0e4a090) at /home/tinderbox/master/framework/source/services/frame.cxx:2596 8 in (anonymous namespace)::Frame::close (this=0x2b66c0e4a090, bDeliverOwnership=0 '\000') at /home/tinderbox/master/framework/source/services/frame.cxx:1772 9 in chart::ChartController::notifyClosing (this=0x2b668ae41058, rSource=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:872 10 in apphelper::CloseableLifeTimeManager::impl_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:360 11 in apphelper::CloseableLifeTimeManager::g_close_endTryClose_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:311 12 in chart::ChartModel::close (this=0x2b669a0b1c28, bDeliverOwnership=1 '\001') at /home/tinderbox/master/chart2/source/model/main/ChartModel.cxx:659 Thread 1: 4 in std::__debug::map<rtl::OUString, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch>, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch> > > >::find (this=0x2b668ae41248, __x=...) at /usr/include/c++/4.8.3/debug/map.h:382 No locals. 5 in chart::CommandDispatchContainer::getDispatchForURL (this=0x2b668ae41248, rURL=...) at /home/tinderbox/master/chart2/source/controller/main/CommandDispatchContainer.cxx:80 6 in chart::ChartController::queryDispatch (this=0x2b668ae41058, rURL=..., rTargetFrameName=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:1003 No locals. 7 in framework::DispatchProvider::implts_queryFrameDispatch (this=0x2b66a3fd21e8, xFrame=..., aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:374 8 in framework::DispatchProvider::queryDispatch (this=0x2b66a3fd21e8, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:111 9 in framework::InterceptionHelper::queryDispatch (this=0x2b668a61bc08, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/interceptionhelper.cxx:78 10 in (anonymous namespace)::Frame::queryDispatch (this=0x2b66c0e4a090, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/services/frame.cxx:2227 11 in svt::ToolboxController::bindListener (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:529 12 in svt::ToolboxController::update (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:232 13 in framework::ToolBarManager::UpdateControllers (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:440 14 in framework::ToolBarManager::AsyncUpdateControllersHdl (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2110 15 in framework::ToolBarManager::LinkStubAsyncUpdateControllersHdl (pThis=0x2b669a0a1728, pCaller=0x2b669a0a1890) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2097 16 in Link::Call (this=0x2b669a0a18b0, pCaller=0x2b669a0a1890) at /home/tinderbox/master/include/tools/link.hxx:139 17 in Timer::Timeout (this=0x2b669a0a1890) at /home/tinderbox/master/vcl/source/app/timer.cxx:276 Change-Id: I17ef63db8f7c288460e00031e8e8a5c3e4d086b3
2014-11-28 18:39:52 +01:00
{
SolarMutexGuard g;
m_aDispatchContainer.setModel( nullptr );
chart2: ChartController: fix CommandDispatchContainer access locking crashes on concurrent setModel() and getDispatchForURL() in JunitTest_chart2_unoapi: Thread 13: 7 in (anonymous namespace)::Frame::isActionLocked (this=0x2b66c0e4a090) at /home/tinderbox/master/framework/source/services/frame.cxx:2596 8 in (anonymous namespace)::Frame::close (this=0x2b66c0e4a090, bDeliverOwnership=0 '\000') at /home/tinderbox/master/framework/source/services/frame.cxx:1772 9 in chart::ChartController::notifyClosing (this=0x2b668ae41058, rSource=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:872 10 in apphelper::CloseableLifeTimeManager::impl_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:360 11 in apphelper::CloseableLifeTimeManager::g_close_endTryClose_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:311 12 in chart::ChartModel::close (this=0x2b669a0b1c28, bDeliverOwnership=1 '\001') at /home/tinderbox/master/chart2/source/model/main/ChartModel.cxx:659 Thread 1: 4 in std::__debug::map<rtl::OUString, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch>, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch> > > >::find (this=0x2b668ae41248, __x=...) at /usr/include/c++/4.8.3/debug/map.h:382 No locals. 5 in chart::CommandDispatchContainer::getDispatchForURL (this=0x2b668ae41248, rURL=...) at /home/tinderbox/master/chart2/source/controller/main/CommandDispatchContainer.cxx:80 6 in chart::ChartController::queryDispatch (this=0x2b668ae41058, rURL=..., rTargetFrameName=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:1003 No locals. 7 in framework::DispatchProvider::implts_queryFrameDispatch (this=0x2b66a3fd21e8, xFrame=..., aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:374 8 in framework::DispatchProvider::queryDispatch (this=0x2b66a3fd21e8, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:111 9 in framework::InterceptionHelper::queryDispatch (this=0x2b668a61bc08, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/interceptionhelper.cxx:78 10 in (anonymous namespace)::Frame::queryDispatch (this=0x2b66c0e4a090, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/services/frame.cxx:2227 11 in svt::ToolboxController::bindListener (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:529 12 in svt::ToolboxController::update (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:232 13 in framework::ToolBarManager::UpdateControllers (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:440 14 in framework::ToolBarManager::AsyncUpdateControllersHdl (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2110 15 in framework::ToolBarManager::LinkStubAsyncUpdateControllersHdl (pThis=0x2b669a0a1728, pCaller=0x2b669a0a1890) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2097 16 in Link::Call (this=0x2b669a0a18b0, pCaller=0x2b669a0a1890) at /home/tinderbox/master/include/tools/link.hxx:139 17 in Timer::Timeout (this=0x2b669a0a1890) at /home/tinderbox/master/vcl/source/app/timer.cxx:276 Change-Id: I17ef63db8f7c288460e00031e8e8a5c3e4d086b3
2014-11-28 18:39:52 +01:00
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
return bReleaseModel;
2003-10-06 08:58:36 +00:00
}
// util::XEventListener (base of XCloseListener)
void SAL_CALL ChartController::disposing(
const lang::EventObject& rSource )
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if( !impl_releaseThisModel( rSource.Source ))
{
if( rSource.Source == m_xLayoutManagerEventBroadcaster )
m_xLayoutManagerEventBroadcaster.set( nullptr );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
2003-10-06 08:58:36 +00:00
}
void SAL_CALL ChartController::layoutEvent(
const lang::EventObject& aSource,
sal_Int16 eLayoutEvent,
const uno::Any& /* aInfo */ )
throw (uno::RuntimeException, std::exception)
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
if( eLayoutEvent == frame::LayoutManagerEvents::MERGEDMENUBAR )
{
Reference< frame::XLayoutManager > xLM( aSource.Source, uno::UNO_QUERY );
if( xLM.is())
{
xLM->createElement( "private:resource/statusbar/statusbar" );
xLM->requestElement( "private:resource/statusbar/statusbar" );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
}
}
2003-10-06 08:58:36 +00:00
// XDispatchProvider (required interface)
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
namespace
2003-10-06 08:58:36 +00:00
{
bool lcl_isFormatObjectCommand( const OUString& aCommand )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
if( aCommand == "MainTitle"
|| aCommand == "SubTitle"
|| aCommand == "XTitle"
|| aCommand == "YTitle"
|| aCommand == "ZTitle"
|| aCommand == "SecondaryXTitle"
|| aCommand == "SecondaryYTitle"
|| aCommand == "AllTitles"
|| aCommand == "DiagramAxisX"
|| aCommand == "DiagramAxisY"
|| aCommand == "DiagramAxisZ"
|| aCommand == "DiagramAxisA"
|| aCommand == "DiagramAxisB"
|| aCommand == "DiagramAxisAll"
|| aCommand == "DiagramGridXMain"
|| aCommand == "DiagramGridYMain"
|| aCommand == "DiagramGridZMain"
|| aCommand == "DiagramGridXHelp"
|| aCommand == "DiagramGridYHelp"
|| aCommand == "DiagramGridZHelp"
|| aCommand == "DiagramGridAll"
|| aCommand == "DiagramWall"
|| aCommand == "DiagramFloor"
|| aCommand == "DiagramArea"
|| aCommand == "Legend"
|| aCommand == "FormatWall"
|| aCommand == "FormatFloor"
|| aCommand == "FormatChartArea"
|| aCommand == "FormatLegend"
|| aCommand == "FormatTitle"
|| aCommand == "FormatAxis"
|| aCommand == "FormatDataSeries"
|| aCommand == "FormatDataPoint"
|| aCommand == "FormatDataLabels"
|| aCommand == "FormatDataLabel"
|| aCommand == "FormatXErrorBars"
|| aCommand == "FormatYErrorBars"
|| aCommand == "FormatMeanValue"
|| aCommand == "FormatTrendline"
|| aCommand == "FormatTrendlineEquation"
|| aCommand == "FormatStockLoss"
|| aCommand == "FormatStockGain"
|| aCommand == "FormatMajorGrid"
|| aCommand == "FormatMinorGrid"
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
)
return true;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
// else
2003-10-06 08:58:36 +00:00
return false;
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
} // anonymous namespace
2003-10-06 08:58:36 +00:00
uno::Reference<frame::XDispatch> SAL_CALL
ChartController::queryDispatch(
const util::URL& rURL,
const OUString& rTargetFrameName,
sal_Int32 /* nSearchFlags */)
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
chart2: ChartController: fix CommandDispatchContainer access locking crashes on concurrent setModel() and getDispatchForURL() in JunitTest_chart2_unoapi: Thread 13: 7 in (anonymous namespace)::Frame::isActionLocked (this=0x2b66c0e4a090) at /home/tinderbox/master/framework/source/services/frame.cxx:2596 8 in (anonymous namespace)::Frame::close (this=0x2b66c0e4a090, bDeliverOwnership=0 '\000') at /home/tinderbox/master/framework/source/services/frame.cxx:1772 9 in chart::ChartController::notifyClosing (this=0x2b668ae41058, rSource=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:872 10 in apphelper::CloseableLifeTimeManager::impl_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:360 11 in apphelper::CloseableLifeTimeManager::g_close_endTryClose_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:311 12 in chart::ChartModel::close (this=0x2b669a0b1c28, bDeliverOwnership=1 '\001') at /home/tinderbox/master/chart2/source/model/main/ChartModel.cxx:659 Thread 1: 4 in std::__debug::map<rtl::OUString, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch>, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch> > > >::find (this=0x2b668ae41248, __x=...) at /usr/include/c++/4.8.3/debug/map.h:382 No locals. 5 in chart::CommandDispatchContainer::getDispatchForURL (this=0x2b668ae41248, rURL=...) at /home/tinderbox/master/chart2/source/controller/main/CommandDispatchContainer.cxx:80 6 in chart::ChartController::queryDispatch (this=0x2b668ae41058, rURL=..., rTargetFrameName=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:1003 No locals. 7 in framework::DispatchProvider::implts_queryFrameDispatch (this=0x2b66a3fd21e8, xFrame=..., aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:374 8 in framework::DispatchProvider::queryDispatch (this=0x2b66a3fd21e8, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:111 9 in framework::InterceptionHelper::queryDispatch (this=0x2b668a61bc08, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/interceptionhelper.cxx:78 10 in (anonymous namespace)::Frame::queryDispatch (this=0x2b66c0e4a090, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/services/frame.cxx:2227 11 in svt::ToolboxController::bindListener (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:529 12 in svt::ToolboxController::update (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:232 13 in framework::ToolBarManager::UpdateControllers (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:440 14 in framework::ToolBarManager::AsyncUpdateControllersHdl (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2110 15 in framework::ToolBarManager::LinkStubAsyncUpdateControllersHdl (pThis=0x2b669a0a1728, pCaller=0x2b669a0a1890) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2097 16 in Link::Call (this=0x2b669a0a18b0, pCaller=0x2b669a0a1890) at /home/tinderbox/master/include/tools/link.hxx:139 17 in Timer::Timeout (this=0x2b669a0a1890) at /home/tinderbox/master/vcl/source/app/timer.cxx:276 Change-Id: I17ef63db8f7c288460e00031e8e8a5c3e4d086b3
2014-11-28 18:39:52 +01:00
SolarMutexGuard aGuard;
if ( !m_aLifeTimeManager.impl_isDisposed() && getModel().is() )
2003-10-06 08:58:36 +00:00
{
if( !rTargetFrameName.isEmpty() && rTargetFrameName == "_self" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
return m_aDispatchContainer.getDispatchForURL( rURL );
2003-10-06 08:58:36 +00:00
}
return uno::Reference< frame::XDispatch > ();
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
uno::Sequence<uno::Reference<frame::XDispatch > >
ChartController::queryDispatches(
const uno::Sequence<frame::DispatchDescriptor>& xDescripts )
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
chart2: ChartController: fix CommandDispatchContainer access locking crashes on concurrent setModel() and getDispatchForURL() in JunitTest_chart2_unoapi: Thread 13: 7 in (anonymous namespace)::Frame::isActionLocked (this=0x2b66c0e4a090) at /home/tinderbox/master/framework/source/services/frame.cxx:2596 8 in (anonymous namespace)::Frame::close (this=0x2b66c0e4a090, bDeliverOwnership=0 '\000') at /home/tinderbox/master/framework/source/services/frame.cxx:1772 9 in chart::ChartController::notifyClosing (this=0x2b668ae41058, rSource=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:872 10 in apphelper::CloseableLifeTimeManager::impl_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:360 11 in apphelper::CloseableLifeTimeManager::g_close_endTryClose_doClose (this=0x2b669a0b1d08) at /home/tinderbox/master/chart2/source/tools/LifeTime.cxx:311 12 in chart::ChartModel::close (this=0x2b669a0b1c28, bDeliverOwnership=1 '\001') at /home/tinderbox/master/chart2/source/model/main/ChartModel.cxx:659 Thread 1: 4 in std::__debug::map<rtl::OUString, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch>, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Reference<com::sun::star::frame::XDispatch> > > >::find (this=0x2b668ae41248, __x=...) at /usr/include/c++/4.8.3/debug/map.h:382 No locals. 5 in chart::CommandDispatchContainer::getDispatchForURL (this=0x2b668ae41248, rURL=...) at /home/tinderbox/master/chart2/source/controller/main/CommandDispatchContainer.cxx:80 6 in chart::ChartController::queryDispatch (this=0x2b668ae41058, rURL=..., rTargetFrameName=...) at /home/tinderbox/master/chart2/source/controller/main/ChartController.cxx:1003 No locals. 7 in framework::DispatchProvider::implts_queryFrameDispatch (this=0x2b66a3fd21e8, xFrame=..., aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:374 8 in framework::DispatchProvider::queryDispatch (this=0x2b66a3fd21e8, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/dispatchprovider.cxx:111 9 in framework::InterceptionHelper::queryDispatch (this=0x2b668a61bc08, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/dispatch/interceptionhelper.cxx:78 10 in (anonymous namespace)::Frame::queryDispatch (this=0x2b66c0e4a090, aURL=..., sTargetFrameName=..., nSearchFlags=0) at /home/tinderbox/master/framework/source/services/frame.cxx:2227 11 in svt::ToolboxController::bindListener (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:529 12 in svt::ToolboxController::update (this=0x2b66c0f72740) at /home/tinderbox/master/svtools/source/uno/toolboxcontroller.cxx:232 13 in framework::ToolBarManager::UpdateControllers (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:440 14 in framework::ToolBarManager::AsyncUpdateControllersHdl (this=0x2b669a0a1728) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2110 15 in framework::ToolBarManager::LinkStubAsyncUpdateControllersHdl (pThis=0x2b669a0a1728, pCaller=0x2b669a0a1890) at /home/tinderbox/master/framework/source/uielement/toolbarmanager.cxx:2097 16 in Link::Call (this=0x2b669a0a18b0, pCaller=0x2b669a0a1890) at /home/tinderbox/master/include/tools/link.hxx:139 17 in Timer::Timeout (this=0x2b669a0a1890) at /home/tinderbox/master/vcl/source/app/timer.cxx:276 Change-Id: I17ef63db8f7c288460e00031e8e8a5c3e4d086b3
2014-11-28 18:39:52 +01:00
SolarMutexGuard g;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if ( !m_aLifeTimeManager.impl_isDisposed() )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
return m_aDispatchContainer.getDispatchesForURLs( xDescripts );
2003-10-06 08:58:36 +00:00
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
return uno::Sequence<uno::Reference<frame::XDispatch > > ();
2003-10-06 08:58:36 +00:00
}
// frame::XDispatch
void SAL_CALL ChartController::dispatch(
const util::URL& rURL,
const uno::Sequence< beans::PropertyValue >& rArgs )
throw (uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
OUString aCommand = rURL.Path;
2003-10-06 08:58:36 +00:00
if(aCommand == "Paste")
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_Paste();
else if(aCommand == "Copy" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_Copy();
else if(aCommand == "Cut" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_Cut();
else if(aCommand == "DataRanges" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_SourceData();
else if(aCommand == "Update" ) //Update Chart
2003-10-06 08:58:36 +00:00
{
ChartViewHelper::setViewToDirtyState( getModel() );
SolarMutexGuard aGuard;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if( m_pChartWindow )
m_pChartWindow->Invalidate();
2003-10-06 08:58:36 +00:00
}
else if(aCommand == "DiagramData" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_EditData();
//insert objects
else if( aCommand == "InsertTitles"
|| aCommand == "InsertMenuTitles")
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
this->executeDispatch_InsertTitles();
else if( aCommand == "InsertMenuLegend" )
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
this->executeDispatch_OpenLegendDialog();
else if( aCommand == "InsertLegend" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_InsertLegend();
else if( aCommand == "DeleteLegend" )
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
this->executeDispatch_DeleteLegend();
else if( aCommand == "InsertMenuDataLabels" )
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
this->executeDispatch_InsertMenu_DataLabels();
else if( aCommand == "InsertMenuAxes"
|| aCommand == "InsertRemoveAxes" )
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
this->executeDispatch_InsertAxes();
else if( aCommand == "InsertMenuGrids" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_InsertGrid();
else if( aCommand == "InsertMenuTrendlines" )
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
this->executeDispatch_InsertMenu_Trendlines();
else if( aCommand == "InsertMenuMeanValues" )
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
this->executeDispatch_InsertMenu_MeanValues();
else if( aCommand == "InsertMenuXErrorBars" )
this->executeDispatch_InsertErrorBars(false);
else if( aCommand == "InsertMenuYErrorBars" )
this->executeDispatch_InsertErrorBars(true);
else if( aCommand == "InsertSymbol" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_InsertSpecialCharacter();
else if( aCommand == "InsertTrendline" )
this->executeDispatch_InsertTrendline();
else if( aCommand == "DeleteTrendline" )
this->executeDispatch_DeleteTrendline();
else if( aCommand == "InsertMeanValue" )
this->executeDispatch_InsertMeanValue();
else if( aCommand == "DeleteMeanValue" )
this->executeDispatch_DeleteMeanValue();
else if( aCommand == "InsertXErrorBars" )
this->executeDispatch_InsertErrorBars(false);
else if( aCommand == "InsertYErrorBars" )
this->executeDispatch_InsertErrorBars(true);
else if( aCommand == "DeleteXErrorBars" )
this->executeDispatch_DeleteErrorBars(false);
else if( aCommand == "DeleteYErrorBars" )
this->executeDispatch_DeleteErrorBars(true);
else if( aCommand == "InsertTrendlineEquation" )
this->executeDispatch_InsertTrendlineEquation();
else if( aCommand == "DeleteTrendlineEquation" )
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
this->executeDispatch_DeleteTrendlineEquation();
else if( aCommand == "InsertTrendlineEquationAndR2" )
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
this->executeDispatch_InsertTrendlineEquation( true );
else if( aCommand == "InsertR2Value" )
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
this->executeDispatch_InsertR2Value();
else if( aCommand == "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
this->executeDispatch_DeleteR2Value();
else if( aCommand == "InsertDataLabels" )
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
this->executeDispatch_InsertDataLabels();
else if( aCommand == "InsertDataLabel" )
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
this->executeDispatch_InsertDataLabel();
else if( aCommand == "DeleteDataLabels")
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
this->executeDispatch_DeleteDataLabels();
else if( aCommand == "DeleteDataLabel" )
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
this->executeDispatch_DeleteDataLabel();
else if( aCommand == "ResetAllDataPoints" )
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
this->executeDispatch_ResetAllDataPoints();
else if( aCommand == "ResetDataPoint" )
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
this->executeDispatch_ResetDataPoint();
else if( aCommand == "InsertAxis" )
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
this->executeDispatch_InsertAxis();
else if( aCommand == "InsertMajorGrid" )
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
this->executeDispatch_InsertMajorGrid();
else if( aCommand == "InsertMinorGrid" )
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
this->executeDispatch_InsertMinorGrid();
else if( aCommand == "InsertAxisTitle" )
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
this->executeDispatch_InsertAxisTitle();
else if( aCommand == "DeleteAxis" )
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
this->executeDispatch_DeleteAxis();
else if( aCommand == "DeleteMajorGrid")
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
this->executeDispatch_DeleteMajorGrid();
else if( aCommand == "DeleteMinorGrid" )
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
this->executeDispatch_DeleteMinorGrid();
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
//format objects
else if( aCommand == "FormatSelection" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_ObjectProperties();
else if( aCommand == "TransformDialog" )
{
if ( isShapeContext() )
{
this->impl_ShapeControllerDispatch( rURL, rArgs );
}
else
{
this->executeDispatch_PositionAndSize();
}
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
else if( lcl_isFormatObjectCommand(aCommand) )
this->executeDispatch_FormatObject(rURL.Path);
//more format
else if( aCommand == "DiagramType" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_ChartType();
else if( aCommand == "View3D" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_View3D();
else if ( aCommand == "Forward" )
{
if ( isShapeContext() )
{
this->impl_ShapeControllerDispatch( rURL, rArgs );
}
else
{
this->executeDispatch_MoveSeries( true );
}
}
else if ( aCommand == "Backward" )
{
if ( isShapeContext() )
{
this->impl_ShapeControllerDispatch( rURL, rArgs );
}
else
{
this->executeDispatch_MoveSeries( false );
}
}
else if( aCommand == "NewArrangement")
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_NewArrangement();
else if( aCommand == "ToggleLegend" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_ToggleLegend();
else if( aCommand == "ToggleGridHorizontal" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_ToggleGridHorizontal();
else if( aCommand == "ToggleGridVertical" )
this->executeDispatch_ToggleGridVertical();
else if( aCommand == "ScaleText" )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
this->executeDispatch_ScaleText();
else if( aCommand == "StatusBarVisible" )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
// workaround: this should not be necessary.
uno::Reference< beans::XPropertySet > xPropSet( m_xFrame, uno::UNO_QUERY );
if( xPropSet.is() )
2003-10-06 08:58:36 +00:00
{
uno::Reference< css::frame::XLayoutManager > xLayoutManager;
xPropSet->getPropertyValue( "LayoutManager" ) >>= xLayoutManager;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if ( xLayoutManager.is() )
{
bool bIsVisible( xLayoutManager->isElementVisible( "private:resource/statusbar/statusbar" ));
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if( bIsVisible )
{
xLayoutManager->hideElement( "private:resource/statusbar/statusbar" );
xLayoutManager->destroyElement( "private:resource/statusbar/statusbar" );
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
else
{
xLayoutManager->createElement( "private:resource/statusbar/statusbar" );
xLayoutManager->showElement( "private:resource/statusbar/statusbar" );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
// @todo: update menu state (checkmark next to "Statusbar").
}
2003-10-06 08:58:36 +00:00
}
}
}
void SAL_CALL ChartController::addStatusListener(
const uno::Reference<frame::XStatusListener >& /* xControl */,
const util::URL& /* aURL */ )
throw (uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
//@todo
2003-10-06 08:58:36 +00:00
}
void SAL_CALL ChartController::removeStatusListener(
const uno::Reference<frame::XStatusListener >& /* xControl */,
const util::URL& /* aURL */ )
throw (uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
//@todo
2003-10-06 08:58:36 +00:00
}
// XContextMenuInterception (optional interface)
void SAL_CALL ChartController::registerContextMenuInterceptor(
const uno::Reference< ui::XContextMenuInterceptor >& /* xInterceptor */)
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
//@todo
}
void SAL_CALL ChartController::releaseContextMenuInterceptor(
const uno::Reference< ui::XContextMenuInterceptor > & /* xInterceptor */)
throw(uno::RuntimeException, std::exception)
2003-10-06 08:58:36 +00:00
{
//@todo
}
// ____ XEmbeddedClient ____
// implementation see: ChartController_EditData.cxx
void ChartController::executeDispatch_ChartType()
2003-10-06 08:58:36 +00:00
{
UndoLiveUpdateGuard aUndoGuard(
SCH_RESSTR( STR_ACTION_EDIT_CHARTTYPE ), m_xUndoManager );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
SolarMutexGuard aSolarGuard;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
//prepare and open dialog
ScopedVclPtrInstance< ChartTypeDialog > aDlg( m_pChartWindow, getModel() );
if( aDlg->Execute() == RET_OK )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
impl_adaptDataSeriesAutoResize();
aUndoGuard.commit();
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
}
2003-10-06 08:58:36 +00:00
void ChartController::executeDispatch_SourceData()
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
//convert properties to ItemSet
uno::Reference< XChartDocument > xChartDoc( getModel(), uno::UNO_QUERY );
OSL_ENSURE( xChartDoc.is(), "Invalid XChartDocument" );
if( !xChartDoc.is())
return;
2003-10-06 08:58:36 +00:00
UndoLiveUpdateGuard aUndoGuard(
SCH_RESSTR(STR_ACTION_EDIT_DATA_RANGES), m_xUndoManager );
if( xChartDoc.is())
2003-10-06 08:58:36 +00:00
{
SolarMutexGuard aSolarGuard;
ScopedVclPtrInstance< ::chart::DataSourceDialog > aDlg( m_pChartWindow, xChartDoc, m_xCC );
if( aDlg->Execute() == RET_OK )
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
impl_adaptDataSeriesAutoResize();
aUndoGuard.commit();
2003-10-06 08:58:36 +00:00
}
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
2003-10-06 08:58:36 +00:00
void ChartController::executeDispatch_MoveSeries( bool bForward )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
ControllerLockGuardUNO aCLGuard( getModel() );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
//get selected series
OUString aObjectCID(m_aSelection.getSelectedCID());
uno::Reference< XDataSeries > xGivenDataSeries( ObjectIdentifier::getDataSeriesForCID( //yyy todo also legend entries and labels?
aObjectCID, getModel() ) );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
UndoGuardWithSelection aUndoGuard(
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
ActionDescriptionProvider::createDescription(
(bForward ? ActionDescriptionProvider::ActionType::MoveToTop : ActionDescriptionProvider::ActionType::MoveToBottom),
SCH_RESSTR(STR_OBJECT_DATASERIES)),
m_xUndoManager );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
bool bChanged = DiagramHelper::moveSeries( ChartModelHelper::findDiagram( getModel() ), xGivenDataSeries, bForward );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if( bChanged )
{
m_aSelection.setSelection( ObjectIdentifier::getMovedSeriesCID( aObjectCID, bForward ) );
aUndoGuard.commit();
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
// ____ XMultiServiceFactory ____
uno::Reference< uno::XInterface > SAL_CALL
ChartController::createInstance( const OUString& aServiceSpecifier )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
throw (uno::Exception,
uno::RuntimeException, std::exception)
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
uno::Reference< uno::XInterface > xResult;
if( aServiceSpecifier == CHART_ACCESSIBLE_TEXT_SERVICE_NAME )
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
xResult.set( impl_createAccessibleTextContext());
return xResult;
}
uno::Reference< uno::XInterface > SAL_CALL
ChartController::createInstanceWithArguments(
const OUString& ServiceSpecifier,
const uno::Sequence< uno::Any >& /* Arguments */ )
throw (uno::Exception, uno::RuntimeException, std::exception)
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
// ignore Arguments
return createInstance( ServiceSpecifier );
}
uno::Sequence< OUString > SAL_CALL
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
ChartController::getAvailableServiceNames()
throw (uno::RuntimeException, std::exception)
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
uno::Sequence< OUString > aServiceNames { CHART_ACCESSIBLE_TEXT_SERVICE_NAME };
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
return aServiceNames;
}
// ____ XModifyListener ____
void SAL_CALL ChartController::modified(
const lang::EventObject& /* aEvent */ )
throw (uno::RuntimeException, std::exception)
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
// the source can also be a subobject of the ChartModel
// @todo: change the source in ChartModel to always be the model itself ?
//todo? update menu states ?
}
IMPL_LINK_TYPED( ChartController, NotifyUndoActionHdl, SdrUndoAction*, pUndoAction, void )
{
ENSURE_OR_RETURN_VOID( pUndoAction, "invalid Undo action" );
OUString aObjectCID = m_aSelection.getSelectedCID();
if ( aObjectCID.isEmpty() )
{
try
{
const Reference< document::XUndoManagerSupplier > xSuppUndo( getModel(), uno::UNO_QUERY_THROW );
const Reference< document::XUndoManager > xUndoManager( xSuppUndo->getUndoManager(), uno::UNO_QUERY_THROW );
const Reference< document::XUndoAction > xAction( new impl::ShapeUndoElement( *pUndoAction ) );
xUndoManager->addUndoAction( xAction );
}
catch( const uno::Exception& )
{
DBG_UNHANDLED_EXCEPTION();
}
}
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
DrawModelWrapper* ChartController::GetDrawModelWrapper()
{
if( !m_pDrawModelWrapper.get() )
{
ExplicitValueProvider* pProvider = ExplicitValueProvider::getExplicitValueProvider( m_xChartView );
if( pProvider )
m_pDrawModelWrapper = pProvider->getDrawModelWrapper();
if ( m_pDrawModelWrapper.get() )
{
m_pDrawModelWrapper->getSdrModel().SetNotifyUndoActionHdl( LINK( this, ChartController, NotifyUndoActionHdl ) );
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
return m_pDrawModelWrapper.get();
}
DrawViewWrapper* ChartController::GetDrawViewWrapper()
{
if ( !m_pDrawViewWrapper )
{
impl_createDrawViewController();
}
return m_pDrawViewWrapper;
}
uno::Reference< XAccessible > ChartController::CreateAccessible()
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
uno::Reference< XAccessible > xResult = new AccessibleChartView( GetDrawViewWrapper() );
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
impl_initializeAccessible( uno::Reference< lang::XInitialization >( xResult, uno::UNO_QUERY ) );
return xResult;
}
void ChartController::impl_invalidateAccessible()
{
SolarMutexGuard aGuard;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if( m_pChartWindow )
{
Reference< lang::XInitialization > xInit( m_pChartWindow->GetAccessible(false), uno::UNO_QUERY );
if(xInit.is())
{
uno::Sequence< uno::Any > aArguments(3);//empty arguments -> invalid accessible
xInit->initialize(aArguments);
2003-10-06 08:58:36 +00:00
}
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
void ChartController::impl_initializeAccessible()
{
SolarMutexGuard aGuard;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
if( m_pChartWindow )
this->impl_initializeAccessible( Reference< lang::XInitialization >( m_pChartWindow->GetAccessible(false), uno::UNO_QUERY ) );
}
void ChartController::impl_initializeAccessible( const uno::Reference< lang::XInitialization >& xInit )
{
if(xInit.is())
2003-10-06 08:58:36 +00:00
{
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
uno::Sequence< uno::Any > aArguments(5);
uno::Reference<view::XSelectionSupplier> xSelectionSupplier(this);
aArguments[0]=uno::makeAny(xSelectionSupplier);
uno::Reference<frame::XModel> xModel(getModel());
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
aArguments[1]=uno::makeAny(xModel);
aArguments[2]=uno::makeAny(m_xChartView);
uno::Reference< XAccessible > xParent;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
SolarMutexGuard aGuard;
if( m_pChartWindow )
{
vcl::Window* pParentWin( m_pChartWindow->GetAccessibleParentWindow());
if( pParentWin )
xParent.set( pParentWin->GetAccessible());
}
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
aArguments[3]=uno::makeAny(xParent);
aArguments[4]=uno::makeAny(m_xViewWindow);
xInit->initialize(aArguments);
2003-10-06 08:58:36 +00:00
}
}
const ::std::set< OUString >& ChartController::impl_getAvailableCommands()
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
{
static ::std::set< OUString > s_AvailableCommands {
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
// commands for container forward
"AddDirect", "NewDoc", "Open",
"Save", "SaveAs", "SendMail",
"EditDoc", "ExportDirectToPDF", "PrintDefault",
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
// own commands
"Cut", "Copy", "Paste",
"DataRanges", "DiagramData",
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
// insert objects
"InsertMenuTitles", "InsertTitles",
"InsertMenuLegend", "InsertLegend", "DeleteLegend",
"InsertMenuDataLabels",
"InsertMenuAxes", "InsertRemoveAxes", "InsertMenuGrids",
"InsertSymbol",
"InsertTrendlineEquation", "InsertTrendlineEquationAndR2",
"InsertR2Value", "DeleteR2Value",
"InsertMenuTrendlines", "InsertTrendline",
"InsertMenuMeanValues", "InsertMeanValue",
"InsertMenuXErrorBars", "InsertXErrorBars",
"InsertMenuYErrorBars", "InsertYErrorBars",
"InsertDataLabels", "InsertDataLabel",
"DeleteTrendline", "DeleteMeanValue", "DeleteTrendlineEquation",
"DeleteXErrorBars", "DeleteYErrorBars",
"DeleteDataLabels", "DeleteDataLabel",
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
//format objects
"FormatSelection", "TransformDialog",
"DiagramType", "View3D",
"Forward", "Backward",
"MainTitle", "SubTitle",
"XTitle", "YTitle", "ZTitle",
"SecondaryXTitle", "SecondaryYTitle",
"AllTitles", "Legend",
"DiagramAxisX", "DiagramAxisY", "DiagramAxisZ",
"DiagramAxisA", "DiagramAxisB", "DiagramAxisAll",
"DiagramGridXMain", "DiagramGridYMain", "DiagramGridZMain",
"DiagramGridXHelp", "DiagramGridYHelp", "DiagramGridZHelp",
"DiagramGridAll",
"DiagramWall", "DiagramFloor", "DiagramArea",
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
//context menu - format objects entries
"FormatWall", "FormatFloor", "FormatChartArea",
"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
"FormatAxis", "FormatTitle",
"FormatDataSeries", "FormatDataPoint",
"ResetAllDataPoints", "ResetDataPoint",
"FormatDataLabels", "FormatDataLabel",
"FormatMeanValue", "FormatTrendline", "FormatTrendlineEquation",
"FormatXErrorBars", "FormatYErrorBars",
"FormatStockLoss", "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
"FormatMajorGrid", "InsertMajorGrid", "DeleteMajorGrid",
"FormatMinorGrid", "InsertMinorGrid", "DeleteMinorGrid",
"InsertAxis", "DeleteAxis", "InsertAxisTitle",
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
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
// toolbar commands
"ToggleGridHorizontal", "ToggleGridVertical", "ToggleLegend", "ScaleText",
"NewArrangement", "Update",
"DefaultColors", "BarWidth", "NumberOfLines",
"ArrangeRow",
"StatusBarVisible",
"ChartElementSelector"};
return s_AvailableCommands;
INTEGRATION: CWS chart2mst3 (1.15.4); FILE MERGED 2007/02/07 13:07:41 iha 1.15.4.109: RESYNC: (1.19-1.20); FILE MERGED 2007/02/02 11:29:51 iha 1.15.4.108: imlemented cut 2007/02/01 16:53:49 iha 1.15.4.107: remove superfluous code from old context menu 2007/01/22 17:32:29 iha 1.15.4.106: remove slot .uno:AutoFormat 2007/01/16 16:24:46 iha 1.15.4.105: #i73426# wrong help context bvecause of wrong window hirarchy 2006/11/26 11:38:59 bm 1.15.4.104: includes for solar mutex missing 2006/11/22 17:24:09 iha 1.15.4.103: RESYNC: (1.18-1.19); FILE MERGED 2006/11/07 16:55:27 bm 1.15.4.102: forward container commands to container dispatcher 2006/10/27 14:59:20 iha 1.15.4.101: name consolidation 2006/10/24 14:27:44 bm 1.15.4.100: pass chart window as parent to DataSourceDialog instead of NULL 2006/10/24 11:54:20 bm 1.15.4.99: remove commands that are handled by server application (save, save as, etc.) 2006/10/20 21:12:21 iha 1.15.4.98: implement selection of additional shapes 2006/10/18 17:07:18 bm 1.15.4.97: RESYNC: (1.17-1.18); FILE MERGED 2006/10/16 15:19:42 bm 1.15.4.96: #i70287# implement toggle grid horizontal command 2006/10/11 09:19:53 bm 1.15.4.95: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.15.4.94: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.15.4.93: #i64500# clipboard paste of metafiles, bitmaps and text 2006/08/22 17:31:53 bm 1.15.4.92: #i68861# implement the status bar 2006/07/11 13:20:37 bm 1.15.4.91: reset drop target helper in dispose() 2006/06/29 13:54:40 bm 1.15.4.90: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/05/29 17:56:16 iha 1.15.4.89: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE 2006/03/23 09:57:10 bm 1.15.4.88: support for paragraphs for accessibility titles 2006/03/19 15:33:20 iha 1.15.4.87: correct selection handling of datapoints and series 2006/03/18 20:53:00 iha 1.15.4.86: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.15.4.85: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:21:17 iha 1.15.4.84: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/20 14:36:48 iha 1.15.4.83: move SchItemPool from controller to view lib -> ChartItemPool 2006/02/20 09:17:36 bm 1.15.4.82: impl_initializeAccessible: XInitialization needs two more parameters 2006/01/24 10:49:42 bm 1.15.4.81: call impl_adaptDataSeriesAutoResize after command execution of commands which may add new data series 2006/01/20 11:39:28 iha 1.15.4.80: some cleanup 2006/01/17 17:16:06 bm 1.15.4.79: clear selection in dispose (to remove range highlighting) 2006/01/13 13:43:34 bm 1.15.4.78: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/12/21 21:29:08 iha 1.15.4.77: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/28 15:14:00 bm 1.15.4.76: assertion about CloseVetoException only if OSL_DEBUG_LEVEL > 2 2005/11/28 14:39:29 iha 1.15.4.75: UndoLiveUpdateGuard for charttype dlg and data range dlg 2005/11/28 14:20:05 iha 1.15.4.74: menu changes 2005/11/25 17:42:33 bm 1.15.4.73: command enabling according to model state 2005/11/24 15:07:48 bm 1.15.4.72: allow removing listeners in suspend mode 2005/11/22 10:53:19 bm 1.15.4.71: use correct undo strings 2005/11/21 16:07:45 bm 1.15.4.70: use dispatch command container 2005/11/16 10:57:04 iha 1.15.4.69: use UndoLiveUpdateGuard for Wizard 2005/11/15 20:49:32 iha 1.15.4.68: use UndoGuard 2005/11/15 15:30:25 bm 1.15.4.67: garbage collection, disposing, reference release issues 2005/11/15 10:41:32 iha 1.15.4.66: don't remove me as listener in disposing 2005/11/14 16:50:26 iha 1.15.4.65: remove direct view update call from wizard slot as automatic updates are now available 2005/11/14 14:54:41 iha 1.15.4.64: guard Charttype Dialog against view updates and remove direct view update call 2005/11/11 14:51:15 bm 1.15.4.63: dispose: remove as modify listener from model 2005/11/11 14:43:30 iha 1.15.4.62: guard DataRange Dialog against view updates and remove direct view update call 2005/11/07 20:59:03 iha 1.15.4.61: implement changing series order 2005/11/02 13:49:19 bm 1.15.4.60: scene properties changed from SceneDescriptor property to the D3D properties offered by SceneProperties.hxx (this way XML im-/export works with the xmloff helper) 2005/10/18 14:51:35 bm 1.15.4.59: implement XModifyListener in order to listen to model changes (use define TEST_ENABLE_MODIFY_LISTENER to actually add and remove as listener at the model to get view updates) 2005/10/11 12:44:07 bm 1.15.4.58: using UndoManager for undo/redo 2005/10/07 11:33:19 bm 1.15.4.57: RESYNC: (1.16-1.17); FILE MERGED 2005/09/07 16:02:21 iha 1.15.4.56: added missing include 2005/09/02 14:29:11 iha 1.15.4.55: delete window with solar mutex 2005/08/30 14:46:40 bm 1.15.4.54: attach parent reference-device after creating draw model- and view wrappers 2005/08/29 14:49:37 iha 1.15.4.53: unmark before removing shapes 2005/08/26 13:04:05 bm 1.15.4.52: lock solar mutex when deleting svx objects (DTOR calls) 2005/08/26 10:00:07 bm 1.15.4.51: some more solar mutex locks 2005/08/25 12:35:06 bm 1.15.4.50: lock solar mutex when creating CreationWizard and ChartType dialog 2005/08/22 15:37:39 iha 1.15.4.49: don't create accessibility view for update 2005/08/04 11:52:11 bm 1.15.4.48: lock solar mutex when starting data source dialog 2005/07/27 12:33:12 bm 1.15.4.47: catch exceptions in dispose() 2005/07/13 15:20:07 iha 1.15.4.46: update draw model tables before use in view and dialogs 2005/07/08 14:56:22 iha 1.15.4.45: create and notify an accessible view 2005/07/08 12:59:02 iha 1.15.4.44: disconnect controller from model when disposed 2005/07/08 12:56:35 iha 1.15.4.43: provide and keep view as service only 2005/07/07 08:35:51 iha 1.15.4.42: implement interface XSelectionSupplier 2005/07/07 08:24:44 iha 1.15.4.41: reselect objects after view rebuild 2005/07/05 15:43:29 iha 1.15.4.40: redefine diagram size 2005/06/09 15:51:28 iha 1.15.4.39: support positions and sizes via view for old api wrapper 2005/06/07 15:50:33 iha 1.15.4.38: use numberformatter from model 2005/06/06 11:42:22 cd 1.15.4.37: Use createElement/requestElement calls to create elements always, even if module frame is not visible 2005/06/03 14:40:51 iha 1.15.4.36: construct chartview with drawmodelwrapper, shared_ptr for drawmodelwrapper, no background for chart window 2005/06/01 16:22:53 iha 1.15.4.35: remove interface xpropertyset 2005/05/31 18:57:39 iha 1.15.4.34: create old api without controller 2005/04/27 11:33:59 bm 1.15.4.33: use requestElement rather than createElement for UI ressources, and lock the layoutmanager 2005/04/04 11:39:47 bm 1.15.4.32: AcceleratorExecute helper class for handling accelerator keys 2005/04/04 11:20:09 bm 1.15.4.31: create toolbars / new slot DataRanges 2005/04/01 16:25:38 bm 1.15.4.30: shared data for different chart models 2005/03/31 12:55:16 bm 1.15.4.29: first redo implementation 2005/03/30 16:31:04 bm 1.15.4.28: make model cloneable (+first undo implementation) 2005/03/18 15:48:07 bm 1.15.4.27: XLayoutManager -> drafts namespace removed 2004/09/27 14:33:49 iha 1.15.4.26: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/09/15 15:44:55 iha 1.15.4.25: implement api redesign 2004/09/03 17:08:14 iha 1.15.4.24: enable save 2004/08/26 15:54:36 iha 1.15.4.23: View independent loading - different setting of page size 2004/08/24 13:51:28 iha 1.15.4.22: View independent loading - store page size separat from window (which does not exist in some cases) 2004/08/04 20:15:17 bm 1.15.4.21: RESYNC: (1.15-1.16); FILE MERGED 2004/06/30 08:09:21 iha 1.15.4.20: #i30866# charttype dialog without roadmap control 2004/06/17 10:03:29 bm 1.15.4.19: data source dialog is a tab dialog now using the same tabpages as the wizard 2004/06/04 08:05:04 bm 1.15.4.18: +GetDrawModelUNO 2004/06/01 19:03:50 iha 1.15.4.17: new 3D view/effects dialog 2004/05/24 17:47:30 bm 1.15.4.16: data source dialog is deprecated -> is a tabpage now 2004/05/17 17:33:54 iha 1.15.4.15: provide object naming; resource cleanup 2004/04/27 13:31:03 bm 1.15.4.14: DataSourceDialog needs a context to create new data series 2004/04/26 17:33:26 iha 1.15.4.13: #i27367# exchanged own controller mutex against solar mutex because of deadlocks during old api access 2004/04/26 11:15:29 iha 1.15.4.12: #i27367# offer access to created shapes for old api 2004/04/21 16:56:46 iha 1.15.4.11: #i20344# replace old type dialog with new type page 2004/04/21 11:35:17 bm 1.15.4.10: locked SolarMutexes added 2004/04/08 15:20:31 iha 1.15.4.9: added slot SelectSourceRanges 2004/04/08 12:29:51 iha 1.15.4.8: #i20344# offer update slot for view update after wizard has closed 2004/04/07 21:52:47 iha 1.15.4.7: #i20344# added method executeDispatch_CreationWizard 2004/03/24 10:33:51 bm 1.15.4.6: switch to internal calc again in "SaveAll" (Test-method) 2004/03/19 14:32:50 bm 1.15.4.5: XDataSource now contains XLabeledDataSources 2004/03/05 16:44:47 bm 1.15.4.4: lcl_isFormatObjectCommand: return false in else-path (return was missing) 2004/03/05 15:01:43 iha 1.15.4.3: differetn menu creation + changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/18 17:07:43 iha 1.15.4.2: handle lifetime of the ChartCindow correct 2004/02/13 16:51:19 bm 1.15.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:02:54 +00:00
}
ViewElementListProvider ChartController::getViewElementListProvider()
{
return ViewElementListProvider(m_pDrawModelWrapper.get());
}
2003-10-06 08:58:36 +00:00
} //namespace chart
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
com_sun_star_comp_chart2_ChartController_get_implementation(css::uno::XComponentContext *context,
css::uno::Sequence<css::uno::Any> const &)
{
return cppu::acquire(new chart::ChartController(context));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */