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

1441 lines
51 KiB
C++
Raw Normal View History

2003-10-06 08:58:36 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2003-10-06 08:58:36 +00:00
*
* Copyright 2008 by Sun Microsystems, Inc.
2003-10-06 08:58:36 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
2003-10-06 08:58:36 +00:00
*
* $RCSfile: ChartController.cxx,v $
2008-10-01 07:35:04 +00:00
* $Revision: 1.30.16.1 $
2003-10-06 08:58:36 +00:00
*
* This file is part of OpenOffice.org.
2003-10-06 08:58:36 +00:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
2003-10-06 08:58:36 +00:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
2003-10-06 08:58:36 +00:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
2003-10-06 08:58:36 +00:00
*
************************************************************************/
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_chart2.hxx"
2003-10-06 08:58:36 +00:00
#include "ChartController.hxx"
#include "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"
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 "svx/ActionDescriptionProvider.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 <comphelper/InlineContainer.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/XUndoSupplier.hpp>
#include <com/sun/star/chart2/data/XDataReceiver.hpp>
#include <com/sun/star/frame/XLoadable.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>
2003-10-06 08:58:36 +00:00
//-------
// header for define RET_OK
#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>
2003-10-06 08:58:36 +00:00
#include <vos/mutex.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
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 is needed to properly destroy the auto_ptr to the AcceleratorExecute
// object in the DTOR
#include <svtools/acceleratorexecute.hxx>
#include <svx/ActionDescriptionProvider.hxx>
// 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
/*
#include <vcl/svapp.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
*/
2003-10-06 08:58:36 +00:00
//.............................................................................
namespace chart
{
//.............................................................................
using namespace ::com::sun::star;
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::Any;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
DBG_NAME(ChartController)
2003-10-06 08:58:36 +00:00
//-----------------------------------------------------------------
// ChartController Constructor and Destructor
//-----------------------------------------------------------------
ChartController::ChartController(uno::Reference<uno::XComponentContext> const & xContext)
: m_aLifeTimeManager( NULL )
, m_bSuspended( sal_False )
, m_bCanClose( sal_True )
, m_xCC(xContext) //@todo is it allowed to hold this context??
2003-10-06 08:58:36 +00:00
, m_xFrame( NULL )
, m_aModelMutex()
, m_aModel( NULL, m_aModelMutex )
, m_pChartWindow( NULL )
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()
, m_xChartView()
, m_pDrawModelWrapper()
2003-10-06 08:58:36 +00:00
, m_pDrawViewWrapper(NULL)
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_eDragMode(SDRDRAG_MOVE)
, m_bWaitingForDoubleClick(false)
, m_bWaitingForMouseUp(false)
, m_bConnectingToView(false)
, m_xUndoManager( 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_aDispatchContainer( m_xCC )
2003-10-06 08:58:36 +00:00
{
DBG_CTOR(ChartController,NULL);
// m_aDispatchContainer.setUndoManager( 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
m_aDoubleClickTimer.SetTimeoutHdl( LINK( this, ChartController, DoubleClickWaitingHdl ) );
2003-10-06 08:58:36 +00:00
}
ChartController::~ChartController()
{
DBG_DTOR(ChartController,NULL);
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::RefCountable::RefCountable() : m_nRefCount(0)
{
}
ChartController::RefCountable::~RefCountable()
{
}
void ChartController::RefCountable::acquire()
{
m_nRefCount++;
}
void ChartController::RefCountable::release()
{
m_nRefCount--;
if(!m_nRefCount)
delete this;
}
//-----------------------------------------------------------------
ChartController::TheModel::TheModel( const uno::Reference< frame::XModel > & xModel )
: m_xModel( xModel )
, m_xCloseable( NULL )
, m_bOwnership( sal_True )
, m_bOwnershipIsWellKnown( sal_False )
{
m_xCloseable =
uno::Reference< util::XCloseable >( xModel, uno::UNO_QUERY );
}
ChartController::TheModel::~TheModel()
{
}
void ChartController::TheModel::SetOwnerShip( sal_Bool bGetsOwnership )
{
m_bOwnership = bGetsOwnership;
m_bOwnershipIsWellKnown = sal_True;
}
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 ourselfs
//so stop listening before trying to terminate or check the source of queryclosing event
m_xCloseable->close(sal_True);
m_bOwnership = false;
m_bOwnershipIsWellKnown = sal_True;
}
catch( util::CloseVetoException& )
{
//since we have indicated to give up the ownership with paramter true in close call
//the one who has thrown the CloseVetoException is the new owner
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 OSL_DEBUG_LEVEL > 2
2003-10-06 08:58:36 +00:00
OSL_ENSURE( !m_bOwnership,
"INFO: a well known owner has catched a CloseVetoException after calling close(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
#endif
2003-10-06 08:58:36 +00:00
m_bOwnership = false;
m_bOwnershipIsWellKnown = sal_True;
return;
}
}
else if( m_xModel.is() )
{
//@todo correct??
m_xModel->dispose();
return;
}
}
catch( uno::Exception& ex)
{
(void)(ex); // no warning in non-debug builds
2003-10-06 08:58:36 +00:00
OSL_ENSURE( sal_False, ( rtl::OString("Termination of model failed: ")
+ rtl::OUStringToOString( ex.Message, RTL_TEXTENCODING_ASCII_US ) ).getStr() );
}
}
//-----------------------------------------------------------------
ChartController::TheModelRef::TheModelRef( TheModel* pTheModel, ::osl::Mutex& rMutex )
: m_pTheModel(pTheModel), m_rModelMutex(rMutex)
{
::osl::Guard< ::osl::Mutex > aGuard( m_rModelMutex );
if(m_pTheModel)
m_pTheModel->acquire();
}
ChartController::TheModelRef::TheModelRef( const TheModelRef& rTheModel, ::osl::Mutex& rMutex )
: m_rModelMutex(rMutex)
{
::osl::Guard< ::osl::Mutex > aGuard( m_rModelMutex );
m_pTheModel=rTheModel.operator->();
if(m_pTheModel)
m_pTheModel->acquire();
}
ChartController::TheModelRef& ChartController::TheModelRef::operator=(TheModel* pTheModel)
{
::osl::Guard< ::osl::Mutex > aGuard( m_rModelMutex );
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 );
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 );
if(m_pTheModel)
m_pTheModel->release();
}
sal_Bool ChartController::TheModelRef::is() const
{
return (m_pTheModel != 0);
}
//-----------------------------------------------------------------
// private methods
//-----------------------------------------------------------------
sal_Bool 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
::impl_isDisposedOrSuspended() const
2003-10-06 08:58:36 +00:00
{
if( m_aLifeTimeManager.impl_isDisposed() )
return sal_True;
if( m_bSuspended )
{
OSL_ENSURE( sal_False, "This Controller is suspended" );
return sal_True;
}
return sal_False;
}
//-----------------------------------------------------------------
// lang::XServiceInfo
//-----------------------------------------------------------------
APPHELPER_XSERVICEINFO_IMPL(ChartController,CHART_CONTROLLER_SERVICE_IMPLEMENTATION_NAME)
uno::Sequence< rtl::OUString > ChartController
::getSupportedServiceNames_Static()
{
uno::Sequence< rtl::OUString > aSNS( 2 );
aSNS.getArray()[ 0 ] = CHART_CONTROLLER_SERVICE_NAME;
aSNS.getArray()[ 1 ] = ::rtl::OUString::createFromAscii("com.sun.star.frame.Controller");
//// @todo : add additional services if you support any further
return aSNS;
}
//-----------------------------------------------------------------
// XController
//-----------------------------------------------------------------
void SAL_CALL ChartController
::attachFrame( const uno::Reference<frame::XFrame>& xFrame )
throw(uno::RuntimeException)
{
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
::vos::OGuard aGuard( Application::GetSolarMutex());
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
if(m_xFrame.is()) //what happens, if we do have a Frame already??
{
//@todo? throw exception?
OSL_ENSURE( sal_False, "there is already a frame attached to the controller" );
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??
Window* pParent = NULL;
//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);
pParentComponent->setVisible(sal_True);
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
}
{
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
awt::Size aPageSize( ChartModelHelper::getPageSize(m_aModel->getModel()) );
2003-10-06 08:58:36 +00:00
// calls to VCL
::vos::OGuard aSolarGuard( Application::GetSolarMutex());
m_pChartWindow = new ChartWindow(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
2003-10-06 08:58:36 +00:00
m_xViewWindow = uno::Reference< awt::XWindow >( m_pChartWindow->GetComponentInterface(), uno::UNO_QUERY );
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 >( m_aModel->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
{
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< ::com::sun::star::frame::XLayoutManager > xLayoutManager;
xPropSet->getPropertyValue( C2U( "LayoutManager" ) ) >>= xLayoutManager;
if ( xLayoutManager.is() )
{
xLayoutManager->lock();
xLayoutManager->requestElement( C2U( "private:resource/menubar/menubar" ) );
//@todo: createElement should become unnecessary, remove when #i79198# is fixed
xLayoutManager->createElement( C2U( "private:resource/toolbar/standardbar" ) );
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->requestElement( C2U( "private:resource/toolbar/standardbar" ) );
//@todo: createElement should become unnecessary, remove when #i79198# is fixed
xLayoutManager->createElement( C2U( "private:resource/toolbar/toolbar" ) );
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->requestElement( C2U( "private:resource/toolbar/toolbar" ) );
xLayoutManager->requestElement( C2U( "private:resource/statusbar/statusbar" ) );
xLayoutManager->unlock();
// add as listener to get notified when
m_xLayoutManagerEventBroadcaster.set( xLayoutManager, uno::UNO_QUERY );
if( m_xLayoutManagerEventBroadcaster.is())
m_xLayoutManagerEventBroadcaster->addLayoutManagerEventListener( this );
}
}
catch( uno::Exception & ex )
{
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 )
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.equals(C2U("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
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
}
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( rEvent.NewMode.equals(C2U("invalid")) )
{
//the view is about to become invalid so end all actions on it
impl_invalidateAccessible();
::vos::OGuard aGuard( Application::GetSolarMutex());
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();
//m_pDrawViewWrapper->hideMarkHandles(); todo??
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)
{
{
::vos::OGuard aGuard( Application::GetSolarMutex());
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( m_aModel->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
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();
}
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)
{
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)
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
::vos::OClearableGuard aGuard( Application::GetSolarMutex());
2003-10-06 08:58:36 +00:00
if( impl_isDisposedOrSuspended() ) //@todo? allow attaching a new model while suspended?
return sal_False; //behave passive if already disposed or suspended
aGuard.clear();
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 );
//@todo?? termination correct?
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
// aOldModelRef->tryTermination();
#ifdef TEST_ENABLE_MODIFY_LISTENER
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 );
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 );
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.setFallbackDispatch( pDispatch, impl_getAvailableCommands() );
#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
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< lang::XMultiServiceFactory > xFact( m_aModel->getModel(), uno::UNO_QUERY );
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
if( m_pChartWindow )
m_pChartWindow->Invalidate();
uno::Reference< chart2::XUndoSupplier > xUndoSupplier( m_aModel->getModel(), uno::UNO_QUERY );
if( xUndoSupplier.is())
m_xUndoManager.set( xUndoSupplier->getUndoManager());
2003-10-06 08:58:36 +00:00
return sal_True;
}
uno::Reference< frame::XFrame > SAL_CALL ChartController
::getFrame() throw(uno::RuntimeException)
{
//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)
{
//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)
{
//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()
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
::vos::OGuard aGuard( Application::GetSolarMutex());
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 */ )
2003-10-06 08:58:36 +00:00
throw(uno::RuntimeException)
{
//restores the view status using the data gotten from a previous call to XController::getViewData()
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
::vos::OGuard aGuard( Application::GetSolarMutex());
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)
{
//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?
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
::vos::OGuard aGuard( Application::GetSolarMutex());
2003-10-06 08:58:36 +00:00
if( m_aLifeTimeManager.impl_isDisposed() )
return sal_False; //behave passive if already disposed, return false because request was not accepted //@todo? correct
if(bSuspend==m_bSuspended)
{
OSL_ENSURE( sal_False, "new suspend mode equals old suspend mode" );
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 sal_True;
2003-10-06 08:58:36 +00:00
}
//change suspend mode
if(bSuspend)
{
//aGuard.clear();
//@todo ??? try to stop all what may prevent me from becoming disposed
//aGuard.reset();
m_bSuspended = bSuspend;
return sal_True;
}
else
{
//aGuard.clear();
//@todo ??? redo what was made in section bSuspend==true
//aGuard.reset();
m_bSuspended = bSuspend;
}
return sal_True;
2003-10-06 08:58:36 +00:00
/*
if ( bSuspend )
getFrame()->removeFrameActionListener( pImp );
else
getFrame()->addFrameActionListener( pImp );
*/
}
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()
{
::vos::OGuard aGuard( Application::GetSolarMutex());
if(!m_pDrawViewWrapper)
{
if( m_pDrawModelWrapper )
{
m_pDrawViewWrapper = new DrawViewWrapper(&m_pDrawModelWrapper->getSdrModel(),m_pChartWindow,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
m_pDrawViewWrapper->attachParentReferenceDevice( m_aModel->getModel());
}
}
}
void ChartController::impl_deleteDrawViewController()
{
if( m_pDrawViewWrapper )
{
::vos::OGuard aGuard( Application::GetSolarMutex());
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)
{
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( m_aModel->getModel(), uno::UNO_QUERY );
if( xDataReceiver.is() )
xSelectionChangeListener = uno::Reference< view::XSelectionChangeListener >( 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( static_cast< lang::XComponent* >( this ) );
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< util::XModeChangeBroadcaster > xViewBroadcaster( m_xChartView, uno::UNO_QUERY );
if( xViewBroadcaster.is() )
xViewBroadcaster->removeModeChangeListener(this);
// /--
impl_invalidateAccessible();
::vos::OGuard aSolarGuard( Application::GetSolarMutex());
impl_deleteDrawViewController();
m_pDrawModelWrapper.reset();
m_apDropTargetHelper.reset();
//the accessible view is disposed within window destructor of m_pChartWindow
m_pChartWindow->clear();
m_pChartWindow = NULL;//m_pChartWindow is deleted via UNO due to dispose of m_xViewWindow (trigerred by Framework (Controller pretends to be XWindow also))
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( 0 );
}
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 = NULL;
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
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)
{
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
::vos::OGuard aGuard( Application::GetSolarMutex());
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( ::getCppuType((const uno::Reference< lang::XEventListener >*)0), xListener );
}
void SAL_CALL ChartController
::removeEventListener( const uno::Reference<
lang::XEventListener>& xListener )
throw(uno::RuntimeException)
{
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
::vos::OGuard aGuard( Application::GetSolarMutex());
if( m_aLifeTimeManager.impl_isDisposed() )
2003-10-06 08:58:36 +00:00
return; //behave passive if already disposed or suspended
//--remove listener
m_aLifeTimeManager.m_aListenerContainer.removeInterface( ::getCppuType((const uno::Reference< lang::XEventListener >*)0), xListener );
}
//-----------------------------------------------------------------
// util::XCloseListener
//-----------------------------------------------------------------
void SAL_CALL ChartController
::queryClosing( const lang::EventObject& rSource, sal_Bool bGetsOwnership )
throw(util::CloseVetoException, uno::RuntimeException)
{
//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_ENSURE( sal_False, "queryClosing was called on a controller from an unknown source" );
return;
}
if( !m_bCanClose )//@todo tryaqcuire mutex
{
if( bGetsOwnership )
{
aModelRef->SetOwnerShip( bGetsOwnership );
}
throw util::CloseVetoException();
}
else
{
//@ todo prepare to to closing model -> don't start any further hindering actions
}
}
void SAL_CALL ChartController
::notifyClosing( const lang::EventObject& rSource )
throw(uno::RuntimeException)
{
//Listener should deregister himself and relaese all references to the closing object.
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( sal_False /* DeliverOwnership */ );
m_xFrame.clear();
}
catch( 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 )
{
2003-10-06 08:58:36 +00:00
bool bReleaseModel = sal_False;
{
::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 = NULL;
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
}
}
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)
{
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( 0 );
}
2003-10-06 08:58:36 +00:00
}
void SAL_CALL ChartController::layoutEvent( const lang::EventObject& aSource, ::sal_Int16 eLayoutEvent, const uno::Any& /* aInfo */ )
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::RuntimeException)
{
if( eLayoutEvent == frame::LayoutManagerEvents::MERGEDMENUBAR )
{
Reference< frame::XLayoutManager > xLM( aSource.Source, uno::UNO_QUERY );
if( xLM.is())
{
xLM->createElement( C2U("private:resource/statusbar/statusbar"));
xLM->requestElement( C2U("private:resource/statusbar/statusbar"));
}
}
}
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
{
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 lcl_isFormatObjectCommand( const rtl::OString& aCommand )
{
if( aCommand.equals("MainTitle")
|| aCommand.equals("SubTitle")
|| aCommand.equals("XTitle")
|| aCommand.equals("YTitle")
|| aCommand.equals("ZTitle")
|| aCommand.equals("SecondaryXTitle")
|| aCommand.equals("SecondaryYTitle")
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
|| aCommand.equals("AllTitles")
|| aCommand.equals("Legend")
|| aCommand.equals("DiagramAxisX")
|| aCommand.equals("DiagramAxisY")
|| aCommand.equals("DiagramAxisZ")
|| aCommand.equals("DiagramAxisA")
|| aCommand.equals("DiagramAxisB")
|| aCommand.equals("DiagramAxisAll")
|| aCommand.equals("DiagramGridXMain")
|| aCommand.equals("DiagramGridYMain")
|| aCommand.equals("DiagramGridZMain")
|| aCommand.equals("DiagramGridXHelp")
|| aCommand.equals("DiagramGridYHelp")
|| aCommand.equals("DiagramGridZHelp")
|| aCommand.equals("DiagramGridAll")
|| aCommand.equals("DiagramWall")
|| aCommand.equals("DiagramFloor")
|| aCommand.equals("DiagramArea")
)
return true;
// 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 rtl::OUString& rTargetFrameName
, sal_Int32 /* nSearchFlags */)
2003-10-06 08:58:36 +00:00
throw(uno::RuntimeException)
{
if ( !m_aLifeTimeManager.impl_isDisposed() )
{
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( rTargetFrameName.getLength() &&
rTargetFrameName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("_self")))
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
2003-10-06 08:58:36 +00:00
uno::Sequence<uno::Reference<frame::XDispatch > > ChartController
::queryDispatches( const uno::Sequence<
frame::DispatchDescriptor>& xDescripts)
throw(uno::RuntimeException)
{
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 */ )
2003-10-06 08:58:36 +00:00
throw (uno::RuntimeException)
{
//@todo avoid OString (see Mathias mail on bug #104387#)
rtl::OString aCommand( rtl::OUStringToOString( rURL.Path, RTL_TEXTENCODING_ASCII_US ) );
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.equals("Paste"))
this->executeDispatch_Paste();
else if(aCommand.equals("Copy"))
this->executeDispatch_Copy();
else if(aCommand.equals("Cut"))
this->executeDispatch_Cut();
else if(aCommand.equals("DataRanges"))
this->executeDispatch_SourceData();
//----------------------------------
else if(aCommand.equals("Update")) //Update Chart
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
ChartViewHelper::setViewToDirtyState( m_aModel->getModel() );
if( m_pChartWindow )
m_pChartWindow->Invalidate();
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
else if(aCommand.equals("DiagramData"))
this->executeDispatch_EditData();
//insert objects
else if( aCommand.equals("InsertTitle"))
this->executeDispatch_InsertTitle();
else if( aCommand.equals("InsertLegend"))
this->executeDispatch_InsertLegend();
else if( aCommand.equals("InsertDescription"))
this->executeDispatch_InsertDataLabel();
else if( aCommand.equals("InsertAxis"))
this->executeDispatch_InsertAxis();
else if( aCommand.equals("InsertGrids"))
this->executeDispatch_InsertGrid();
// else if( aCommand.equals("InsertStatistics"))
// this->executeDispatch_InsertStatistic();
else if( aCommand.equals("InsertTrendlines"))
this->executeDispatch_InsertTrendlines();
else if( aCommand.equals("InsertMeanValues"))
this->executeDispatch_InsertMeanValues();
else if( aCommand.equals("InsertYErrorbars"))
this->executeDispatch_InsertYErrorbars();
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( aCommand.equals("InsertSymbol"))
this->executeDispatch_InsertSpecialCharacter();
else if( aCommand.equals("InsertTrendline"))
this->executeDispatch_InsertTrendline();
else if( aCommand.equals("DeleteTrendline"))
this->executeDispatch_DeleteTrendline();
else if( aCommand.equals("InsertMeanValue"))
this->executeDispatch_InsertMeanValue();
else if( aCommand.equals("DeleteMeanValue"))
this->executeDispatch_DeleteMeanValue();
else if( aCommand.equals("InsertYErrorbar"))
this->executeDispatch_InsertYErrorbar();
else if( aCommand.equals("DeleteYErrorbar"))
this->executeDispatch_DeleteYErrorbar();
else if( aCommand.equals("InsertTrendlineEquation"))
this->executeDispatch_InsertTrendlineEquation();
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.equals("DiagramObjects"))
this->executeDispatch_ObjectProperties();
else if( aCommand.equals("TransformDialog"))
this->executeDispatch_PositionAndSize();
else if( lcl_isFormatObjectCommand(aCommand) )
this->executeDispatch_FormatObject(rURL.Path);
//more format
//MENUCHANGE else if(aCommand.equals("SelectSourceRanges"))
//MENUCHANGE this->executeDispatch_SourceData();
else if( aCommand.equals("DiagramType"))
this->executeDispatch_ChartType();
else if( aCommand.equals("View3D"))
this->executeDispatch_View3D();
else if( aCommand.equals("Forward"))
this->executeDispatch_MoveSeries( sal_True );
else if( aCommand.equals("Backward"))
this->executeDispatch_MoveSeries( sal_False );
else if( aCommand.equals("NewArrangement"))
this->executeDispatch_NewArrangement();
else if( aCommand.equals("ToggleLegend"))
this->executeDispatch_ToggleLegend();
else if( aCommand.equals("ToggleGridHorizontal"))
this->executeDispatch_ToggleGridHorizontal();
else if( aCommand.equals("ScaleText"))
this->executeDispatch_ScaleText();
else if( aCommand.equals("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
{
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< ::com::sun::star::frame::XLayoutManager > xLayoutManager;
xPropSet->getPropertyValue( C2U( "LayoutManager" ) ) >>= xLayoutManager;
if ( xLayoutManager.is() )
{
bool bIsVisible( xLayoutManager->isElementVisible( C2U("private:resource/statusbar/statusbar")));
if( bIsVisible )
{
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->hideElement( C2U( "private:resource/statusbar/statusbar"));
xLayoutManager->destroyElement( C2U( "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( C2U( "private:resource/statusbar/statusbar"));
xLayoutManager->showElement( C2U( "private:resource/statusbar/statusbar"));
}
// @todo: update menu state (checkmark next to "Statusbar").
}
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
/*
case SID_TEXTEDIT:
this->executeDispatch_EditText();
*/
2003-10-06 08:58:36 +00:00
}
void SAL_CALL ChartController
::addStatusListener( const uno::Reference<frame::XStatusListener >& /* xControl */
, const util::URL& /* aURL */ )
2003-10-06 08:58:36 +00:00
throw (uno::RuntimeException)
{
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: add listener by URL !
// ::vos::OGuard aGuard( Application::GetSolarMutex());
// if( impl_isDisposedOrSuspended() )//@todo? allow adding of listeners in suspend mode?
// return; //behave passive if already disposed or suspended
// //--add listener
// m_aLifeTimeManager.m_aListenerContainer.addInterface( ::getCppuType( & xControl ), xControl );
2003-10-06 08:58:36 +00:00
}
void SAL_CALL ChartController
::removeStatusListener( const uno::Reference<frame::XStatusListener >& /* xControl */
, const util::URL& /* aURL */ )
2003-10-06 08:58:36 +00:00
throw (uno::RuntimeException)
{
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: remove listener by URL !
// ::vos::OGuard aGuard( Application::GetSolarMutex());
// if( m_aLifeTimeManager.impl_isDisposed() )
// return; //behave passive if already disposed or suspended
// //--remove listener
// m_aLifeTimeManager.m_aListenerContainer.removeInterface( ::getCppuType( & xControl ), xControl );
2003-10-06 08:58:36 +00:00
}
//-----------------------------------------------------------------
// XContextMenuInterception (optional interface)
//-----------------------------------------------------------------
void SAL_CALL ChartController
::registerContextMenuInterceptor( const uno::Reference<
ui::XContextMenuInterceptor > & /* xInterceptor */)
2003-10-06 08:58:36 +00:00
throw(uno::RuntimeException)
{
//@todo
}
void SAL_CALL ChartController
::releaseContextMenuInterceptor( const uno::Reference<
ui::XContextMenuInterceptor > & /* xInterceptor */)
2003-10-06 08:58:36 +00:00
throw(uno::RuntimeException)
{
//@todo
}
// ____ XEmbeddedClient ____
// implementation see: ChartController_EditData.cxx
2003-10-06 08:58:36 +00:00
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
void SAL_CALL ChartController::executeDispatch_ChartType()
{
// using assignment for broken gcc 3.3
UndoLiveUpdateGuard aUndoGuard = UndoLiveUpdateGuard(
::rtl::OUString( String( SchResId( STR_ACTION_EDIT_CHARTTYPE ))), m_xUndoManager, m_aModel->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
// /--
::vos::OGuard aSolarGuard( Application::GetSolarMutex());
//prepare and open dialog
ChartTypeDialog aDlg( m_pChartWindow, m_aModel->getModel(), m_xCC );
if( aDlg.Execute() == RET_OK )
{
impl_adaptDataSeriesAutoResize();
aUndoGuard.commitAction();
}
// \--
}
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 SAL_CALL ChartController::executeDispatch_SourceData()
{
2003-10-06 08:58:36 +00:00
//-------------------------------------------------------------
//convert properties to ItemSet
uno::Reference< XChartDocument > xChartDoc( m_aModel->getModel(), uno::UNO_QUERY );
DBG_ASSERT( xChartDoc.is(), "Invalid XChartDocument" );
if( !xChartDoc.is())
return;
2003-10-06 08:58:36 +00:00
// using assignment for broken gcc 3.3
UndoLiveUpdateGuard aUndoGuard = UndoLiveUpdateGuard(
::rtl::OUString( String( SchResId( STR_ACTION_EDIT_DATA_RANGES ))), m_xUndoManager, m_aModel->getModel() );
if( xChartDoc.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
// /--
::vos::OGuard aSolarGuard( Application::GetSolarMutex());
::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.commitAction();
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
}
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
void SAL_CALL ChartController::executeDispatch_MoveSeries( sal_Bool bForward )
{
ControllerLockGuard aCLGuard( m_aModel->getModel());
//get selected series
::rtl::OUString aObjectCID(m_aSelection.getSelectedCID());
uno::Reference< XDataSeries > xGivenDataSeries( ObjectIdentifier::getDataSeriesForCID( //yyy todo also legendentries and labels?
aObjectCID, m_aModel->getModel() ) );
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::MOVE_TOTOP : ActionDescriptionProvider::MOVE_TOBOTTOM),
::rtl::OUString( String( SchResId( STR_OBJECT_DATASERIES )))),
m_xUndoManager, m_aModel->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
bool bChanged = DiagramHelper::moveSeries( ChartModelHelper::findDiagram( m_aModel->getModel() ), xGivenDataSeries, bForward );
if( bChanged )
{
m_aSelection.setSelection( ObjectIdentifier::getMovedSeriesCID( aObjectCID, 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
aUndoGuard.commitAction();
}
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 ::rtl::OUString& aServiceSpecifier )
throw (uno::Exception,
uno::RuntimeException)
{
uno::Reference< uno::XInterface > xResult;
if( aServiceSpecifier.equals( CHART_ACCESSIBLE_TEXT_SERVICE_NAME ))
xResult.set( impl_createAccessibleTextContext());
return xResult;
}
uno::Reference< uno::XInterface > SAL_CALL
ChartController::createInstanceWithArguments( const ::rtl::OUString& ServiceSpecifier,
const uno::Sequence< uno::Any >& /* Arguments */ )
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)
{
// ignore Arguments
return createInstance( ServiceSpecifier );
}
uno::Sequence< ::rtl::OUString > SAL_CALL
ChartController::getAvailableServiceNames()
throw (uno::RuntimeException)
{
static uno::Sequence< ::rtl::OUString > aServiceNames;
if( aServiceNames.getLength() == 0 )
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
aServiceNames.realloc(1);
aServiceNames[0] = CHART_ACCESSIBLE_TEXT_SERVICE_NAME;
}
return aServiceNames;
}
// ____ XModifyListener ____
void SAL_CALL ChartController::modified( const lang::EventObject& /* aEvent */ )
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::RuntimeException)
{
// the source can also be a subobject of the ChartModel
// @todo: change the source in ChartModel to always be the model itself ?
// if( m_aModel->getModel() == aEvent.Source )
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 states ?
}
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
DrawModelWrapper* ChartController::GetDrawModelWrapper()
{
if( !m_pDrawModelWrapper.get() )
{
ExplicitValueProvider* pProvider = ExplicitValueProvider::getExplicitValueProvider( m_xChartView );
if( pProvider )
m_pDrawModelWrapper = pProvider->getDrawModelWrapper();
}
return m_pDrawModelWrapper.get();
}
uno::Reference< accessibility::XAccessible > ChartController::CreateAccessible()
{
uno::Reference< accessibility::XAccessible > xResult(
m_xCC->getServiceManager()->createInstanceWithContext(
CHART2_ACCESSIBLE_SERVICE_NAME, m_xCC ), uno::UNO_QUERY );
impl_initializeAccessible( uno::Reference< lang::XInitialization >( xResult, uno::UNO_QUERY ) );
return xResult;
}
void ChartController::impl_invalidateAccessible()
{
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()
{
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(m_aModel->getModel());
aArguments[1]=uno::makeAny(xModel);
aArguments[2]=uno::makeAny(m_xChartView);
uno::Reference< accessibility::XAccessible > xParent;
if( m_pChartWindow )
{
Window* pParentWin( m_pChartWindow->GetAccessibleParentWindow());
if( pParentWin )
xParent.set( pParentWin->GetAccessible());
}
aArguments[3]=uno::makeAny(xParent);
aArguments[4]=uno::makeAny(m_xViewWindow);
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
::std::set< ::rtl::OUString > ChartController::impl_getAvailableCommands()
{
return ::comphelper::MakeSet< ::rtl::OUString >
// commands for container forward
( C2U("AddDirect")) ( C2U("NewDoc")) ( C2U("Open"))
( C2U("Save")) ( C2U("SaveAs")) ( C2U("SendMail"))
( C2U("EditDoc")) ( C2U("ExportDirectToPDF")) ( C2U("PrintDefault"))
// own commands
( C2U("Cut") ) ( C2U("Copy") ) ( C2U("Paste") )
( C2U("DataRanges") ) ( C2U("DiagramData") )
// insert objects
( C2U("InsertTitle") ) ( C2U("InsertLegend") ) ( C2U("InsertDescription") )
( C2U("InsertAxis") ) ( C2U("InsertGrids") ) ( C2U("InsertStatistics") )
( C2U("InsertSymbol") ) ( C2U("InsertTrendline") ) ( C2U("InsertTrendlineEquation") )
( C2U("InsertTrendlines") ) ( C2U("InsertMeanValue") ) ( C2U("InsertMeanValues") )
( C2U("InsertYErrorbars") ) ( C2U("InsertYErrorbar") )
( C2U("DeleteTrendline") ) ( C2U("DeleteMeanValue") ) ( C2U("DeleteYErrorbar") )
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
//MENUCHANGE ( C2U("SelectSourceRanges") )
( C2U("DiagramObjects") ) ( C2U("TransformDialog") )
( C2U("DiagramType") ) ( C2U("View3D") )
( C2U("Forward") ) ( C2U("Backward") )
( C2U("MainTitle") ) ( C2U("SubTitle") )
( C2U("XTitle") ) ( C2U("YTitle") ) ( C2U("ZTitle") )
( C2U("SecondaryXTitle") ) ( C2U("SecondaryYTitle") )
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
( C2U("AllTitles") ) ( C2U("Legend") )
( C2U("DiagramAxisX") ) ( C2U("DiagramAxisY") ) ( C2U("DiagramAxisZ") )
( C2U("DiagramAxisA") ) ( C2U("DiagramAxisB") ) ( C2U("DiagramAxisAll") )
( C2U("DiagramGridXMain") ) ( C2U("DiagramGridYMain") ) ( C2U("DiagramGridZMain") )
( C2U("DiagramGridXHelp") ) ( C2U("DiagramGridYHelp") ) ( C2U("DiagramGridZHelp") )
( C2U("DiagramGridAll") )
( C2U("DiagramWall") ) ( C2U("DiagramFloor") ) ( C2U("DiagramArea") )
// toolbar commands
( C2U("ToggleGridHorizontal"))( C2U("ToggleLegend") ) ( C2U("ScaleText") )
( C2U("NewArrangement") ) ( C2U("Update") )
( C2U("DefaultColors") ) ( C2U("BarWidth") ) ( C2U("NumberOfLines") )
( C2U("ArrangeRow") )
( C2U("StatusBarVisible") )
;
}
2003-10-06 08:58:36 +00:00
//.............................................................................
} //namespace chart
//.............................................................................