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

741 lines
32 KiB
C++
Raw Normal View History

2010-10-27 12:43:08 +01:00
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2003-10-06 08:58:36 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2003-10-06 08:58:36 +00:00
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
2003-10-06 08:58:36 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
2003-10-06 08:58:36 +00:00
*
* This file is part of OpenOffice.org.
2003-10-06 08:58:36 +00:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
2003-10-06 08:58:36 +00:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
2003-10-06 08:58:36 +00:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
2003-10-06 08:58:36 +00:00
*
************************************************************************/
#ifndef _CHART_CONTROLLER_HXX
#define _CHART_CONTROLLER_HXX
#include "LifeTime.hxx"
#include "ServiceMacros.hxx"
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
#include "CommandDispatchContainer.hxx"
#include "SelectionHelper.hxx"
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
// header for enum SdrDragMode
#include <svx/svdtypes.hxx>
// header for class Timer
#include <vcl/timer.hxx>
// header for class MouseEvent
#include <vcl/event.hxx>
#include <cppuhelper/implbase12.hxx>
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/document/XUndoManager.hpp>
2003-10-06 08:58:36 +00:00
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/frame/XDispatch.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <com/sun/star/ui/XContextMenuInterception.hpp>
#include <com/sun/star/uno/XWeak.hpp>
#include <com/sun/star/util/XCloseListener.hpp>
#include <com/sun/star/util/XCloseable.hpp>
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
#include <com/sun/star/lang/XInitialization.hpp>
2003-10-06 08:58:36 +00:00
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/util/XModifyListener.hpp>
#include <com/sun/star/util/XModeChangeListener.hpp>
#include <com/sun/star/awt/Point.hpp>
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
#include <com/sun/star/frame/XLayoutManagerListener.hpp>
#include <com/sun/star/frame/XLayoutManagerEventBroadcaster.hpp>
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
#include <memory>
#include <boost/shared_ptr.hpp>
#include <set>
2003-10-06 08:58:36 +00:00
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
class SdrModel;
namespace svt
{
class AcceleratorExecute;
}
class DropTargetHelper;
namespace com { namespace sun { namespace star {
namespace graphic {
class XGraphic;
}
}}}
2003-10-06 08:58:36 +00:00
//.............................................................................
namespace chart
{
//.............................................................................
class UndoGuard;
enum ChartDrawMode { CHARTDRAW_INSERT, CHARTDRAW_SELECT };
2003-10-06 08:58:36 +00:00
class WindowController
{
public:
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
virtual ~WindowController() {};
virtual void PrePaint()=0;
2003-10-06 08:58:36 +00:00
virtual void execute_Paint( const Rectangle& rRect )=0;
virtual void execute_MouseButtonDown( const MouseEvent& rMEvt )=0;
virtual void execute_MouseMove( const MouseEvent& rMEvt )=0;
virtual void execute_Tracking( const TrackingEvent& rTEvt )=0;
virtual void execute_MouseButtonUp( const MouseEvent& rMEvt )=0;
virtual void execute_Resize()=0;
virtual void execute_Activate()=0;
virtual void execute_Deactivate()=0;
virtual void execute_GetFocus()=0;
virtual void execute_LoseFocus()=0;
virtual void execute_Command( const CommandEvent& rCEvt )=0;
2003-10-28 14:49:04 +00:00
virtual bool execute_KeyInput( const KeyEvent& rKEvt )=0;
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
/** get help text to be shown in a quick help
@param aAtLogicPosition the position in logic coordinates (of the
window) of the mouse cursor to determine for
which object help is requested.
@param bIsBalloonHelp determines whether to return the long text version
(balloon help) or the shorter one (quick help).
@param rOutQuickHelpText is filled with the quick help text
@param rOutEqualRect is filled with a rectangle that denotes the region
in which the quick help does not change.
@return </sal_True>, if a quick help should be shown.
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
*/
virtual bool requestQuickHelp(
::Point aAtLogicPosition, bool bIsBalloonHelp,
::rtl::OUString & rOutQuickHelpText, ::com::sun::star::awt::Rectangle & rOutEqualRect ) = 0;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible() = 0;
2003-10-06 08:58:36 +00:00
};
class ChartWindow;
class DrawModelWrapper;
class DrawViewWrapper;
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
class ViewElementListProvider;
class ReferenceSizeProvider;
class ChartController : public ::cppu::WeakImplHelper12 <
2003-10-06 08:58:36 +00:00
::com::sun::star::frame::XController //comprehends XComponent (required interface)
,::com::sun::star::frame::XDispatchProvider //(required interface)
,::com::sun::star::view::XSelectionSupplier //(optional interface)
,::com::sun::star::ui::XContextMenuInterception //(optional interface)
,::com::sun::star::util::XCloseListener //(needed for communication with XModel)
,::com::sun::star::lang::XServiceInfo
// ,public ::com::sun::star::uno::XWeak // implemented by WeakImplHelper(optional interface)
// ,public ::com::sun::star::uno::XInterface // implemented by WeakImplHelper(optional interface)
// ,public ::com::sun::star::lang::XTypeProvider // implemented by WeakImplHelper
,::com::sun::star::frame::XDispatch
,::com::sun::star::awt::XWindow //this is the Window Controller part of this Controller, that will be given to a Frame via setComponent
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
,::com::sun::star::lang::XMultiServiceFactory
,::com::sun::star::util::XModifyListener
,::com::sun::star::util::XModeChangeListener
,::com::sun::star::frame::XLayoutManagerListener
2003-10-06 08:58:36 +00:00
>
, public WindowController
{
friend class DrawCommandDispatch;
friend class ShapeController;
2003-10-06 08:58:36 +00:00
public:
//no default constructor
ChartController(::com::sun::star::uno::Reference<
::com::sun::star::uno::XComponentContext > const & xContext);
virtual ~ChartController();
//-----------------------------------------------------------------
// ::com::sun::star::lang::XServiceInfo
//-----------------------------------------------------------------
APPHELPER_XSERVICEINFO_DECL()
APPHELPER_SERVICE_FACTORY_HELPER(ChartController)
//-----------------------------------------------------------------
// ::com::sun::star::frame::XController (required interface)
//-----------------------------------------------------------------
virtual void SAL_CALL
attachFrame( const ::com::sun::star::uno::Reference<
::com::sun::star::frame::XFrame > & xFrame )
throw (::com::sun::star::uno::RuntimeException);
virtual sal_Bool SAL_CALL
attachModel( const ::com::sun::star::uno::Reference<
::com::sun::star::frame::XModel > & xModel )
throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > SAL_CALL
getFrame() throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > SAL_CALL
getModel() throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Any SAL_CALL
getViewData() throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
restoreViewData( const ::com::sun::star::uno::Any& rValue )
throw (::com::sun::star::uno::RuntimeException);
virtual sal_Bool SAL_CALL
suspend( sal_Bool bSuspend )
throw (::com::sun::star::uno::RuntimeException);
//-----------------------------------------------------------------
// ::com::sun::star::lang::XComponent (base of XController)
//-----------------------------------------------------------------
virtual void SAL_CALL
dispose() throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
addEventListener( const ::com::sun::star::uno::Reference<
::com::sun::star::lang::XEventListener > & xListener )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
removeEventListener( const ::com::sun::star::uno::Reference<
::com::sun::star::lang::XEventListener > & xListener )
throw (::com::sun::star::uno::RuntimeException);
//-----------------------------------------------------------------
// ::com::sun::star::frame::XDispatchProvider (required interface)
//-----------------------------------------------------------------
virtual ::com::sun::star::uno::Reference<
::com::sun::star::frame::XDispatch> SAL_CALL
queryDispatch( const ::com::sun::star::util::URL& rURL
, const rtl::OUString& rTargetFrameName
, sal_Int32 nSearchFlags)
throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Reference<
::com::sun::star::frame::XDispatch > > SAL_CALL
queryDispatches( const ::com::sun::star::uno::Sequence<
::com::sun::star::frame::DispatchDescriptor > & xDescripts)
throw (::com::sun::star::uno::RuntimeException);
//-----------------------------------------------------------------
// ::com::sun::star::view::XSelectionSupplier (optional interface)
//-----------------------------------------------------------------
virtual sal_Bool SAL_CALL
select( const ::com::sun::star::uno::Any& rSelection )
throw ( com::sun::star::lang::IllegalArgumentException );
virtual ::com::sun::star::uno::Any SAL_CALL
getSelection() throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
addSelectionChangeListener( const ::com::sun::star::uno::Reference<
com::sun::star::view::XSelectionChangeListener > & xListener )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
removeSelectionChangeListener( const ::com::sun::star::uno::Reference<
com::sun::star::view::XSelectionChangeListener > & xListener )
throw (::com::sun::star::uno::RuntimeException);
//-----------------------------------------------------------------
// ::com::sun::star::ui::XContextMenuInterception (optional interface)
//-----------------------------------------------------------------
virtual void SAL_CALL
registerContextMenuInterceptor( const ::com::sun::star::uno::Reference<
::com::sun::star::ui::XContextMenuInterceptor > & xInterceptor)
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
releaseContextMenuInterceptor( const ::com::sun::star::uno::Reference<
::com::sun::star::ui::XContextMenuInterceptor > & xInterceptor)
throw (::com::sun::star::uno::RuntimeException);
//-----------------------------------------------------------------
//-----------------------------------------------------------------
//additional interfaces
//-----------------------------------------------------------------
// ::com::sun::star::util::XCloseListener
//-----------------------------------------------------------------
virtual void SAL_CALL
queryClosing( const ::com::sun::star::lang::EventObject& Source
, sal_Bool GetsOwnership )
throw (::com::sun::star::util::CloseVetoException
, ::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
notifyClosing( const ::com::sun::star::lang::EventObject& Source )
throw (::com::sun::star::uno::RuntimeException);
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
//-------------------------------------------------------------------------------------
// ::com::sun::star::util::XEventListener (base of XCloseListener and XModifyListener)
//-------------------------------------------------------------------------------------
2003-10-06 08:58:36 +00:00
virtual void SAL_CALL
disposing( const ::com::sun::star::lang::EventObject& Source )
throw (::com::sun::star::uno::RuntimeException);
//-----------------------------------------------------------------
// ::com::sun::star::frame::XDispatch
//-----------------------------------------------------------------
virtual void SAL_CALL
dispatch( const ::com::sun::star::util::URL& aURL
, const ::com::sun::star::uno::Sequence<
::com::sun::star::beans::PropertyValue >& aArgs )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
addStatusListener( const ::com::sun::star::uno::Reference<
::com::sun::star::frame::XStatusListener >& xControl
, const ::com::sun::star::util::URL& aURL )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
removeStatusListener( const ::com::sun::star::uno::Reference<
::com::sun::star::frame::XStatusListener >& xControl
, const ::com::sun::star::util::URL& aURL )
throw (::com::sun::star::uno::RuntimeException);
//-----------------------------------------------------------------
// ::com::sun::star::awt::XWindow
//-----------------------------------------------------------------
virtual void SAL_CALL
setPosSize( sal_Int32 X, sal_Int32 Y
, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags )
throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::awt::Rectangle SAL_CALL
getPosSize()
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
setVisible( sal_Bool Visible )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
setEnable( sal_Bool Enable )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
setFocus() throw (::com::sun::star::uno::RuntimeException);
//----------------
virtual void SAL_CALL
addWindowListener( const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XWindowListener >& xListener )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
removeWindowListener( const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XWindowListener >& xListener )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
addFocusListener( const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XFocusListener >& xListener )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
removeFocusListener( const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XFocusListener >& xListener )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
addKeyListener( const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XKeyListener >& xListener )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
removeKeyListener( const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XKeyListener >& xListener )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
addMouseListener( const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XMouseListener >& xListener )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
removeMouseListener( const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XMouseListener >& xListener )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
addMouseMotionListener( const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XMouseMotionListener >& xListener )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
removeMouseMotionListener( const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XMouseMotionListener >& xListener )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
addPaintListener( const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XPaintListener >& xListener )
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
removePaintListener( const ::com::sun::star::uno::Reference<
::com::sun::star::awt::XPaintListener >& xListener )
throw (::com::sun::star::uno::RuntimeException);
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
//-----------------------------------------------------------------
// ::com::sun::star::lang XMultiServiceFactory
//-----------------------------------------------------------------
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL
createInstance( const ::rtl::OUString& aServiceSpecifier )
throw (::com::sun::star::uno::Exception,
::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL
createInstanceWithArguments( const ::rtl::OUString& ServiceSpecifier,
const ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Any >& Arguments )
throw (::com::sun::star::uno::Exception,
::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL
getAvailableServiceNames()
throw (::com::sun::star::uno::RuntimeException);
//-----------------------------------------------------------------
// ::com::sun::star::util::XModifyListener
//-----------------------------------------------------------------
virtual void SAL_CALL modified(
const ::com::sun::star::lang::EventObject& aEvent )
throw (::com::sun::star::uno::RuntimeException);
//-----------------------------------------------------------------
// ::com::sun::star::util::XModeChangeListener
//-----------------------------------------------------------------
virtual void SAL_CALL modeChanged(
const ::com::sun::star::util::ModeChangeEvent& _rSource )
throw (::com::sun::star::uno::RuntimeException);
//-----------------------------------------------------------------
// ::com::sun::star::frame::XLayoutManagerListener
//-----------------------------------------------------------------
virtual void SAL_CALL layoutEvent(
const ::com::sun::star::lang::EventObject& aSource,
::sal_Int16 eLayoutEvent,
const ::com::sun::star::uno::Any& aInfo )
throw (::com::sun::star::uno::RuntimeException);
2003-10-06 08:58:36 +00:00
//-----------------------------------------------------------------
// chart2::WindowController
//-----------------------------------------------------------------
virtual void PrePaint();
2003-10-06 08:58:36 +00:00
virtual void execute_Paint( const Rectangle& rRect );
virtual void execute_MouseButtonDown( const MouseEvent& rMEvt );
virtual void execute_MouseMove( const MouseEvent& rMEvt );
virtual void execute_Tracking( const TrackingEvent& rTEvt );
virtual void execute_MouseButtonUp( const MouseEvent& rMEvt );
virtual void execute_Resize();
virtual void execute_Activate();
virtual void execute_Deactivate();
virtual void execute_GetFocus();
virtual void execute_LoseFocus();
virtual void execute_Command( const CommandEvent& rCEvt );
2003-10-28 14:49:04 +00:00
virtual bool execute_KeyInput( const KeyEvent& rKEvt );
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
virtual bool requestQuickHelp(
::Point aAtLogicPosition, bool bIsBalloonHelp,
::rtl::OUString & rOutQuickHelpText, ::com::sun::star::awt::Rectangle & rOutEqualRect );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible();
//-----------------------------------------------------------------
//-----------------------------------------------------------------
static bool isObjectDeleteable( const ::com::sun::star::uno::Any& rSelection );
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
void setDrawMode( ChartDrawMode eMode ) { m_eDrawMode = eMode; }
ChartDrawMode getDrawMode() const { return m_eDrawMode; }
bool isShapeContext() const;
DECL_LINK( NotifyUndoActionHdl, SdrUndoAction* );
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
public:
//-----------------------------------------------------------------
//-----------------------------------------------------------------
//-----------------------------------------------------------------
2003-10-06 08:58:36 +00:00
//-----------------------------------------------------------------
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
//private
//-----------------------------------------------------------------
//-----------------------------------------------------------------
//-----------------------------------------------------------------
//-----------------------------------------------------------------
private:
DrawModelWrapper* GetDrawModelWrapper();
DrawViewWrapper* GetDrawViewWrapper();
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
private:
class TheModelRef;
friend class ChartController::TheModelRef;
class RefCountable
{
public:
RefCountable();
virtual ~RefCountable();
void acquire();
void release();
private:
sal_Int32 volatile m_nRefCount;
};
class TheModel : public RefCountable
{
public:
TheModel( const ::com::sun::star::uno::Reference<
::com::sun::star::frame::XModel > & xModel );
virtual ~TheModel();
void SetOwnerShip( sal_Bool bGetsOwnership );
void addListener( ChartController* pController );
void removeListener( ChartController* pController );
void tryTermination();
::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >
2011-02-02 12:32:52 +01:00
getModel() const { return m_xModel;}
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
private:
::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > m_xModel;
::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseable > m_xCloseable;
//the ownership between model and controller is not clear at first
//each controller might consider himself as owner of the model first
sal_Bool volatile m_bOwnership;
//with a XCloseable::close call and during XCloseListener::queryClosing
//the ownership can be regulated more explicit,
//if so the ownership is considered to be well known
sal_Bool volatile m_bOwnershipIsWellKnown;
};
class TheModelRef
{
public:
TheModelRef( TheModel* pTheModel, ::osl::Mutex& rMutex );
TheModelRef( const TheModelRef& rTheModel, ::osl::Mutex& rMutex );
TheModelRef& operator=(ChartController::TheModel* pTheModel);
TheModelRef& operator=(const TheModelRef& rTheModel);
virtual ~TheModelRef();
sal_Bool is() const;
TheModel* operator->() const { return m_pTheModel; }
private:
TheModel* m_pTheModel;
2011-01-24 14:43:59 +00:00
::osl::Mutex& m_rModelMutex;
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
};
private:
mutable ::apphelper::LifeTimeManager m_aLifeTimeManager;
mutable ::osl::Mutex m_aControllerMutex;
sal_Bool volatile m_bSuspended;
sal_Bool volatile m_bCanClose;
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext> m_xCC;
//model
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > m_xFrame;
mutable ::osl::Mutex m_aModelMutex;
TheModelRef m_aModel;
//view
ChartWindow* m_pChartWindow;
::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > m_xViewWindow;
::com::sun::star::uno::Reference<
::com::sun::star::uno::XInterface > m_xChartView;
::boost::shared_ptr< DrawModelWrapper > m_pDrawModelWrapper;
DrawViewWrapper* m_pDrawViewWrapper;
Selection m_aSelection;
SdrDragMode m_eDragMode;
Timer m_aDoubleClickTimer;
bool volatile m_bWaitingForDoubleClick;
bool volatile m_bWaitingForMouseUp;
bool volatile m_bConnectingToView;
::com::sun::star::uno::Reference< ::com::sun::star::document::XUndoManager > m_xUndoManager;
::std::auto_ptr< UndoGuard > m_pTextActionUndoGuard;
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
/// needed for dispatching URLs in FeatureStateEvents
mutable ::com::sun::star::uno::Reference< ::com::sun::star::util::XURLTransformer > m_xURLTransformer;
::std::auto_ptr< ::svt::AcceleratorExecute > m_apAccelExecute;
CommandDispatchContainer m_aDispatchContainer;
::std::auto_ptr< DropTargetHelper > m_apDropTargetHelper;
::com::sun::star::uno::Reference<
::com::sun::star::frame::XLayoutManagerEventBroadcaster >
m_xLayoutManagerEventBroadcaster;
ChartDrawMode m_eDrawMode;
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
private:
//private methods
sal_Bool impl_isDisposedOrSuspended() const;
::std::auto_ptr< ReferenceSizeProvider > impl_createReferenceSizeProvider();
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
void impl_adaptDataSeriesAutoResize();
void impl_createDrawViewController();
void impl_deleteDrawViewController();
//executeDispatch methods
void SAL_CALL executeDispatch_ObjectProperties();
void SAL_CALL executeDispatch_FormatObject( const ::rtl::OUString& rDispatchCommand );
void SAL_CALL executeDlg_ObjectProperties( const ::rtl::OUString& rObjectCID );
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
bool executeDlg_ObjectProperties_withoutUndoGuard( const ::rtl::OUString& rObjectCID, bool bOkClickOnUnchangedDialogSouldBeRatedAsSuccessAlso );
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
void SAL_CALL executeDispatch_ChartType();
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
void executeDispatch_InsertTitles();
void executeDispatch_InsertLegend();
void executeDispatch_DeleteLegend();
void executeDispatch_OpenLegendDialog();
void executeDispatch_InsertAxes();
void executeDispatch_InsertGrid();
void executeDispatch_InsertMenu_DataLabels();
void executeDispatch_InsertMenu_Trendlines();
void executeDispatch_InsertMenu_MeanValues();
void executeDispatch_InsertMeanValue();
void executeDispatch_InsertTrendline();
void executeDispatch_InsertTrendlineEquation( bool bInsertR2=false );
void executeDispatch_InsertErrorBars( bool bYError );
CWS-TOOLING: integrate CWS chartuseability01 2009-09-07 17:26:44 +0200 iha r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57) 2009-08-27 13:48:16 +0200 iha r275481 : #7049# listbox to select chart elements 2009-08-27 11:54:53 +0200 iha r275464 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-26 16:49:58 +0200 iha r275435 : #i102820# added missing case 'floor' 2009-08-26 15:33:51 +0200 iha r275427 : #i102820# make 'insert legend' work properly 2009-08-25 16:35:00 +0200 ufi r275369 : i104087 2009-08-25 15:12:17 +0200 iha r275360 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:31 +0200 iha r275359 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 15:11:15 +0200 iha r275358 : #i104087# 'Object Properties' -> 'Format Selection' 2009-08-25 11:57:43 +0200 iha r275344 : #i104087# changed behavior of insert menu 2009-08-18 12:53:54 +0200 oc r275093 : #i104082,104086,104089# multiple changes because of changed chartUI 2009-08-10 16:46:17 +0200 ufi r274824 : i104083 i104087 i104090 2009-08-07 14:04:34 +0200 iha r274763 : #7049# listbox to select chart elements 2009-08-07 13:06:05 +0200 iha r274760 : #7049# listbox to select chart elements 2009-08-07 13:05:06 +0200 iha r274759 : #7049# listbox to select chart elements 2009-08-07 12:32:31 +0200 iha r274756 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-07 12:31:54 +0200 iha r274755 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 19:00:48 +0200 iha r274742 : #i103593# make insert menu behavior selection dependent 2009-08-06 19:00:14 +0200 iha r274741 : #i103593# make insert menu behavior selection dependent 2009-08-06 15:34:01 +0200 iha r274731 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-06 14:39:20 +0200 iha r274728 : #i86146# ease adding R-squared value with an equation 2009-08-06 14:37:02 +0200 iha r274727 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:54 +0200 iha r274724 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:37:15 +0200 iha r274723 : #i86146# ease adding R-squared value with an equation 2009-08-06 13:04:27 +0200 iha r274722 : #i103593# make insert menu behavior selection dependent 2009-08-06 13:03:35 +0200 iha r274721 : #i103593# make insert menu behavior selection dependent 2009-08-05 18:26:31 +0200 iha r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar' 2009-08-05 16:51:45 +0200 iha r274688 : #i104028# rename font tabpage 'Characters'->'Font' 2009-08-05 16:30:21 +0200 iha r274685 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:34:11 +0200 iha r274680 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:32:43 +0200 iha r274679 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:31:26 +0200 iha r274678 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:17:51 +0200 iha r274676 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 15:16:22 +0200 iha r274675 : #i58163# #i69422# #i102820# enhance chart context menu 2009-08-05 14:58:59 +0200 iha r274674 : #7049# listbox to select chart elements 2009-08-05 14:33:54 +0200 iha r274669 : #7049# listbox to select chart elements 2009-08-05 14:22:17 +0200 iha r274665 : #7049# listbox to select chart elements 2009-08-05 13:21:05 +0200 iha r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected 2009-08-05 11:56:06 +0200 iha r274647 : #7049# listbox to select chart elements 2009-08-05 11:43:40 +0200 iha r274645 : #7049# listbox to select chart elements 2009-07-24 19:46:50 +0200 iha r274318 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:23:13 +0200 iha r274313 : #i58163# #i69422# #i102820# enhance chart context menu 2009-07-24 16:13:22 +0200 iha r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
void executeDispatch_InsertR2Value();
void executeDispatch_DeleteR2Value();
void executeDispatch_DeleteMeanValue();
void executeDispatch_DeleteTrendline();
void executeDispatch_DeleteTrendlineEquation();
void executeDispatch_DeleteYErrorBars();
void executeDispatch_InsertDataLabels();
void executeDispatch_InsertDataLabel();
void executeDispatch_DeleteDataLabels();
void executeDispatch_DeleteDataLabel();
void executeDispatch_ResetAllDataPoints();
void executeDispatch_ResetDataPoint();
void executeDispatch_InsertAxis();
void executeDispatch_InsertAxisTitle();
void executeDispatch_InsertMajorGrid();
void executeDispatch_InsertMinorGrid();
void executeDispatch_DeleteAxis();
void executeDispatch_DeleteMajorGrid();
void executeDispatch_DeleteMinorGrid();
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
void SAL_CALL executeDispatch_InsertSpecialCharacter();
void SAL_CALL executeDispatch_EditText( const Point* pMousePixel = NULL );
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
void SAL_CALL executeDispatch_SourceData();
void SAL_CALL executeDispatch_MoveSeries( sal_Bool bForward );
void StartTextEdit( const Point* pMousePixel = NULL );
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
bool EndTextEdit();
void SAL_CALL executeDispatch_View3D();
void SAL_CALL executeDispatch_PositionAndSize();
void executeDispatch_EditData();
void executeDispatch_NewArrangement();
void executeDispatch_ScaleText();
void executeDispatch_Paste();
void executeDispatch_Copy();
void executeDispatch_Cut();
bool executeDispatch_Delete();
void executeDispatch_ToggleLegend();
void executeDispatch_ToggleGridHorizontal();
void impl_ShapeControllerDispatch( const ::com::sun::star::util::URL& rURL,
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rArgs );
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
DECL_LINK( DoubleClickWaitingHdl, void* );
void execute_DoubleClick( const Point* pMousePixel = NULL );
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
void startDoubleClickWaiting();
void stopDoubleClickWaiting();
void impl_selectObjectAndNotiy();
void impl_notifySelectionChangeListeners();
void impl_invalidateAccessible();
void impl_initializeAccessible();
void impl_initializeAccessible( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XInitialization >& xInit );
//sets the model member to null if it equals the parameter
//returns true if successful
bool impl_releaseThisModel( const ::com::sun::star::uno::Reference<
::com::sun::star::uno::XInterface > & xModel );
enum eMoveOrResizeType
{
MOVE_OBJECT,
CENTERED_RESIZE_OBJECT
};
/// @return </sal_True>, if resize/move was successful
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
bool impl_moveOrResizeObject(
const ::rtl::OUString & rCID, eMoveOrResizeType eType, double fAmountLogicX, double fAmountLogicY );
bool impl_DragDataPoint( const ::rtl::OUString & rCID, double fOffset );
::std::set< ::rtl::OUString > impl_getAvailableCommands();
/** Creates a helper accesibility class that must be initialized via XInitialization. For
parameters see
The returned object should not be used directly. Instead a proxy object
should use this helper to retrieve its children and add them to its own
children.
*/
::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessibleContext >
impl_createAccessibleTextContext();
void impl_PasteGraphic( ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > & xGraphic,
const ::Point & aPosition );
void impl_PasteShapes( SdrModel* pModel );
void impl_PasteStringAsTextShape( const ::rtl::OUString& rString, const ::com::sun::star::awt::Point& rPosition );
INTEGRATION: CWS chart2mst3 (1.5.4); FILE MERGED 2007/03/06 14:24:37 iha 1.5.4.53: #i75151# don't delete series when a data point is selected 2007/02/02 11:29:30 iha 1.5.4.52: imlemented cut 2007/01/22 17:32:09 iha 1.5.4.51: remove slot .uno:AutoFormat 2006/10/20 21:11:20 iha 1.5.4.50: implement selection of additional shapes 2006/10/16 15:14:13 bm 1.5.4.49: #i70287# implement toggle grid horizontal command 2006/10/13 14:42:40 bm 1.5.4.48: enable different mouse cursors. Adjustment of the cursors is done in impl_SetMousePointer 2006/10/11 09:19:53 bm 1.5.4.47: #i20287# implement toggle legend command, remove unused toolbar commands 2006/10/06 09:11:06 bm 1.5.4.46: #i64500# clipboard for chart objects 2006/09/28 16:46:28 bm 1.5.4.45: #i64500# clipboard paste of metafiles, bitmaps and text 2006/09/19 16:45:41 bm 1.5.4.44: #i67808# allow deleting the legend and the titles with the delete key 2006/08/22 17:31:53 bm 1.5.4.43: #i68861# implement the status bar 2006/08/02 11:16:25 bm 1.5.4.42: #i27352# implement quick help 2006/06/29 13:54:41 bm 1.5.4.41: dropping dragged cell-ranges from calc here. Missing: determine if the originating document is the container 2006/03/23 09:57:10 bm 1.5.4.40: support for paragraphs for accessibility titles 2006/03/19 15:32:57 iha 1.5.4.39: correct selection handling of datapoints and series 2006/03/18 20:52:32 iha 1.5.4.38: correct selection handling for rotating diagram 2006/03/15 13:57:08 bm 1.5.4.37: documentation of dispatch stuff. Also moved the command list of the controller to the controller itself 2006/03/12 01:20:33 iha 1.5.4.36: changed communication between model, view and controller; implemented old AddIn Interface; changed owneship and lifetime of view 2006/02/28 12:59:09 bm 1.5.4.35: pie segment offset per keyboard 2006/02/24 15:57:29 bm 1.5.4.34: keyboard accessibility 2006/02/23 17:38:12 bm 1.5.4.33: keyboard accessibility: resize diagram with +/- 2006/01/24 10:50:21 bm 1.5.4.32: +impl_createReferenceSizeProvider, +impl_adaptDataSeriesAutoResize 2006/01/20 16:53:39 bm 1.5.4.31: +impl_getDiagramSize to get diagram size from the corresponding SdrObject of the m_pDrawViewWrapper 2006/01/13 13:42:30 bm 1.5.4.30: +executeDispatch_NewArrangement(), executeDispatch_ScaleText 2005/11/25 17:42:34 bm 1.5.4.29: command enabling according to model state 2005/11/21 16:24:33 bm 1.5.4.28: use CommandDispatchContainer for dispatch issues 2005/11/15 10:41:33 iha 1.5.4.27: don't remove me as listener in disposing 2005/11/07 20:57:49 iha 1.5.4.26: implement changing series order 2005/10/18 14:39:30 bm 1.5.4.25: implement XModifyListener in order to listen to model changes 2005/10/11 12:44:40 bm 1.5.4.24: using UndoManager for undo/redo 2005/10/07 11:33:31 bm 1.5.4.23: RESYNC: (1.5-1.6); FILE MERGED 2005/07/08 14:55:50 iha 1.5.4.22: create and notify an accessible view 2005/07/08 12:55:40 iha 1.5.4.21: provide and keep view as service only 2005/07/07 15:20:07 iha 1.5.4.20: implement interface XSelectionSupplier 2005/07/07 08:35:02 iha 1.5.4.19: implement interface XSelectionSupplier 2005/06/09 15:50:55 iha 1.5.4.18: support positions and sizes via view for old api wrapper 2005/06/07 15:49:43 iha 1.5.4.17: use numberformatter from model 2005/06/03 14:40:10 iha 1.5.4.16: shared_ptr for drawmodelwrapper 2005/06/01 16:22:31 iha 1.5.4.15: remove interface xpropertyset 2005/05/31 18:55:08 iha 1.5.4.14: create old api without controller 2005/04/04 11:39:47 bm 1.5.4.13: AcceleratorExecute helper class for handling accelerator keys 2005/03/31 12:55:16 bm 1.5.4.12: first redo implementation 2005/03/30 16:31:04 bm 1.5.4.11: make model cloneable (+first undo implementation) 2004/09/27 14:32:50 iha 1.5.4.10: save - old api - provide access to ViewElementListProvider, reduce direct access to draw model 2004/08/26 15:54:12 iha 1.5.4.9: View independent loading - different setting of page size 2004/08/24 13:59:44 iha 1.5.4.8: View independent loading - store page size separat from window (which does not exist in some cases) 2004/06/04 08:05:28 bm 1.5.4.7: +GetDrawModelUNO 2004/06/01 19:03:25 iha 1.5.4.6: new 3D view/effects dialog 2004/04/26 11:15:29 iha 1.5.4.5: #i27367# offer access to created shapes for old api 2004/04/07 21:41:53 iha 1.5.4.4: #i20344# added method executeDispatch_CreationWizard 2004/03/19 14:32:51 bm 1.5.4.3: XDataSource now contains XLabeledDataSources 2004/03/05 15:02:18 iha 1.5.4.2: changed from slot url scheme to uno url scheme due to menubar framework changes 2004/02/13 16:51:19 bm 1.5.4.1: join from changes on branch bm_post_chart01
2007-05-22 17:03:06 +00:00
void impl_SetMousePointer( const MouseEvent & rEvent );
void impl_ClearSelection();
void impl_switchDiagramPositioningToExcludingPositioning();
2003-10-06 08:58:36 +00:00
};
//.............................................................................
} // namespace chart
//.............................................................................
#endif
2010-10-27 12:43:08 +01:00
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */